OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022

#include <VcstViirsBand.h>

Inheritance diagram for ViirsBand:
[legend]
Collaboration diagram for ViirsBand:
[legend]

Public Member Functions

 ViirsBand (VcstObc *pObc, VIIRS_BAND_ENUM band)
 
virtual ~ViirsBand ()
 
virtual int initialize ()
 
int calibrate ()
 
virtual bool precheck_scan (int scan)
 
virtual int calibrate_scan (int scan)
 
virtual int get_l1bdata (float *l1bdata)
 
virtual int initialize_L1A_data ()
 
virtual int write_data (const NcFile *nc_output)
 
virtual int write_rsb (const NcFile *nc_output, float *obs_val, unsigned short *short_val, unsigned short *pixelQuality, int8_t *unc_idx, bool bRad)
 
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)
 
virtual int write_cdg (const NcFile *nc_output)
 

Public Attributes

string band_str_
 
string ev_var_str_
 
float obs_fill_value_
 
float obs_valid_min_
 
float obs_valid_max_
 
float flt_valid_min_
 
float flt_valid_max_
 
float flt_scale_factor_
 
float flt_add_offset_
 
float shrt_rad_scale_factor_
 
float shrt_rad_add_offset_
 
unsigned short shrt_fill_value_
 
unsigned short shrt_valid_min_
 
unsigned short shrt_valid_max_
 
unsigned int M13_fill_value_
 
unsigned int M13_valid_min_
 
unsigned int M13_valid_max_
 
float shrt_scale_factor_
 
float shrt_add_offset_
 
float bt_fill_value_
 
float bt_valid_min_
 
float bt_valid_max_
 
unsigned short pixel_quality_fill_value_
 
vector< unsigned short > pixel_quality_flag_masks_
 
vector< unsigned char > detector_quality_flag_
 
unsigned char detector_quality_flag_masks_ [8]
 
float uncidx_scale_factor_
 
unsigned short uncidx_fill_value_
 
unsigned short uncidx_valid_min_
 
unsigned short uncidx_valid_max_
 
vector< unsigned int > uncertainty_index_flag_values_
 
vector< unsigned int > m13_uncertainty_index_flag_values_
 
unsigned short * shrtPtr_
 
unsigned int * longPtr_
 
unsigned short * qualPtr_
 
int8_t * uncPtr_
 
float * radPtr_
 
float * cdgPtr_
 

Static Public Attributes

static const int processAtNight [Viirs_Bands]
 
static constexpr int NUM_TAPS = 201
 
static constexpr int RSB_BANDS = 14
 
static constexpr int TEB_BANDS = 7
 
static constexpr int MIRROR_SIDE = 2
 
static constexpr int SATURATED_DN = 4095
 
static constexpr int MAX_NUM_HISTORY_ORBITS = 480
 
static constexpr double DEGtoRAD = 0.017453292519943296e0
 
static constexpr double RADtoDEG = 57.295779513082321e0
 
static constexpr int C_COEFFS = 4
 
static constexpr int A_COEFFS = 3
 
static constexpr int T_FP_LEVELS = 5
 
static constexpr int T_ELEC_LEVELS = 5
 
static constexpr unsigned char NIGHT_GRAN = 0
 
static constexpr unsigned char DAY_GRAN = 1
 
static constexpr unsigned char MIXED_GRAN = 2
 
static constexpr short NUM_PIXEL_QUALITY_FLAGS = 4
 
static constexpr unsigned char L1B_PIXEL_QUALITY_GOOD = 0x00
 
static constexpr unsigned char L1B_PIXEL_QUALITY_SUBSTITUTE_CAL = 0x01
 
static constexpr unsigned char L1B_PIXEL_QUALITY_OUTOFRANGE_RAD = 0x02
 
static constexpr unsigned char L1B_PIXEL_QUALITY_OUTOFRANGE_RFLBT = 0x02
 
static constexpr unsigned char L1B_PIXEL_QUALITY_ALLSATURATION = 0x04
 
static constexpr unsigned char L1B_PIXEL_QUALITY_TEMP_NOT_NOMINAL = 0x08
 
static constexpr unsigned char L1B_PIXEL_QUALITY_LOWER_MASK = 0x0f
 
