OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022

#include <VcstObc.h>

Collaboration diagram for VcstObc:
[legend]

Public Member Functions

 VcstObc ()
 
 ~VcstObc ()
 
int initialize (GRAN_SEQ_ENUM gran_seq)
 
int initialize (VIIRS_BAND_ENUM band)
 
int process_bands ()
 
int write_obc_data ()
 
void setHistory (std::string history)
 
std::string getHistory ()
 
void setSource (std::string source)
 
std::string getSource ()
 
const bool doFilters ()
 
const void setFilters (const bool bFilters)
 

Public Attributes

int orbit_number_
 
int format_version_
 
int instrument_number_
 
string platform_
 
string startDirection_
 
string endDirection_
 
string day_night_flag_
 
string time_coverage_start_
 
string time_coverage_end_
 
string pge_start_time_
 
string pge_end_time_
 
string versionid_
 
string history_
 
string source_files_
 
float refl_scale_factor_ [Viirs_Bands - 1]
 
float refl_add_offset_ [Viirs_Bands - 1]
 
float rad_scale_factor_ [Viirs_Bands - 1]
 
float rad_add_offset_ [Viirs_Bands - 1]
 
bool processModByScan_
 
int scanToProcess_
 
int extract_pixel_start_
 
int extract_pixel_stop_
 
GRAN_SEQ_ENUM granSeq_
 
bool bValidSeq_
 
VcstObcobcSeq_ [GRANULES]
 
VcstCmnGeopCmnGeo_
 
ViirsThermalpTherm_
 
obcLutPtrs pLut_
 
int act_scans_
 
unsigned char mode_
 
unsigned char cal_metadata_ [VIIRS_SCANS][Cal_Metadata]
 
bool scan_no_calibration_ [VIIRS_SCANS]
 
unsigned char scan_state_ [VIIRS_SCANS]
 
unsigned char scan_quality_ [VIIRS_SCANS]
 
short ASP_I_ [Number_of_Ibands][Number_of_Scans][Mirror_Sides][Iband_detectors]
 
short ASP_M_ [Number_of_Mbands+1][Number_of_Scans][Mirror_Sides][Mband_detectors]
 
short ASP_DIFF_I_ [Number_of_Ibands][Number_of_Scans][Mirror_Sides][Iband_detectors]
 
short ASP_DIFF_M_ [Number_of_Mbands][Number_of_Scans][Mirror_Sides][Mband_detectors]
 
float SV_DN_M_ [Number_of_Mbands+1][Number_of_Scans][Mband_detectors][Mband_Cal_Samples]
 
float SV_DN_I_ [Number_of_Ibands][Number_of_Scans][Iband_detectors][Iband_Cal_Samples]
 
float SV_DN_DNB_ [Number_of_Scans][Mband_detectors][DNB_Cal_Samples]
 
float SD_DN_M_ [Number_of_Mbands+1][Number_of_Scans][Mband_detectors][Mband_Cal_Samples]
 
float SD_DN_I_ [Number_of_Ibands][Number_of_Scans][Iband_detectors][Iband_Cal_Samples]
 
float SD_DN_DNB_ [Number_of_Scans][Mband_detectors][DNB_Cal_Samples]
 
float BB_DN_M_ [Number_of_Mbands+1][Number_of_Scans][Mband_detectors][Mband_Cal_Samples]
 
float BB_DN_I_ [Number_of_Ibands][Number_of_Scans][Iband_detectors][Iband_Cal_Samples]
 
float BB_DN_DNB_ [Number_of_Scans][Mband_detectors][DNB_Cal_Samples]
 
unsigned char GAIN_STATE_ [Number_of_DG_bands][Number_of_Scans][Mband_detectors]
 
unsigned char DNB_sequence_ [Number_of_Scans]
 
unsigned char DNB_sequence_valid_min_
 
unsigned char DNB_sequence_valid_max_
 
unsigned char SDSM_active_ [Number_of_Scans]
 
unsigned char SDSM_position_ [Number_of_Scans]
 
float SDSM_sample_ [Number_of_Scans][SDSM_DETECTORS][SDSM_SAMPLES]
 
float AVG_SV_DN_M_ [Number_of_Mbands+1][Number_of_Scans][Mband_detectors]
 
float AVG_SV_DN_I_ [Number_of_Ibands][Number_of_Scans][Iband_detectors][Parity]
 
float STD_SV_DN_M_ [Number_of_Mbands+1][Number_of_Scans][Mband_detectors]
 
float STD_SV_DN_I_ [Number_of_Ibands][Number_of_Scans][Iband_detectors][Parity]
 
float AVG_BB_DN_M_ [Number_of_Mbands][Number_of_Scans][Mband_detectors]
 
float AVG_BB_DN_I_ [Number_of_Ibands][Number_of_Scans][Iband_detectors][Parity]
 
float SV_M_ [Number_of_Mbands][Number_of_Scans][Mband_detectors][Gain_States]
 
float SV_I_ [Number_of_Ibands][Number_of_Scans][Iband_detectors][Agg_Zones][Parity]
 
