Missing NO2 data not reported by getanc.py
Posted: Fri Mar 29, 2019 5:02 am America/New_York
When the "
-n|--no2
" option is specified to search for NO2 ancillary data, no error is returned if the data is missing. The meaning of that option is the opposite of "-i|--ice
" and "-t|--sst
", which indicate that no search for sea-ice or SST ancillary data respectively should be performed. However, in the modules.anc_utils.getanc.cleanup
procedure, the NO2 error flag is treated as the ice and SST flags, lowering it to prevent unnecessary reporting if the option has been specified. Consequently, it seems that the corresponding code statement should be changed to:if (self.db_status & 8) and not (self.opt_flag & 2):
self.db_status = sub(self.db_status, 8)