static constexpr unsigned char L1B_PIXEL_QUALITY_UPPER_MASK = 0xf0
 
static constexpr unsigned char L1B_PIXEL_QUALITY_NOT_ALLSATURATION = 0xfb
 
static constexpr unsigned char L1B_PIXEL_QUALITY_NOT_OUTOFRANGE = 0xfd
 
static constexpr short NUM_DG_PIXEL_QUALITY_FLAGS = 8
 
static constexpr short NUM_UADG_PIXEL_QUALITY_FLAGS = 6
 
static constexpr unsigned char L1B_PIXEL_QUALITY_LOW_GAIN_STATE = 0x10
 
static constexpr unsigned char L1B_PIXEL_QUALITY_MIXED_GAIN_STATE = 0x20
 
static constexpr unsigned char L1B_PIXEL_QUALITY_DG_ANOMALY = 0x40
 
static constexpr unsigned char L1B_PIXEL_QUALITY_SOMESATURATION = 0x80
 
static constexpr short NUM_DNB_PIXEL_QUALITY_FLAGS = 5
 
static constexpr unsigned char L1B_PIXEL_QUALITY_DNB_STRAY_LIGHT = 0x10
 
static constexpr short NUM_BAD_PIXEL_QUALITY_FLAGS = 5
 
static constexpr short BAD_PIXEL_QUAL_SHIFT = 8
 
static constexpr unsigned short L1B_PIXEL_QUALITY_BOWTIE = 0x0100
 
static constexpr unsigned short L1B_PIXEL_QUALITY_MISSING = 0x0200
 
static constexpr unsigned short L1B_PIXEL_QUALITY_NOCALIBRATE = 0x0400
 
static constexpr unsigned short L1B_PIXEL_QUALITY_DEAD_DETECTOR = 0x0800
 
static constexpr unsigned short L1B_PIXEL_QUALITY_NOISY_DETECTOR = 0x1000
 
static constexpr short TOTAL_SG_PIXEL_QUALITY_FLAGS = NUM_PIXEL_QUALITY_FLAGS + NUM_BAD_PIXEL_QUALITY_FLAGS
 
static constexpr short TOTAL_DG_PIXEL_QUALITY_FLAGS = NUM_DG_PIXEL_QUALITY_FLAGS + NUM_BAD_PIXEL_QUALITY_FLAGS
 
static constexpr short TOTAL_UADG_PIXEL_QUALITY_FLAGS = NUM_UADG_PIXEL_QUALITY_FLAGS + NUM_BAD_PIXEL_QUALITY_FLAGS
 
static constexpr short TOTAL_DNB_PIXEL_QUALITY_FLAGS = NUM_DNB_PIXEL_QUALITY_FLAGS + NUM_BAD_PIXEL_QUALITY_FLAGS
 
static constexpr unsigned char L1B_ROW_QUALITY_SUBSTITUTE_CAL = 0x01
 
static constexpr unsigned char L1B_ROW_QUALITY_NO_CALIBRATION = 0x02
 
static constexpr unsigned char L1B_ROW_QUALITY_MOON_IN_SPACE_VIEW = 0x04
 
static constexpr unsigned char L1B_ROW_QUALITY_DG_ANOMALY = 0x08
 
static constexpr unsigned char L1B_ROW_QUALITY_DEAD_DETECTOR = 0x10
 
static constexpr unsigned char L1B_ROW_QUALITY_BB_TEMP_NOT_NOMINAL = 0x20
 
static constexpr unsigned char L1B_ROW_QUALITY_LWIR_TEMP_NOT_NOMINAL = 0x40
 
static constexpr unsigned char L1B_ROW_QUALITY_DNB_STRAY_LIGHT = 0x80
 
static constexpr int MOON_IN_SV_SCANS_TO_SKIP_FORWARD = 6
 
static constexpr int MOON_IN_SV_SCANS_TO_SKIP_BACK = 4
 
static constexpr float L1B_FILL_FLOAT = -999.9f
 
static constexpr double L1B_FILL_DOUBLE = -999.9L
 
static constexpr short L1B_FILL_SHORT = -999
 
static constexpr unsigned short L1B_FILL_USHORT = 65535
 
static constexpr unsigned int L1B_FILL_UINT_M13 = 327680
 
static constexpr char L1B_FILL_BYTE = -1
 