float BB_M_ [Number_of_MTbands][Number_of_Scans][Mband_detectors][Gain_States]
 
float BB_I_ [Number_of_ITbands][Number_of_Scans][Iband_detectors][Agg_Zones][Parity]
 
float AVG_SV_M_ [Number_of_Mbands][Mirror_Sides][Mband_detectors][Gain_States]
 
float AVG_SV_I_ [Number_of_Ibands][Mirror_Sides][Iband_detectors][Agg_Zones][Parity]
 
float AVG_BB_M_ [Number_of_MTbands][Mirror_Sides][Mband_detectors][Gain_States]
 
float AVG_BB_I_ [Number_of_ITbands][Mirror_Sides][Iband_detectors][Agg_Zones][Parity]
 
double CP_M_ [Number_of_MRbands][Number_of_Scans][Mband_detectors][Gain_States][C_Coefs]
 
double CP_I_ [Number_of_IRbands][Number_of_Scans][Iband_detectors][C_Coefs]
 
unsigned char rowQuality_M_ [Number_of_Mbands][Number_of_Scans *Mband_detectors]
 
unsigned char rowQuality_I_ [Number_of_Ibands][Number_of_Scans *Iband_detectors]
 
bool bLunar_
 
bool bFilters_
 
double fir_coeff_ [NUM_TAPS]
 
float diag_sv_I_ [5][4][GRANULES *VIIRS_SCANS][32][3][2]
 
float diag_sv_M_ [16][4][GRANULES *VIIRS_SCANS][16][2]
 
float diag_f_I_ [2][2][GRANULES *VIIRS_SCANS][32][3][2]
 
float diag_f_M_ [5][2][GRANULES *VIIRS_SCANS][16][2]
 

Static Public Attributes

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 const int processAtNight [Viirs_Bands]
 
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 char SCE_A_SIDE_ON = 0
 
static constexpr char SCE_B_SIDE_ON = 1
 
static constexpr char SCE_INVALID = -1
 
static constexpr unsigned char L1B_SCAN_STATE_HA_MIRROR_B_SIDE = 0x01
 
static constexpr unsigned char L1B_SCAN_STATE_ELECTRONICS_SIDE = 0x02
 
static constexpr unsigned char L1B_SCAN_STATE_SENSOR_NIGHT_MODE = 0x04
 
static constexpr unsigned char L1B_SCAN_STATE_SENSOR_NOT_OPERATIONAL = 0x08
 
static constexpr unsigned char L1B_SCAN_STATE_NO_CALIBRATION = 0xff
 
static constexpr unsigned char L1B_SCAN_QUALITY_MOON_IN_SPACE_VIEW = 0x01
 
static constexpr unsigned char L1B_SCAN_QUALITY_NO_EV_DATA = 0x02
 
static constexpr unsigned char L1B_SCAN_QUALITY_SENSOR_NOT_NOMINAL = 0x04
 
static constexpr unsigned char L1B_SCAN_QUALITY_SCAN_SYNC_FAILURE = 0x08
 
static constexpr unsigned char L1B_SCAN_QUALITY_TEL_START_NOT_NOMINAL = 0x10
 
static constexpr unsigned char L1B_SCAN_QUALITY_BB_TEMP_NOT_NOMINAL = 0x20
 
static constexpr unsigned char L1B_SCAN_QUALITY_LWIR_TEMP_NOT_NOMINAL = 0x40
 
static constexpr long long MSECPERDAY = 86400000000ll
 
static constexpr double TAI93_TAI58_SEC = 1104537627.0
 
static constexpr double RAD_TO_DEG = 180.0 / M_PI
 
static constexpr int RSR_SIZE = 1000
 
static constexpr int SOLAR_IRAD_SIZE = 49951
 
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 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
 
static constexpr short GRANULES = 3
 
static const float var_limit_ [Viirs_Bands - 1]
 
static const float asp_factor_ [Viirs_Bands - 1]
 
static constexpr float sv_filter_bw_ = 0.01
 
static constexpr float f_filter_bw_ = 0.005
 
static const int TrimTable_I_ [Iband_detectors][2]
 
static const int TrimTable_M_ [Mband_detectors][2]
 
static const float radOffset_ [Viirs_Bands - 1]
 
static const float radRange_ [Viirs_Bands - 1]
 
static const float reflOffset_ [Viirs_Bands - 1]
 
static const float reflRange_ [Viirs_Bands - 1]
 
static const unsigned short destRange_
 
static const unsigned short out_of_range_dn_ [Viirs_Bands - 1]
 
static const unsigned int destRange_M13_
 
static const string band_prefix_ [Viirs_Bands]
 

Detailed Description

Definition at line 45 of file VcstObc.h.

Constructor & Destructor Documentation

◆ VcstObc()

VcstObc ( )

Class constructor

◆ ~VcstObc()

~VcstObc ( )

Class destructor

Member Function Documentation

◆ doFilters()

const bool doFilters ( )
inline

