ocssw
V2022
|
VcstViirsBand.h
Go to the documentation of this file.
148 static constexpr short TOTAL_SG_PIXEL_QUALITY_FLAGS = NUM_PIXEL_QUALITY_FLAGS + NUM_BAD_PIXEL_QUALITY_FLAGS;
149 static constexpr short TOTAL_DG_PIXEL_QUALITY_FLAGS = NUM_DG_PIXEL_QUALITY_FLAGS + NUM_BAD_PIXEL_QUALITY_FLAGS;
150 static constexpr short TOTAL_UADG_PIXEL_QUALITY_FLAGS = NUM_UADG_PIXEL_QUALITY_FLAGS + NUM_BAD_PIXEL_QUALITY_FLAGS;
151 static constexpr short TOTAL_DNB_PIXEL_QUALITY_FLAGS = NUM_DNB_PIXEL_QUALITY_FLAGS + NUM_BAD_PIXEL_QUALITY_FLAGS;
virtual bool precheck_scan(int scan)
static constexpr unsigned char L1B_PIXEL_QUALITY_DNB_STRAY_LIGHT
Definition: VcstViirsBand.h:146
virtual int initialize_L1B_data()
static constexpr unsigned short L1B_PIXEL_QUALITY_BOWTIE
Definition: VcstViirsBand.h:152
static constexpr int MOON_IN_SV_SCANS_TO_SKIP_FORWARD
Definition: VcstViirsBand.h:174
static constexpr unsigned char L1B_ROW_QUALITY_DEAD_DETECTOR
Definition: VcstViirsBand.h:168
static constexpr unsigned int L1B_FILL_UINT_M13
Definition: VcstViirsBand.h:182
static constexpr unsigned char L1B_PIXEL_QUALITY_MIXED_GAIN_STATE
Definition: VcstViirsBand.h:140
static constexpr short TOTAL_DNB_PIXEL_QUALITY_FLAGS
Definition: VcstViirsBand.h:161
virtual int calibrate_scan(int scan)
static constexpr unsigned char UBYTE_FILL_TEST
Definition: VcstViirsBand.h:198
vector< unsigned short > pixel_quality_flag_masks_
Definition: VcstViirsBand.h:233
MOD_PR01 Production producing one five minute granule of output data in each run It can be configured to produce as many as three five minute granules per run Each execution with one construction record and one date file for each dataset In normal these are created by which splits them out of the hour datasets For LANCE they are created by which merges all session MODIS L0 datasets overlapping the requested time and extracts from the merged data those packets which fall within that time period Each scan of data is stored in the L1A granule that covers the start time of that scan
Definition: MOD_PR01_pr.txt:19
static constexpr short BAD_PIXEL_QUAL_SHIFT
Definition: VcstViirsBand.h:150
virtual int check_pixel_quality(int band, int scan, int det, short &DN_EV, unsigned short &qual)
static constexpr unsigned char L1B_ROW_QUALITY_BB_TEMP_NOT_NOMINAL
Definition: VcstViirsBand.h:169
static constexpr unsigned char L1B_PIXEL_QUALITY_GOOD
Definition: VcstViirsBand.h:124
PARAM_TYPE_NONE Default value No parameter is buried in the product name name_prefix is case insensitive string compared to the product name PARAM_TYPE_VIS_WAVE The visible wavelength bands from the sensor are buried in the product name The product name is compared by appending and name_suffix ie aph_412_giop where prod_ix will be set to PARAM_TYPE_IR_WAVE same search method as PARAM_TYPE_VIS_WAVE except only wavelength above are looped through but prod_ix is still based ie aph_2_giop for the second band
Definition: HOWTO_Add_a_product.txt:42
static constexpr short NUM_DG_PIXEL_QUALITY_FLAGS
Definition: VcstViirsBand.h:136
static constexpr float ONBOARD_PT_FLOAT32_FILL
Definition: VcstViirsBand.h:189
static constexpr unsigned char L1B_PIXEL_QUALITY_UPPER_MASK
Definition: VcstViirsBand.h:131
virtual int write_cdg(const NcFile *nc_output)
static constexpr unsigned char L1B_ROW_QUALITY_SUBSTITUTE_CAL
Definition: VcstViirsBand.h:164
virtual int write_rsb(const NcFile *nc_output, float *obs_val, unsigned short *short_val, unsigned short *pixelQuality, int8_t *unc_idx, bool bRad)
Definition: VcstObc.h:45
vector< unsigned int > m13_uncertainty_index_flag_values_
Definition: VcstViirsBand.h:245
static constexpr unsigned short L1B_PIXEL_QUALITY_MISSING
Definition: VcstViirsBand.h:153
static constexpr unsigned char L1B_PIXEL_QUALITY_OUTOFRANGE_RFLBT
Definition: VcstViirsBand.h:127
static constexpr short TOTAL_DG_PIXEL_QUALITY_FLAGS
Definition: VcstViirsBand.h:159
static constexpr unsigned char L1B_PIXEL_QUALITY_NOT_OUTOFRANGE
Definition: VcstViirsBand.h:133
virtual int write_data(const NcFile *nc_output)
static constexpr unsigned short L1B_FILL_USHORT
Definition: VcstViirsBand.h:181
static constexpr int MOON_IN_SV_SCANS_TO_SKIP_BACK
Definition: VcstViirsBand.h:175
static constexpr unsigned char L1B_ROW_QUALITY_DNB_STRAY_LIGHT
Definition: VcstViirsBand.h:171
static constexpr unsigned char L1B_PIXEL_QUALITY_SUBSTITUTE_CAL
Definition: VcstViirsBand.h:125
static constexpr unsigned char L1B_PIXEL_QUALITY_LOWER_MASK
Definition: VcstViirsBand.h:130
static constexpr unsigned char L1B_ROW_QUALITY_MOON_IN_SPACE_VIEW
Definition: VcstViirsBand.h:166
unsigned short pixel_quality_fill_value_
Definition: VcstViirsBand.h:232
static constexpr float ELLIPSOID_FLOAT32_FILL
Definition: VcstViirsBand.h:187
static constexpr unsigned char L1B_PIXEL_QUALITY_SOMESATURATION
Definition: VcstViirsBand.h:142
ViirsBand(VcstObc *pObc, VIIRS_BAND_ENUM band)
static constexpr short NUM_BAD_PIXEL_QUALITY_FLAGS
Definition: VcstViirsBand.h:149
int calibrate()
static constexpr short NUM_UADG_PIXEL_QUALITY_FLAGS
Definition: VcstViirsBand.h:137
static constexpr unsigned char L1B_FILL_UBYTE
Definition: VcstViirsBand.h:184
static constexpr unsigned short L1B_PIXEL_QUALITY_DEAD_DETECTOR
Definition: VcstViirsBand.h:155
static constexpr short NUM_DNB_PIXEL_QUALITY_FLAGS
Definition: VcstViirsBand.h:145
static constexpr unsigned char L1B_PIXEL_QUALITY_DG_ANOMALY
Definition: VcstViirsBand.h:141
virtual int initialize()
static constexpr unsigned char L1B_ROW_QUALITY_LWIR_TEMP_NOT_NOMINAL
Definition: VcstViirsBand.h:170
static constexpr short TOTAL_SG_PIXEL_QUALITY_FLAGS
Definition: VcstViirsBand.h:158
vector< unsigned int > uncertainty_index_flag_values_
Definition: VcstViirsBand.h:244
static constexpr unsigned char L1B_PIXEL_QUALITY_TEMP_NOT_NOMINAL
Definition: VcstViirsBand.h:129
virtual ~ViirsBand()
virtual int get_l1bdata(float *l1bdata)
static constexpr short TOTAL_UADG_PIXEL_QUALITY_FLAGS
Definition: VcstViirsBand.h:160
static constexpr int MAX_NUM_HISTORY_ORBITS
Definition: VcstViirsBand.h:107
virtual int initialize_L1A_data()
static constexpr unsigned char L1B_PIXEL_QUALITY_NOT_ALLSATURATION
Definition: VcstViirsBand.h:132
static constexpr unsigned char L1B_ROW_QUALITY_DG_ANOMALY
Definition: VcstViirsBand.h:167
static constexpr unsigned char L1B_PIXEL_QUALITY_OUTOFRANGE_RAD
Definition: VcstViirsBand.h:126
Definition: VcstViirsBand.h:19
unsigned char detector_quality_flag_masks_[8]
Definition: VcstViirsBand.h:237
static constexpr unsigned char L1B_ROW_QUALITY_NO_CALIBRATION
Definition: VcstViirsBand.h:165
vector< unsigned char > detector_quality_flag_
Definition: VcstViirsBand.h:236
static constexpr unsigned char L1B_PIXEL_QUALITY_LOW_GAIN_STATE
Definition: VcstViirsBand.h:139
static constexpr unsigned short L1B_PIXEL_QUALITY_NOCALIBRATE
Definition: VcstViirsBand.h:154
static constexpr unsigned short L1B_PIXEL_QUALITY_NOISY_DETECTOR
Definition: VcstViirsBand.h:156
static constexpr short NUM_PIXEL_QUALITY_FLAGS
Definition: VcstViirsBand.h:122
virtual int write_teb(const NcFile *nc_output, float *obs_val, unsigned short *short_val, unsigned int *long_val, unsigned short *pixelQuality, int8_t *unc_idx, bool bRad)
static constexpr unsigned char L1B_PIXEL_QUALITY_ALLSATURATION
Definition: VcstViirsBand.h:128