static constexpr unsigned char L1B_FILL_UBYTE = 255
 
static constexpr float VDNE_FLOAT32_FILL = -999.9f
 
static constexpr float ELLIPSOID_FLOAT32_FILL = -999.9f
 
static constexpr float ERR_FLOAT32_FILL = -999.9f
 
static constexpr float ONBOARD_PT_FLOAT32_FILL = -999.9f
 
static constexpr float MISS_FLOAT32_FILL = -999.9f
 
static constexpr float NA_FLOAT32_FILL = -999.9f
 
static constexpr float FLOAT_FILL_TEST = -999.0f
 
static constexpr short SHORT_FILL_TEST = -990
 
static constexpr char BYTE_FILL_TEST = 0
 
static constexpr unsigned char UBYTE_FILL_TEST = 247
 

Protected Member Functions

virtual int initialize_L1B_data ()
 
virtual int check_pixel_quality (int band, int scan, int det, short &DN_EV, unsigned short &qual)
 

Protected Attributes

bool bLWIR_
 
VcstObcpObc_
 
VIIRS_BAND_ENUM band_
 
VIIRS_TEB_BAND_ENUM teb_band_
 
VIIRS_RSB_BAND_ENUM rsb_band_
 
short det_432_
 

Detailed Description

Definition at line 19 of file VcstViirsBand.h.

Constructor & Destructor Documentation

◆ ViirsBand()

ViirsBand ( VcstObc pObc,
VIIRS_BAND_ENUM  band 
)

Class constructor

◆ ~ViirsBand()

virtual ~ViirsBand ( )
virtual

Class destructor

Member Function Documentation

◆ calibrate()

int calibrate ( )

Calibrate all scans in a granule.

◆ calibrate_scan()

virtual int calibrate_scan ( int  scan)
virtual

Calibrate a single scan.

Reimplemented in ViirsBandDnb, ViirsBandMod, ViirsBandImg, and ViirsBandModDG.

◆ check_pixel_quality()

virtual int check_pixel_quality ( int  band,
int  scan,
int  det,
short &  DN_EV,
unsigned short &  qual 
)
protectedvirtual

check_pixel_quality()

Check EV and set quality flags

Reimplemented in ViirsBandMod, and ViirsBandImg.

◆ get_l1bdata()

virtual int get_l1bdata ( float *  l1bdata)
virtual

Get L1b data pointer to pass to l2gen

Reimplemented in ViirsBandMod, ViirsBandDnb, and ViirsBandImg.

◆ initialize()

virtual int initialize ( )
virtual

Initialize the ViirsBand class

Reimplemented in ViirsBandMod, ViirsBandImg, and ViirsBandDnb.

◆ initialize_L1A_data()

virtual int initialize_L1A_data ( )
virtual

Initialize L1A data

Reimplemented in ViirsBandMod, ViirsBandModDG, ViirsBandImg, and ViirsBandDnb.

◆ initialize_L1B_data()

virtual int initialize_L1B_data ( )
protectedvirtual

Initialize L1B output data

Reimplemented in ViirsBandMod, ViirsBandImg, and ViirsBandDnb.

◆ precheck_scan()

virtual bool precheck_scan ( int  scan)
virtual

Precheck_scan to determine if it is good for calibration. Returns true or false.

Reimplemented in ViirsBandDnb, ViirsBandMod, and ViirsBandImg.

◆ write_cdg()

virtual int write_cdg ( const NcFile *  nc_output)
virtual

Reimplemented in ViirsBandModDG.

◆ write_data()

virtual int write_data ( const NcFile *  nc_output)
virtual

Write L1B output data

Reimplemented in ViirsBandDnb.

◆ write_rsb()

virtual int write_rsb ( const NcFile *  nc_output,
float *  obs_val,
unsigned short *  short_val,
unsigned short *  pixelQuality,
int8_t *  unc_idx,
bool  bRad 
)
virtual

◆ write_teb()

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 
)
virtual

Member Data Documentation

◆ A_COEFFS

constexpr int A_COEFFS = 3
staticconstexpr

Definition at line 113 of file VcstViirsBand.h.

◆ BAD_PIXEL_QUAL_SHIFT

constexpr short BAD_PIXEL_QUAL_SHIFT = 8
staticconstexpr