Definition at line 391 of file VcstObc.h.

◆ getHistory()

std::string getHistory ( )
inline

Definition at line 379 of file VcstObc.h.

◆ getSource()

std::string getSource ( )
inline

Definition at line 387 of file VcstObc.h.

◆ initialize() [1/2]

int initialize ( GRAN_SEQ_ENUM  gran_seq)

Initialize all data

◆ initialize() [2/2]

int initialize ( VIIRS_BAND_ENUM  band)

Initialize calibration data for a single band

◆ process_bands()

int process_bands ( )

process_bands()

Compute calibration data for all bands

◆ setFilters()

const void setFilters ( const bool  bFilters)
inline

Definition at line 395 of file VcstObc.h.

◆ setHistory()

void setHistory ( std::string  history)
inline

Definition at line 375 of file VcstObc.h.

◆ setSource()

void setSource ( std::string  source)
inline

Definition at line 383 of file VcstObc.h.

◆ write_obc_data()

int write_obc_data ( )

Write OBC file

Member Data Documentation

◆ A_COEFFS

constexpr int A_COEFFS = 3
staticconstexpr

Definition at line 84 of file VcstObc.h.

◆ act_scans_

int act_scans_

Definition at line 244 of file VcstObc.h.

◆ ASP_DIFF_I_

Definition at line 272 of file VcstObc.h.

◆ ASP_DIFF_M_

Definition at line 273 of file VcstObc.h.

◆ asp_factor_

const float asp_factor_[Viirs_Bands - 1]
static

Definition at line 195 of file VcstObc.h.

◆ ASP_I_

Definition at line 270 of file VcstObc.h.

◆ ASP_M_

Definition at line 271 of file VcstObc.h.

◆ AVG_BB_DN_I_

Definition at line 301 of file VcstObc.h.

◆ AVG_BB_DN_M_

Definition at line 300 of file VcstObc.h.

◆ AVG_BB_I_

Definition at line 315 of file VcstObc.h.

◆ AVG_BB_M_

Definition at line 314 of file VcstObc.h.

◆ AVG_SV_DN_I_

Definition at line 297 of file VcstObc.h.

◆ AVG_SV_DN_M_

Definition at line 296 of file VcstObc.h.

◆ AVG_SV_I_

Definition at line 313 of file VcstObc.h.

◆ AVG_SV_M_

Definition at line 312 of file VcstObc.h.

◆ BAD_PIXEL_QUAL_SHIFT

constexpr short BAD_PIXEL_QUAL_SHIFT = 8
staticconstexpr

Definition at line 145 of file VcstObc.h.

◆ band_prefix_

const string band_prefix_[Viirs_Bands]
static

Definition at line 223 of file VcstObc.h.

◆ BB_DN_DNB_

Definition at line 285 of file VcstObc.h.

◆ BB_DN_I_

Definition at line 284 of file VcstObc.h.

◆ BB_DN_M_

Definition at line 283 of file VcstObc.h.

◆ BB_I_

Definition at line 308 of file VcstObc.h.

◆ BB_M_

Definition at line 307 of file VcstObc.h.

◆ bFilters_

bool bFilters_

Definition at line 330 of file VcstObc.h.

◆ bLunar_

bool bLunar_

Definition at line 329 of file VcstObc.h.

◆ bValidSeq_

bool bValidSeq_

Definition at line 226 of file VcstObc.h.

◆ BYTE_FILL_TEST

constexpr char BYTE_FILL_TEST = 0
staticconstexpr

Definition at line 189 of file VcstObc.h.

◆ C_COEFFS

constexpr int C_COEFFS = 4
staticconstexpr

Definition at line 83 of file VcstObc.h.

◆ cal_metadata_

unsigned char cal_metadata_[VIIRS_SCANS][Cal_Metadata]

Definition at line 256 of file VcstObc.h.

◆ CP_I_

Definition at line 320 of file VcstObc.h.

◆ CP_M_

Definition at line 319 of file VcstObc.h.

◆ DAY_GRAN

constexpr unsigned char DAY_GRAN = 1
staticconstexpr

Definition at line 89 of file VcstObc.h.

◆ day_night_flag_

string day_night_flag_

Definition at line 54 of file VcstObc.h.

◆ DEGtoRAD

constexpr double DEGtoRAD = 0.017453292519943296e0
staticconstexpr

Definition at line 80 of file VcstObc.h.

◆ destRange_

const unsigned short destRange_
static

Definition at line 207 of file VcstObc.h.

◆ destRange_M13_

const unsigned int destRange_M13_
static

Definition at line 209 of file VcstObc.h.

◆ diag_f_I_

float diag_f_I_[2][2][GRANULES *VIIRS_SCANS][32][3][2]

Definition at line 335 of file VcstObc.h.

◆ diag_f_M_

float diag_f_M_[5][2][GRANULES *VIIRS_SCANS][16][2]

Definition at line 336 of file VcstObc.h.

◆ diag_sv_I_