Definition at line 150 of file VcstViirsBand.h.

◆ band_

VIIRS_BAND_ENUM band_
protected

Definition at line 265 of file VcstViirsBand.h.

◆ band_str_

string band_str_

Definition at line 200 of file VcstViirsBand.h.

◆ bLWIR_

bool bLWIR_
protected

Definition at line 257 of file VcstViirsBand.h.

◆ bt_fill_value_

float bt_fill_value_

Definition at line 227 of file VcstViirsBand.h.

◆ bt_valid_max_

float bt_valid_max_

Definition at line 229 of file VcstViirsBand.h.

◆ bt_valid_min_

float bt_valid_min_

Definition at line 228 of file VcstViirsBand.h.

◆ BYTE_FILL_TEST

constexpr char BYTE_FILL_TEST = 0
staticconstexpr

Definition at line 197 of file VcstViirsBand.h.

◆ C_COEFFS

constexpr int C_COEFFS = 4
staticconstexpr

Definition at line 112 of file VcstViirsBand.h.

◆ cdgPtr_

float* cdgPtr_

Definition at line 253 of file VcstViirsBand.h.

◆ DAY_GRAN

constexpr unsigned char DAY_GRAN = 1
staticconstexpr

Definition at line 118 of file VcstViirsBand.h.

◆ DEGtoRAD

constexpr double DEGtoRAD = 0.017453292519943296e0
staticconstexpr

Definition at line 109 of file VcstViirsBand.h.

◆ det_432_

short det_432_
protected

Definition at line 269 of file VcstViirsBand.h.

◆ detector_quality_flag_

vector<unsigned char> detector_quality_flag_

Definition at line 236 of file VcstViirsBand.h.

◆ detector_quality_flag_masks_

unsigned char detector_quality_flag_masks_[8]

Definition at line 237 of file VcstViirsBand.h.

◆ ELLIPSOID_FLOAT32_FILL

constexpr float ELLIPSOID_FLOAT32_FILL = -999.9f
staticconstexpr

Definition at line 187 of file VcstViirsBand.h.

◆ ERR_FLOAT32_FILL

constexpr float ERR_FLOAT32_FILL = -999.9f
staticconstexpr

Definition at line 188 of file VcstViirsBand.h.

◆ ev_var_str_

string ev_var_str_

Definition at line 201 of file VcstViirsBand.h.

◆ FLOAT_FILL_TEST

constexpr float FLOAT_FILL_TEST = -999.0f
staticconstexpr

Definition at line 195 of file VcstViirsBand.h.

◆ flt_add_offset_

float flt_add_offset_

Definition at line 212 of file VcstViirsBand.h.

◆ flt_scale_factor_

float flt_scale_factor_

Definition at line 211 of file VcstViirsBand.h.

◆ flt_valid_max_

float flt_valid_max_

Definition at line 210 of file VcstViirsBand.h.

◆ flt_valid_min_

float flt_valid_min_

Definition at line 209 of file VcstViirsBand.h.

◆ L1B_FILL_BYTE

constexpr char L1B_FILL_BYTE = -1
staticconstexpr

Definition at line 183 of file VcstViirsBand.h.

◆ L1B_FILL_DOUBLE

constexpr double L1B_FILL_DOUBLE = -999.9L
staticconstexpr

Definition at line 179 of file VcstViirsBand.h.

◆ L1B_FILL_FLOAT

constexpr float L1B_FILL_FLOAT = -999.9f
staticconstexpr

Definition at line 178 of file VcstViirsBand.h.

◆ L1B_FILL_SHORT

constexpr short L1B_FILL_SHORT = -999
staticconstexpr

Definition at line 180 of file VcstViirsBand.h.

◆ L1B_FILL_UBYTE

constexpr unsigned char L1B_FILL_UBYTE = 255
staticconstexpr

Definition at line 184 of file VcstViirsBand.h.

◆ L1B_FILL_UINT_M13

constexpr unsigned int L1B_FILL_UINT_M13 = 327680
staticconstexpr

Definition at line 182 of file VcstViirsBand.h.

◆ L1B_FILL_USHORT

constexpr unsigned short L1B_FILL_USHORT = 65535
staticconstexpr

Definition at line 181 of file VcstViirsBand.h.