float diag_sv_I_[5][4][GRANULES *VIIRS_SCANS][32][3][2]

Definition at line 333 of file VcstObc.h.

◆ diag_sv_M_

float diag_sv_M_[16][4][GRANULES *VIIRS_SCANS][16][2]

Definition at line 334 of file VcstObc.h.

◆ DNB_sequence_

unsigned char DNB_sequence_[Number_of_Scans]

Definition at line 287 of file VcstObc.h.

◆ DNB_sequence_valid_max_

unsigned char DNB_sequence_valid_max_

Definition at line 288 of file VcstObc.h.

◆ DNB_sequence_valid_min_

unsigned char DNB_sequence_valid_min_

Definition at line 288 of file VcstObc.h.

◆ ELLIPSOID_FLOAT32_FILL

constexpr float ELLIPSOID_FLOAT32_FILL = -999.9f
staticconstexpr

Definition at line 180 of file VcstObc.h.

◆ endDirection_

string endDirection_

Definition at line 53 of file VcstObc.h.

◆ ERR_FLOAT32_FILL

constexpr float ERR_FLOAT32_FILL = -999.9f
staticconstexpr

Definition at line 181 of file VcstObc.h.

◆ extract_pixel_start_

int extract_pixel_start_

Definition at line 220 of file VcstObc.h.

◆ extract_pixel_stop_

int extract_pixel_stop_

Definition at line 221 of file VcstObc.h.

◆ f_filter_bw_

constexpr float f_filter_bw_ = 0.005
staticconstexpr

Definition at line 197 of file VcstObc.h.

◆ fir_coeff_

double fir_coeff_[NUM_TAPS]

Definition at line 331 of file VcstObc.h.

◆ FLOAT_FILL_TEST

constexpr float FLOAT_FILL_TEST = -999.0f
staticconstexpr

Definition at line 187 of file VcstObc.h.

◆ format_version_

int format_version_

Definition at line 49 of file VcstObc.h.

◆ GAIN_STATE_

unsigned char GAIN_STATE_[Number_of_DG_bands][Number_of_Scans][Mband_detectors]

Definition at line 286 of file VcstObc.h.

◆ granSeq_

GRAN_SEQ_ENUM granSeq_

Definition at line 225 of file VcstObc.h.

◆ GRANULES

constexpr short GRANULES = 3
staticconstexpr

Definition at line 193 of file VcstObc.h.

◆ history_

string history_

Definition at line 60 of file VcstObc.h.

◆ instrument_number_

int instrument_number_

Definition at line 50 of file VcstObc.h.

◆ L1B_FILL_BYTE

constexpr char L1B_FILL_BYTE = -1
staticconstexpr

Definition at line 176 of file VcstObc.h.

◆ L1B_FILL_DOUBLE

constexpr double L1B_FILL_DOUBLE = -999.9L
staticconstexpr

Definition at line 173 of file VcstObc.h.

◆ L1B_FILL_FLOAT

constexpr float L1B_FILL_FLOAT = -999.9f
staticconstexpr

Definition at line 172 of file VcstObc.h.

◆ L1B_FILL_SHORT

constexpr short L1B_FILL_SHORT = -999
staticconstexpr

Definition at line 174 of file VcstObc.h.

◆ L1B_FILL_UBYTE

constexpr unsigned char L1B_FILL_UBYTE = 255
staticconstexpr

Definition at line 177 of file VcstObc.h.

◆ L1B_FILL_USHORT

constexpr unsigned short L1B_FILL_USHORT = 65535
staticconstexpr

Definition at line 175 of file VcstObc.h.

◆ L1B_PIXEL_QUALITY_ALLSATURATION

constexpr unsigned char L1B_PIXEL_QUALITY_ALLSATURATION = 0x04
staticconstexpr

Definition at line 124 of file VcstObc.h.

◆ L1B_PIXEL_QUALITY_BOWTIE

constexpr unsigned short L1B_PIXEL_QUALITY_BOWTIE = 0x0100
staticconstexpr

Definition at line 146 of file VcstObc.h.

◆ L1B_PIXEL_QUALITY_DEAD_DETECTOR

constexpr unsigned short L1B_PIXEL_QUALITY_DEAD_DETECTOR = 0x0800
staticconstexpr

Definition at line 149 of file VcstObc.h.

◆ L1B_PIXEL_QUALITY_DG_ANOMALY

constexpr unsigned char L1B_PIXEL_QUALITY_DG_ANOMALY = 0x40
staticconstexpr

Definition at line 136 of file VcstObc.h.

◆ L1B_PIXEL_QUALITY_DNB_STRAY_LIGHT

constexpr unsigned char L1B_PIXEL_QUALITY_DNB_STRAY_LIGHT = 0x10
staticconstexpr

Definition at line 141 of file VcstObc.h.

◆ L1B_PIXEL_QUALITY_GOOD

constexpr unsigned char L1B_PIXEL_QUALITY_GOOD = 0x00
staticconstexpr

Definition at line 120 of file VcstObc.h.

◆ L1B_PIXEL_QUALITY_LOW_GAIN_STATE

constexpr unsigned char L1B_PIXEL_QUALITY_LOW_GAIN_STATE = 0x10
staticconstexpr

Definition at line 134 of file VcstObc.h.

◆ L1B_PIXEL_QUALITY_LOWER_MASK

constexpr unsigned char L1B_PIXEL_QUALITY_LOWER_MASK = 0x0f
staticconstexpr

Definition at line 126 of file VcstObc.h.

◆ L1B_PIXEL_QUALITY_MISSING

constexpr unsigned short L1B_PIXEL_QUALITY_MISSING = 0x0200
staticconstexpr

Definition at line 147 of file VcstObc.h.

◆ L1B_PIXEL_QUALITY_MIXED_GAIN_STATE

constexpr unsigned char L1B_PIXEL_QUALITY_MIXED_GAIN_STATE = 0x20
staticconstexpr

Definition at line 135 of file VcstObc.h.

◆ L1B_PIXEL_QUALITY_NOCALIBRATE

constexpr unsigned short L1B_PIXEL_QUALITY_NOCALIBRATE = 0x0400
staticconstexpr

Definition at line 148 of file VcstObc.h.

◆ L1B_PIXEL_QUALITY_NOISY_DETECTOR

constexpr unsigned short L1B_PIXEL_QUALITY_NOISY_DETECTOR = 0x1000
staticconstexpr

Definition at line 150 of file VcstObc.h.

◆ L1B_PIXEL_QUALITY_NOT_ALLSATURATION

constexpr unsigned char L1B_PIXEL_QUALITY_NOT_ALLSATURATION = 0xfb
staticconstexpr

Definition at line 128 of file VcstObc.h.

◆ L1B_PIXEL_QUALITY_NOT_OUTOFRANGE

constexpr unsigned char L1B_PIXEL_QUALITY_NOT_OUTOFRANGE = 0xfd
staticconstexpr

Definition at line 129 of file VcstObc.h.

◆ L1B_PIXEL_QUALITY_OUTOFRANGE_RAD

constexpr unsigned char L1B_PIXEL_QUALITY_OUTOFRANGE_RAD = 0x02
staticconstexpr

Definition at line 122 of file VcstObc.h.

◆ L1B_PIXEL_QUALITY_OUTOFRANGE_RFLBT

constexpr unsigned char L1B_PIXEL_QUALITY_OUTOFRANGE_RFLBT = 0x02
staticconstexpr

Definition at line 123 of file VcstObc.h.

◆ L1B_PIXEL_QUALITY_SOMESATURATION

constexpr unsigned char L1B_PIXEL_QUALITY_SOMESATURATION = 0x80
staticconstexpr

Definition at line 137 of file VcstObc.h.

◆ L1B_PIXEL_QUALITY_SUBSTITUTE_CAL

constexpr unsigned char L1B_PIXEL_QUALITY_SUBSTITUTE_CAL = 0x01
staticconstexpr

Definition at line 121 of file VcstObc.h.

◆ L1B_PIXEL_QUALITY_TEMP_NOT_NOMINAL

constexpr unsigned char L1B_PIXEL_QUALITY_TEMP_NOT_NOMINAL = 0x08
staticconstexpr

Definition at line 125 of file VcstObc.h.

◆ L1B_PIXEL_QUALITY_UPPER_MASK

constexpr unsigned char L1B_PIXEL_QUALITY_UPPER_MASK = 0xf0
staticconstexpr

Definition at line 127 of file VcstObc.h.

◆ L1B_ROW_QUALITY_BB_TEMP_NOT_NOMINAL

constexpr unsigned char L1B_ROW_QUALITY_BB_TEMP_NOT_NOMINAL = 0x20
staticconstexpr

Definition at line 163 of file VcstObc.h.

◆ L1B_ROW_QUALITY_DEAD_DETECTOR

constexpr unsigned char L1B_ROW_QUALITY_DEAD_DETECTOR = 0x10
staticconstexpr

Definition at line 162 of file VcstObc.h.

◆ L1B_ROW_QUALITY_DG_ANOMALY

constexpr unsigned char L1B_ROW_QUALITY_DG_ANOMALY = 0x08
staticconstexpr

Definition at line 161 of file VcstObc.h.

◆ L1B_ROW_QUALITY_DNB_STRAY_LIGHT

constexpr unsigned char L1B_ROW_QUALITY_DNB_STRAY_LIGHT = 0x80
staticconstexpr

Definition at line 165 of file VcstObc.h.

◆ L1B_ROW_QUALITY_LWIR_TEMP_NOT_NOMINAL

constexpr unsigned char L1B_ROW_QUALITY_LWIR_TEMP_NOT_NOMINAL = 0x40
staticconstexpr

Definition at line 164 of file VcstObc.h.

◆ L1B_ROW_QUALITY_MOON_IN_SPACE_VIEW

constexpr unsigned char L1B_ROW_QUALITY_MOON_IN_SPACE_VIEW = 0x04
staticconstexpr