◆ L1B_PIXEL_QUALITY_ALLSATURATION

constexpr unsigned char L1B_PIXEL_QUALITY_ALLSATURATION = 0x04
staticconstexpr

Definition at line 128 of file VcstViirsBand.h.

◆ L1B_PIXEL_QUALITY_BOWTIE

constexpr unsigned short L1B_PIXEL_QUALITY_BOWTIE = 0x0100
staticconstexpr

Definition at line 152 of file VcstViirsBand.h.

◆ L1B_PIXEL_QUALITY_DEAD_DETECTOR

constexpr unsigned short L1B_PIXEL_QUALITY_DEAD_DETECTOR = 0x0800
staticconstexpr

Definition at line 155 of file VcstViirsBand.h.

◆ L1B_PIXEL_QUALITY_DG_ANOMALY

constexpr unsigned char L1B_PIXEL_QUALITY_DG_ANOMALY = 0x40
staticconstexpr

Definition at line 141 of file VcstViirsBand.h.

◆ L1B_PIXEL_QUALITY_DNB_STRAY_LIGHT

constexpr unsigned char L1B_PIXEL_QUALITY_DNB_STRAY_LIGHT = 0x10
staticconstexpr

Definition at line 146 of file VcstViirsBand.h.

◆ L1B_PIXEL_QUALITY_GOOD

constexpr unsigned char L1B_PIXEL_QUALITY_GOOD = 0x00
staticconstexpr

Definition at line 124 of file VcstViirsBand.h.

◆ L1B_PIXEL_QUALITY_LOW_GAIN_STATE

constexpr unsigned char L1B_PIXEL_QUALITY_LOW_GAIN_STATE = 0x10
staticconstexpr

Definition at line 139 of file VcstViirsBand.h.

◆ L1B_PIXEL_QUALITY_LOWER_MASK

constexpr unsigned char L1B_PIXEL_QUALITY_LOWER_MASK = 0x0f
staticconstexpr

Definition at line 130 of file VcstViirsBand.h.

◆ L1B_PIXEL_QUALITY_MISSING

constexpr unsigned short L1B_PIXEL_QUALITY_MISSING = 0x0200
staticconstexpr

Definition at line 153 of file VcstViirsBand.h.

◆ L1B_PIXEL_QUALITY_MIXED_GAIN_STATE

constexpr unsigned char L1B_PIXEL_QUALITY_MIXED_GAIN_STATE = 0x20
staticconstexpr

Definition at line 140 of file VcstViirsBand.h.

◆ L1B_PIXEL_QUALITY_NOCALIBRATE

constexpr unsigned short L1B_PIXEL_QUALITY_NOCALIBRATE = 0x0400
staticconstexpr

Definition at line 154 of file VcstViirsBand.h.

◆ L1B_PIXEL_QUALITY_NOISY_DETECTOR

constexpr unsigned short L1B_PIXEL_QUALITY_NOISY_DETECTOR = 0x1000
staticconstexpr

Definition at line 156 of file VcstViirsBand.h.

◆ L1B_PIXEL_QUALITY_NOT_ALLSATURATION

constexpr unsigned char L1B_PIXEL_QUALITY_NOT_ALLSATURATION = 0xfb
staticconstexpr

Definition at line 132 of file VcstViirsBand.h.

◆ L1B_PIXEL_QUALITY_NOT_OUTOFRANGE

constexpr unsigned char L1B_PIXEL_QUALITY_NOT_OUTOFRANGE = 0xfd
staticconstexpr

Definition at line 133 of file VcstViirsBand.h.

◆ L1B_PIXEL_QUALITY_OUTOFRANGE_RAD

constexpr unsigned char L1B_PIXEL_QUALITY_OUTOFRANGE_RAD = 0x02
staticconstexpr

Definition at line 126 of file VcstViirsBand.h.

◆ L1B_PIXEL_QUALITY_OUTOFRANGE_RFLBT

constexpr unsigned char L1B_PIXEL_QUALITY_OUTOFRANGE_RFLBT = 0x02
staticconstexpr

Definition at line 127 of file VcstViirsBand.h.

◆ L1B_PIXEL_QUALITY_SOMESATURATION

constexpr unsigned char L1B_PIXEL_QUALITY_SOMESATURATION = 0x80
staticconstexpr

Definition at line 142 of file VcstViirsBand.h.

◆ L1B_PIXEL_QUALITY_SUBSTITUTE_CAL

constexpr unsigned char L1B_PIXEL_QUALITY_SUBSTITUTE_CAL = 0x01
staticconstexpr

Definition at line 125 of file VcstViirsBand.h.

◆ L1B_PIXEL_QUALITY_TEMP_NOT_NOMINAL

constexpr unsigned char L1B_PIXEL_QUALITY_TEMP_NOT_NOMINAL = 0x08
staticconstexpr

Definition at line 129 of file VcstViirsBand.h.

◆ L1B_PIXEL_QUALITY_UPPER_MASK

constexpr unsigned char L1B_PIXEL_QUALITY_UPPER_MASK = 0xf0
staticconstexpr

Definition at line 131 of file VcstViirsBand.h.

◆ L1B_ROW_QUALITY_BB_TEMP_NOT_NOMINAL

constexpr unsigned char L1B_ROW_QUALITY_BB_TEMP_NOT_NOMINAL = 0x20
staticconstexpr

Definition at line 169 of file VcstViirsBand.h.

◆ L1B_ROW_QUALITY_DEAD_DETECTOR

constexpr unsigned char L1B_ROW_QUALITY_DEAD_DETECTOR = 0x10
staticconstexpr

Definition at line 168 of file VcstViirsBand.h.

◆ L1B_ROW_QUALITY_DG_ANOMALY

constexpr unsigned char L1B_ROW_QUALITY_DG_ANOMALY = 0x08
staticconstexpr

Definition at line 167 of file VcstViirsBand.h.

◆ L1B_ROW_QUALITY_DNB_STRAY_LIGHT

constexpr unsigned char L1B_ROW_QUALITY_DNB_STRAY_LIGHT = 0x80
staticconstexpr

Definition at line 171 of file VcstViirsBand.h.

◆ L1B_ROW_QUALITY_LWIR_TEMP_NOT_NOMINAL

constexpr unsigned char L1B_ROW_QUALITY_LWIR_TEMP_NOT_NOMINAL = 0x40
staticconstexpr

Definition at line 170 of file VcstViirsBand.h.

◆ L1B_ROW_QUALITY_MOON_IN_SPACE_VIEW

constexpr unsigned char L1B_ROW_QUALITY_MOON_IN_SPACE_VIEW = 0x04
staticconstexpr

Definition at line 166 of file VcstViirsBand.h.

◆ L1B_ROW_QUALITY_NO_CALIBRATION

constexpr unsigned char L1B_ROW_QUALITY_NO_CALIBRATION = 0x02
staticconstexpr

Definition at line 165 of file VcstViirsBand.h.

◆ L1B_ROW_QUALITY_SUBSTITUTE_CAL

constexpr unsigned char L1B_ROW_QUALITY_SUBSTITUTE_CAL = 0x01
staticconstexpr

Definition at line 164 of file VcstViirsBand.h.

◆ longPtr_

unsigned int* longPtr_

Definition at line 249 of file VcstViirsBand.h.

◆ M13_fill_value_

unsigned int M13_fill_value_

Definition at line 220 of file VcstViirsBand.h.

◆ m13_uncertainty_index_flag_values_

vector<unsigned int> m13_uncertainty_index_flag_values_

Definition at line 245 of file VcstViirsBand.h.

◆ M13_valid_max_

unsigned int M13_valid_max_

Definition at line 222 of file VcstViirsBand.h.

◆ M13_valid_min_

unsigned int M13_valid_min_

Definition at line 221 of file VcstViirsBand.h.

◆ MAX_NUM_HISTORY_ORBITS

constexpr int MAX_NUM_HISTORY_ORBITS = 480
staticconstexpr

Definition at line 107 of file VcstViirsBand.h.

◆ MIRROR_SIDE

constexpr int MIRROR_SIDE = 2
staticconstexpr

Definition at line 104 of file VcstViirsBand.h.

◆ MISS_FLOAT32_FILL

constexpr float MISS_FLOAT32_FILL = -999.9f
staticconstexpr

Definition at line 190 of file VcstViirsBand.h.

◆ MIXED_GRAN

constexpr unsigned char MIXED_GRAN = 2
staticconstexpr