Definition at line 160 of file VcstObc.h.

◆ L1B_ROW_QUALITY_NO_CALIBRATION

constexpr unsigned char L1B_ROW_QUALITY_NO_CALIBRATION = 0x02
staticconstexpr

Definition at line 159 of file VcstObc.h.

◆ L1B_ROW_QUALITY_SUBSTITUTE_CAL

constexpr unsigned char L1B_ROW_QUALITY_SUBSTITUTE_CAL = 0x01
staticconstexpr

Definition at line 158 of file VcstObc.h.

◆ L1B_SCAN_QUALITY_BB_TEMP_NOT_NOMINAL

constexpr unsigned char L1B_SCAN_QUALITY_BB_TEMP_NOT_NOMINAL = 0x20
staticconstexpr

Definition at line 108 of file VcstObc.h.

◆ L1B_SCAN_QUALITY_LWIR_TEMP_NOT_NOMINAL

constexpr unsigned char L1B_SCAN_QUALITY_LWIR_TEMP_NOT_NOMINAL = 0x40
staticconstexpr

Definition at line 109 of file VcstObc.h.

◆ L1B_SCAN_QUALITY_MOON_IN_SPACE_VIEW

constexpr unsigned char L1B_SCAN_QUALITY_MOON_IN_SPACE_VIEW = 0x01
staticconstexpr

Definition at line 103 of file VcstObc.h.

◆ L1B_SCAN_QUALITY_NO_EV_DATA

constexpr unsigned char L1B_SCAN_QUALITY_NO_EV_DATA = 0x02
staticconstexpr

Definition at line 104 of file VcstObc.h.

◆ L1B_SCAN_QUALITY_SCAN_SYNC_FAILURE

constexpr unsigned char L1B_SCAN_QUALITY_SCAN_SYNC_FAILURE = 0x08
staticconstexpr

Definition at line 106 of file VcstObc.h.

◆ L1B_SCAN_QUALITY_SENSOR_NOT_NOMINAL

constexpr unsigned char L1B_SCAN_QUALITY_SENSOR_NOT_NOMINAL = 0x04
staticconstexpr

Definition at line 105 of file VcstObc.h.

◆ L1B_SCAN_QUALITY_TEL_START_NOT_NOMINAL

constexpr unsigned char L1B_SCAN_QUALITY_TEL_START_NOT_NOMINAL = 0x10
staticconstexpr

Definition at line 107 of file VcstObc.h.

◆ L1B_SCAN_STATE_ELECTRONICS_SIDE

constexpr unsigned char L1B_SCAN_STATE_ELECTRONICS_SIDE = 0x02
staticconstexpr

Definition at line 98 of file VcstObc.h.

◆ L1B_SCAN_STATE_HA_MIRROR_B_SIDE

constexpr unsigned char L1B_SCAN_STATE_HA_MIRROR_B_SIDE = 0x01
staticconstexpr

Definition at line 97 of file VcstObc.h.

◆ L1B_SCAN_STATE_NO_CALIBRATION

constexpr unsigned char L1B_SCAN_STATE_NO_CALIBRATION = 0xff
staticconstexpr

Definition at line 101 of file VcstObc.h.

◆ L1B_SCAN_STATE_SENSOR_NIGHT_MODE

constexpr unsigned char L1B_SCAN_STATE_SENSOR_NIGHT_MODE = 0x04
staticconstexpr

Definition at line 99 of file VcstObc.h.

◆ L1B_SCAN_STATE_SENSOR_NOT_OPERATIONAL

constexpr unsigned char L1B_SCAN_STATE_SENSOR_NOT_OPERATIONAL = 0x08
staticconstexpr

Definition at line 100 of file VcstObc.h.

◆ MAX_NUM_HISTORY_ORBITS

constexpr int MAX_NUM_HISTORY_ORBITS = 480
staticconstexpr

Definition at line 74 of file VcstObc.h.

◆ MIRROR_SIDE

constexpr int MIRROR_SIDE = 2
staticconstexpr

Definition at line 71 of file VcstObc.h.

◆ MISS_FLOAT32_FILL

constexpr float MISS_FLOAT32_FILL = -999.9f
staticconstexpr

Definition at line 183 of file VcstObc.h.

◆ MIXED_GRAN

constexpr unsigned char MIXED_GRAN = 2
staticconstexpr

Definition at line 90 of file VcstObc.h.

◆ mode_

unsigned char mode_

Definition at line 247 of file VcstObc.h.

◆ MOON_IN_SV_SCANS_TO_SKIP_BACK

constexpr int MOON_IN_SV_SCANS_TO_SKIP_BACK = 4
staticconstexpr

Definition at line 169 of file VcstObc.h.

◆ MOON_IN_SV_SCANS_TO_SKIP_FORWARD

constexpr int MOON_IN_SV_SCANS_TO_SKIP_FORWARD = 6
staticconstexpr

Definition at line 168 of file VcstObc.h.

◆ MSECPERDAY

constexpr long long MSECPERDAY = 86400000000ll
staticconstexpr