Definition at line 119 of file VcstViirsBand.h.

◆ MOON_IN_SV_SCANS_TO_SKIP_BACK

constexpr int MOON_IN_SV_SCANS_TO_SKIP_BACK = 4
staticconstexpr

Definition at line 175 of file VcstViirsBand.h.

◆ MOON_IN_SV_SCANS_TO_SKIP_FORWARD

constexpr int MOON_IN_SV_SCANS_TO_SKIP_FORWARD = 6
staticconstexpr

Definition at line 174 of file VcstViirsBand.h.

◆ NA_FLOAT32_FILL

constexpr float NA_FLOAT32_FILL = -999.9f
staticconstexpr

Definition at line 191 of file VcstViirsBand.h.

◆ NIGHT_GRAN

constexpr unsigned char NIGHT_GRAN = 0
staticconstexpr

Definition at line 117 of file VcstViirsBand.h.

◆ NUM_BAD_PIXEL_QUALITY_FLAGS

constexpr short NUM_BAD_PIXEL_QUALITY_FLAGS = 5
staticconstexpr

Definition at line 149 of file VcstViirsBand.h.

◆ NUM_DG_PIXEL_QUALITY_FLAGS

constexpr short NUM_DG_PIXEL_QUALITY_FLAGS = 8
staticconstexpr

Definition at line 136 of file VcstViirsBand.h.

◆ NUM_DNB_PIXEL_QUALITY_FLAGS

constexpr short NUM_DNB_PIXEL_QUALITY_FLAGS = 5
staticconstexpr

Definition at line 145 of file VcstViirsBand.h.

◆ NUM_PIXEL_QUALITY_FLAGS

constexpr short NUM_PIXEL_QUALITY_FLAGS = 4
staticconstexpr

Definition at line 122 of file VcstViirsBand.h.

◆ NUM_TAPS

constexpr int NUM_TAPS = 201
staticconstexpr

Definition at line 99 of file VcstViirsBand.h.

◆ NUM_UADG_PIXEL_QUALITY_FLAGS

constexpr short NUM_UADG_PIXEL_QUALITY_FLAGS = 6
staticconstexpr

Definition at line 137 of file VcstViirsBand.h.

◆ obs_fill_value_

float obs_fill_value_

Definition at line 204 of file VcstViirsBand.h.

◆ obs_valid_max_

float obs_valid_max_

Definition at line 206 of file VcstViirsBand.h.

◆ obs_valid_min_

float obs_valid_min_

Definition at line 205 of file VcstViirsBand.h.

◆ ONBOARD_PT_FLOAT32_FILL

constexpr float ONBOARD_PT_FLOAT32_FILL = -999.9f
staticconstexpr

Definition at line 189 of file VcstViirsBand.h.

◆ pixel_quality_fill_value_

unsigned short pixel_quality_fill_value_

Definition at line 232 of file VcstViirsBand.h.

◆ pixel_quality_flag_masks_

vector<unsigned short> pixel_quality_flag_masks_

Definition at line 233 of file VcstViirsBand.h.

◆ pObc_

VcstObc* pObc_
protected

Definition at line 261 of file VcstViirsBand.h.

◆ processAtNight

const int processAtNight[Viirs_Bands]
static

Definition at line 96 of file VcstViirsBand.h.

◆ qualPtr_

unsigned short* qualPtr_

Definition at line 250 of file VcstViirsBand.h.

◆ radPtr_

float* radPtr_

Definition at line 252 of file VcstViirsBand.h.

◆ RADtoDEG

constexpr double RADtoDEG = 57.295779513082321e0
staticconstexpr

Definition at line 110 of file VcstViirsBand.h.

◆ rsb_band_

VIIRS_RSB_BAND_ENUM rsb_band_
protected

Definition at line 267 of file VcstViirsBand.h.

◆ RSB_BANDS

constexpr int RSB_BANDS = 14
staticconstexpr

Definition at line 102 of file VcstViirsBand.h.

◆ SATURATED_DN

constexpr int SATURATED_DN = 4095
staticconstexpr

Definition at line 106 of file VcstViirsBand.h.

◆ SHORT_FILL_TEST

constexpr short SHORT_FILL_TEST = -990
staticconstexpr

Definition at line 196 of file VcstViirsBand.h.