Definition at line 112 of file VcstObc.h.

◆ NA_FLOAT32_FILL

constexpr float NA_FLOAT32_FILL = -999.9f
staticconstexpr

Definition at line 184 of file VcstObc.h.

◆ NIGHT_GRAN

constexpr unsigned char NIGHT_GRAN = 0
staticconstexpr

Definition at line 88 of file VcstObc.h.

◆ NUM_BAD_PIXEL_QUALITY_FLAGS

constexpr short NUM_BAD_PIXEL_QUALITY_FLAGS = 5
staticconstexpr

Definition at line 144 of file VcstObc.h.

◆ NUM_DG_PIXEL_QUALITY_FLAGS

constexpr short NUM_DG_PIXEL_QUALITY_FLAGS = 8
staticconstexpr

Definition at line 132 of file VcstObc.h.

◆ NUM_DNB_PIXEL_QUALITY_FLAGS

constexpr short NUM_DNB_PIXEL_QUALITY_FLAGS = 5
staticconstexpr

Definition at line 140 of file VcstObc.h.

◆ NUM_PIXEL_QUALITY_FLAGS

constexpr short NUM_PIXEL_QUALITY_FLAGS = 4
staticconstexpr

Definition at line 119 of file VcstObc.h.

◆ NUM_TAPS

constexpr int NUM_TAPS = 201
staticconstexpr

Definition at line 65 of file VcstObc.h.

◆ NUM_UADG_PIXEL_QUALITY_FLAGS

constexpr short NUM_UADG_PIXEL_QUALITY_FLAGS = 6
staticconstexpr

Definition at line 133 of file VcstObc.h.

◆ obcSeq_

VcstObc* obcSeq_[GRANULES]

Adjacent granules, before and after

Definition at line 232 of file VcstObc.h.

◆ ONBOARD_PT_FLOAT32_FILL

constexpr float ONBOARD_PT_FLOAT32_FILL = -999.9f
staticconstexpr

Definition at line 182 of file VcstObc.h.

◆ orbit_number_

int orbit_number_

Definition at line 48 of file VcstObc.h.

◆ out_of_range_dn_

const unsigned short out_of_range_dn_[Viirs_Bands - 1]
static

Definition at line 208 of file VcstObc.h.

◆ pCmnGeo_

VcstCmnGeo* pCmnGeo_

Definition at line 235 of file VcstObc.h.

◆ pge_end_time_

string pge_end_time_

Definition at line 58 of file VcstObc.h.

◆ pge_start_time_

string pge_start_time_

Definition at line 57 of file VcstObc.h.

◆ platform_

string platform_

Definition at line 51 of file VcstObc.h.

◆ pLut_

obcLutPtrs pLut_

Definition at line 241 of file VcstObc.h.

◆ processAtNight

const int processAtNight[Viirs_Bands]
static

Definition at line 78 of file VcstObc.h.

◆ processModByScan_

bool processModByScan_

Definition at line 218 of file VcstObc.h.

◆ pTherm_

ViirsThermal* pTherm_

Definition at line 238 of file VcstObc.h.

◆ rad_add_offset_

float rad_add_offset_[Viirs_Bands - 1]

Definition at line 215 of file VcstObc.h.

◆ rad_scale_factor_

float rad_scale_factor_[Viirs_Bands - 1]

Definition at line 214 of file VcstObc.h.

◆ RAD_TO_DEG

constexpr double RAD_TO_DEG = 180.0 / M_PI
staticconstexpr

Definition at line 114 of file VcstObc.h.

◆ radOffset_

const float radOffset_[Viirs_Bands - 1]
static

Definition at line 203 of file VcstObc.h.

◆ radRange_

const float radRange_[Viirs_Bands - 1]
static

Definition at line 204 of file VcstObc.h.

◆ RADtoDEG

constexpr double RADtoDEG = 57.295779513082321e0
staticconstexpr

Definition at line 81 of file VcstObc.h.

◆ refl_add_offset_

float refl_add_offset_[Viirs_Bands - 1]

Definition at line 213 of file VcstObc.h.

◆ refl_scale_factor_

float refl_scale_factor_[Viirs_Bands - 1]

Definition at line 212 of file VcstObc.h.

◆ reflOffset_

const float reflOffset_[Viirs_Bands - 1]
static

Definition at line 205 of file VcstObc.h.

◆ reflRange_

const float reflRange_[Viirs_Bands - 1]
static

Definition at line 206 of file VcstObc.h.

◆ rowQuality_I_

unsigned char rowQuality_I_[Number_of_Ibands][Number_of_Scans *Iband_detectors]

Definition at line 325 of file VcstObc.h.

◆ rowQuality_M_

unsigned char rowQuality_M_[Number_of_Mbands][Number_of_Scans *Mband_detectors]

Definition at line 324 of file VcstObc.h.

◆ RSB_BANDS

constexpr int RSB_BANDS = 14
staticconstexpr

Definition at line 69 of file VcstObc.h.

◆ RSR_SIZE

constexpr int RSR_SIZE = 1000
staticconstexpr

Definition at line 115 of file VcstObc.h.

◆ SATURATED_DN

constexpr int SATURATED_DN = 4095
staticconstexpr

Definition at line 73 of file VcstObc.h.

◆ scan_no_calibration_

bool scan_no_calibration_[VIIRS_SCANS]

Definition at line 264 of file VcstObc.h.

◆ scan_quality_

unsigned char scan_quality_[VIIRS_SCANS]

Definition at line 266 of file VcstObc.h.

◆ scan_state_

unsigned char scan_state_[VIIRS_SCANS]

Definition at line 265 of file VcstObc.h.

◆ scanToProcess_

int scanToProcess_

Definition at line 219 of file VcstObc.h.

◆ SCE_A_SIDE_ON

constexpr char SCE_A_SIDE_ON = 0
staticconstexpr

Definition at line 93 of file VcstObc.h.

◆ SCE_B_SIDE_ON

constexpr char SCE_B_SIDE_ON = 1
staticconstexpr

Definition at line 94 of file VcstObc.h.

◆ SCE_INVALID

constexpr char SCE_INVALID = -1
staticconstexpr

Definition at line 95 of file VcstObc.h.

◆ SD_DN_DNB_

Definition at line 282 of file VcstObc.h.

◆ SD_DN_I_

Definition at line 281 of file VcstObc.h.

◆ SD_DN_M_

Definition at line 280 of file VcstObc.h.

◆ SDSM_active_

unsigned char SDSM_active_[Number_of_Scans]

Definition at line 290 of file VcstObc.h.

◆ SDSM_position_

unsigned char SDSM_position_[Number_of_Scans]

Definition at line 291 of file VcstObc.h.

◆ SDSM_sample_

Definition at line 292 of file VcstObc.h.

◆ SHORT_FILL_TEST

constexpr short SHORT_FILL_TEST = -990
staticconstexpr

Definition at line 188 of file VcstObc.h.

◆ SOLAR_IRAD_SIZE

constexpr int SOLAR_IRAD_SIZE = 49951
staticconstexpr

Definition at line 116 of file VcstObc.h.

◆ source_files_

string source_files_

Definition at line 61 of file VcstObc.h.

◆ startDirection_

string startDirection_

Definition at line 52 of file VcstObc.h.

◆ STD_SV_DN_I_

Definition at line 299 of file VcstObc.h.

◆ STD_SV_DN_M_

Definition at line 298 of file VcstObc.h.

◆ SV_DN_DNB_

Definition at line 279 of file VcstObc.h.

◆ SV_DN_I_

Definition at line 278 of file VcstObc.h.

◆ SV_DN_M_

Definition at line 277 of file VcstObc.h.

◆ sv_filter_bw_

constexpr float sv_filter_bw_ = 0.01
staticconstexpr

Definition at line 196 of file VcstObc.h.

◆ SV_I_

Definition at line 306 of file VcstObc.h.

◆ SV_M_

Definition at line 305 of file VcstObc.h.

◆ T_ELEC_LEVELS

constexpr int T_ELEC_LEVELS = 5
staticconstexpr

Definition at line 86 of file VcstObc.h.

◆ T_FP_LEVELS

constexpr int T_FP_LEVELS = 5
staticconstexpr

Definition at line 85 of file VcstObc.h.

◆ TAI93_TAI58_SEC

constexpr double TAI93_TAI58_SEC = 1104537627.0
staticconstexpr

Definition at line 113 of file VcstObc.h.

◆ TEB_BANDS

constexpr int TEB_BANDS = 7
staticconstexpr

Definition at line 70 of file VcstObc.h.

◆ time_coverage_end_

string time_coverage_end_

Definition at line 56 of file VcstObc.h.

◆ time_coverage_start_

string time_coverage_start_

Definition at line 55 of file VcstObc.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 153 of file VcstObc.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 155 of file VcstObc.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 152 of file VcstObc.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 154 of file VcstObc.h.

◆ TrimTable_I_

const int TrimTable_I_[Iband_detectors][2]
static

Definition at line 200 of file VcstObc.h.

◆ TrimTable_M_

const int TrimTable_M_[Mband_detectors][2]
static

Definition at line 201 of file VcstObc.h.

◆ UBYTE_FILL_TEST

constexpr unsigned char UBYTE_FILL_TEST = 247
staticconstexpr

Definition at line 190 of file VcstObc.h.

◆ var_limit_

const float var_limit_[Viirs_Bands - 1]
static

Definition at line 194 of file VcstObc.h.

◆ VDNE_FLOAT32_FILL

constexpr float VDNE_FLOAT32_FILL = -999.9f
staticconstexpr

Definition at line 179 of file VcstObc.h.

◆ versionid_

string versionid_

Definition at line 59 of file VcstObc.h.


The documentation for this class was generated from the following file:
  • /gfs-oceanweb/web/ocssw/ocssw_src/include/ViirsCal/VcstObc.h