◆ shrt_add_offset_

float shrt_add_offset_

Definition at line 224 of file VcstViirsBand.h.

◆ shrt_fill_value_

unsigned short shrt_fill_value_

Definition at line 217 of file VcstViirsBand.h.

◆ shrt_rad_add_offset_

float shrt_rad_add_offset_

Definition at line 214 of file VcstViirsBand.h.

◆ shrt_rad_scale_factor_

float shrt_rad_scale_factor_

Definition at line 213 of file VcstViirsBand.h.

◆ shrt_scale_factor_

float shrt_scale_factor_

Definition at line 223 of file VcstViirsBand.h.

◆ shrt_valid_max_

unsigned short shrt_valid_max_

Definition at line 219 of file VcstViirsBand.h.

◆ shrt_valid_min_

unsigned short shrt_valid_min_

Definition at line 218 of file VcstViirsBand.h.

◆ shrtPtr_

unsigned short* shrtPtr_

Definition at line 248 of file VcstViirsBand.h.

◆ T_ELEC_LEVELS

constexpr int T_ELEC_LEVELS = 5
staticconstexpr

Definition at line 115 of file VcstViirsBand.h.

◆ T_FP_LEVELS

constexpr int T_FP_LEVELS = 5
staticconstexpr

Definition at line 114 of file VcstViirsBand.h.

◆ teb_band_

VIIRS_TEB_BAND_ENUM teb_band_
protected

Definition at line 266 of file VcstViirsBand.h.

◆ TEB_BANDS

constexpr int TEB_BANDS = 7
staticconstexpr

Definition at line 103 of file VcstViirsBand.h.

◆ TOTAL_DG_PIXEL_QUALITY_FLAGS

constexpr short TOTAL_DG_PIXEL_QUALITY_FLAGS = NUM_DG_PIXEL_QUALITY_FLAGS + NUM_BAD_PIXEL_QUALITY_FLAGS
staticconstexpr

Definition at line 159 of file VcstViirsBand.h.

◆ TOTAL_DNB_PIXEL_QUALITY_FLAGS

constexpr short TOTAL_DNB_PIXEL_QUALITY_FLAGS = NUM_DNB_PIXEL_QUALITY_FLAGS + NUM_BAD_PIXEL_QUALITY_FLAGS
staticconstexpr

Definition at line 161 of file VcstViirsBand.h.

◆ TOTAL_SG_PIXEL_QUALITY_FLAGS

constexpr short TOTAL_SG_PIXEL_QUALITY_FLAGS = NUM_PIXEL_QUALITY_FLAGS + NUM_BAD_PIXEL_QUALITY_FLAGS
staticconstexpr

Definition at line 158 of file VcstViirsBand.h.

◆ TOTAL_UADG_PIXEL_QUALITY_FLAGS

constexpr short TOTAL_UADG_PIXEL_QUALITY_FLAGS = NUM_UADG_PIXEL_QUALITY_FLAGS + NUM_BAD_PIXEL_QUALITY_FLAGS
staticconstexpr

Definition at line 160 of file VcstViirsBand.h.

◆ UBYTE_FILL_TEST

constexpr unsigned char UBYTE_FILL_TEST = 247
staticconstexpr

Definition at line 198 of file VcstViirsBand.h.

◆ uncertainty_index_flag_values_

vector<unsigned int> uncertainty_index_flag_values_

Definition at line 244 of file VcstViirsBand.h.

◆ uncidx_fill_value_

unsigned short uncidx_fill_value_

Definition at line 241 of file VcstViirsBand.h.

◆ uncidx_scale_factor_

float uncidx_scale_factor_

Definition at line 240 of file VcstViirsBand.h.

◆ uncidx_valid_max_

unsigned short uncidx_valid_max_

Definition at line 243 of file VcstViirsBand.h.

◆ uncidx_valid_min_

unsigned short uncidx_valid_min_

Definition at line 242 of file VcstViirsBand.h.

◆ uncPtr_

int8_t* uncPtr_

Definition at line 251 of file VcstViirsBand.h.

◆ VDNE_FLOAT32_FILL

constexpr float VDNE_FLOAT32_FILL = -999.9f
staticconstexpr

Definition at line 186 of file VcstViirsBand.h.


The documentation for this class was generated from the following file: