OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022

#include <DbAlgorithm.h>

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

Classes

struct  lsOut
 

Public Member Functions

 DbAlgLand ()
 
 ~DbAlgLand ()
 
int initialize (map< string, ddata * > imap)
 
vector< stringget_products ()
 
map< string, ddata * > process (vector< size_t > start, vector< size_t > count, map< string, ddata * > imap)
 
- Public Member Functions inherited from DbAlgorithm
 DbAlgorithm ()
 
virtual ~DbAlgorithm ()
 
int compute_gas_correction ()
 
- Public Member Functions inherited from DDAlgorithm
 DDAlgorithm ()
 
virtual ~DDAlgorithm ()
 

Public Attributes

int algflg_
 
float cofs_ [16]
 
float sca_
 
float gla_
 
float amf_
 
float ler412_
 
float ler488_
 
float ler670_
 
float qdf412_
 
float qdf488_
 
float qdf670_
 
float sr412_
 
float sr488_
 
float sr670_
 
float btd8_
 
float btd11_
 
float dstar_
 
lsOut lOut_
 
DbCloudMaskLandcm_
 
DbSmokeMasksmoke_
 
DbHighAltSmokeMaskha_smoke_
 
DbPyrocbMaskpyrocb_
 
short mask_cm_
 
short mask_smoke_
 
short mask_ha_smoke_
 
short mask_pyrocb_
 
- Public Attributes inherited from DbAlgorithm
int ler_start_ [2]
 
int ler_edge_ [2]
 
int dateline_
 
float cphi_
 
float cphir_
 
float phs_
 
float phsr_
 
float NC_ [DB_NC_BANDS]
 
float scatter_angle_
 
float glint_angle_
 
float glint_refl_
 
float ndvi_
 
dbTablesLUTmt_lut_
 
dbSurfacePressureLUTsp_lut_
 
dbSurfCoeffLimitedscl_lut_
 
dbGeozoneLUTgz_lut_
 
dbViirsSurfReflLimitedvsr_lut_
 
dbModisSurfReflLimitedmsr_lut_
 
dbOceanAerosolLUMAoaLut_ [NDBMDL]
 
dbBathymetryLUTbath_lut_
 
dbChlLUTchl_lut_
 

Protected Member Functions

int initialize_LUT_data ()
 
int initialize_LUT_data (map< string, ddata * > imap)
 
int compute_stdv ()
 
int compute_dstar (const size_t iy, const size_t ix)
 
int compute_sr (const size_t iy, const size_t ix)
 
int compute_ler (const size_t iy, const size_t ix)
 
int interx (int i1, int i2, rhot_band w, float &ezero, float &tr, float &sb)
 
int set_fill_out ()
 
- Protected Member Functions inherited from DbAlgorithm
int initialize_LUT_data (map< string, ddata * > imap)
 
int locate (int size, float y[], float x, int &status)
 
int compute_pressure (float height, float &sigma, float &ps, float &theta)
 
int compute_glint_angle (float &glint_angle)
 
int compute_scatter_angle (float &scat_angle)
 
- Protected Member Functions inherited from DDAlgorithm
int get_inputs (vector< size_t > start, vector< size_t > count, map< string, ddata * > imap)
 
map< string, ddata * > set_outputs ()
 
map< string, ddata * > set_fills ()
 

Protected Attributes

float densol_ [7][4]
 
float denscn_ [5][4]
 
int isnow_ = 0
 
float pcloud_ = 0.7
 
float pteran_ = 0
 
- Protected Attributes inherited from DDAlgorithm
size_t lines_
 
size_t pixels_
 
float rfl_ [NTWL]
 
float rfla_ [NTWL][3][3]
 
float gasc_ [NTWL]
 
float lat_
 
float lon_
 
float solz_
 
float senz_
 
float raa_
 
float height_
 
float scatt_
 
float ws_
 
float pwv_
 
float oz_
 
float ps_
 
int month_
 
bool bgascorrect_
 
bool bglintmask_
 
bool bcloudmask_
 
bool btest_
 
unsigned char cloud_mask_
 
short qual_flag_
 
short aerosol_type_
 
short error_flag_
 
unsigned int l2_flags_
 
float scatter_ang_
 
float glint_ang_
 
float sse_
 
float fmf_
 
float aot_550_
 
float ae1_
 
float ae2_
 
float ndv_
 
float chlor_
 
float ssa_ [NLWL+1]
 
float sr_ [NLWL+1]
 
float aot_ [NOWL+1]
 

Additional Inherited Members

- Static Public Attributes inherited from DbAlgorithm
static constexpr int No_byte = 6
 
static constexpr int Fmax = 150
 
static constexpr int Lmax = 210
 
static constexpr int Fbmax = 1500
 
static constexpr int Lbmax = 2100
 
static constexpr int No_byte_O = 5
 
static constexpr float delta = -0.000001
 
static constexpr float SolarZenithAngleZEPS = 84.000001
 
static constexpr float NDVI1_CUTOFF = 0.18
 
static constexpr float NDVI2_CUTOFF = 0.35
 
static const float xzlog [10]
 
static const float xlog [8]
 
static const float htab [8] = {0.0, 11.0, 20.0, 32.0, 47.0, 51.0, 71.0, 84.852}
 
static const float ttab [8]
 
static const float ptab [8]
 
static const float gtab [8] = {-6.5, 0.0, 1.0, 2.8, 0.0, -2.8, -2.0, 0.0}
 

Detailed Description

Definition at line 272 of file DbAlgorithm.h.

Constructor & Destructor Documentation

◆ DbAlgLand()

DbAlgLand ( )

Class constructor

Definition at line 43 of file DbAlgLand.cpp.

◆ ~DbAlgLand()

~DbAlgLand ( )

Class destructor

Definition at line 54 of file DbAlgLand.cpp.

Member Function Documentation

◆ compute_dstar()

int compute_dstar ( const size_t  iy,
const size_t  ix 
)
protected

Compute D* and sr670

Definition at line 445 of file DbAlgLand.cpp.

◆ compute_ler()

int compute_ler ( const size_t  iy,
const size_t  ix 
)
protected

Compute Lambertian Equivalent Reflectance

Definition at line 635 of file DbAlgLand.cpp.

◆ compute_sr()

int compute_sr ( const size_t  iy,
const size_t  ix 
)
protected

Compute Surface Reflectance

Definition at line 530 of file DbAlgLand.cpp.

◆ compute_stdv()

int compute_stdv ( )
protected

Compute stdv

Definition at line 1051 of file DbAlgLand.cpp.

◆ get_products()

vector<string> get_products ( )
inlinevirtual

Return a list of product names generated by the algorithm

Reimplemented from DbAlgorithm.

Definition at line 294 of file DbAlgorithm.h.

◆ initialize()

int initialize ( map< string, ddata * >  imap)
virtual

Initialize Input data

Reimplemented from DbAlgorithm.

Definition at line 79 of file DbAlgLand.cpp.

◆ initialize_LUT_data() [1/2]

int initialize_LUT_data ( )
protected

Read LUT files into their respective data structures.

◆ initialize_LUT_data() [2/2]

int initialize_LUT_data ( map< string, ddata * >  imap)
protected

Definition at line 119 of file DbAlgLand.cpp.

◆ interx()

int interx ( int  i1,
int  i2,
rhot_band  w,
float &  ezero,
float &  tr,
float &  sb 
)
protected

interx:: Calculates intensity terms used in computation of reflecitivity

Definition at line 1069 of file DbAlgLand.cpp.

◆ process()

map< string, ddata * > process ( vector< size_t >  start,
vector< size_t >  count,
map< string, ddata * >  imap 
)
virtual

Compute aerosol deep blue algorithm

Reimplemented from DbAlgorithm.

Definition at line 174 of file DbAlgLand.cpp.

◆ set_fill_out()

int set_fill_out ( )
protected

Set output to fill values

Definition at line 1110 of file DbAlgLand.cpp.

Member Data Documentation

◆ algflg_

int algflg_

Public variables

Definition at line 306 of file DbAlgorithm.h.

◆ amf_

float amf_

Definition at line 311 of file DbAlgorithm.h.

◆ btd11_

float btd11_

Definition at line 322 of file DbAlgorithm.h.

◆ btd8_

float btd8_

Definition at line 321 of file DbAlgorithm.h.

◆ cm_

Definition at line 339 of file DbAlgorithm.h.

◆ cofs_

float cofs_[16]

Definition at line 307 of file DbAlgorithm.h.

◆ denscn_

float denscn_[5][4]
protected

Definition at line 352 of file DbAlgorithm.h.

◆ densol_

float densol_[7][4]
protected

Definition at line 351 of file DbAlgorithm.h.

◆ dstar_

float dstar_

Definition at line 323 of file DbAlgorithm.h.

◆ gla_

float gla_

Definition at line 310 of file DbAlgorithm.h.

◆ ha_smoke_

DbHighAltSmokeMask* ha_smoke_

Definition at line 341 of file DbAlgorithm.h.

◆ isnow_

int isnow_ = 0
protected

Definition at line 353 of file DbAlgorithm.h.

◆ ler412_

float ler412_

Definition at line 312 of file DbAlgorithm.h.

◆ ler488_

float ler488_

Definition at line 313 of file DbAlgorithm.h.

◆ ler670_

float ler670_

Definition at line 314 of file DbAlgorithm.h.

◆ lOut_

lsOut lOut_

Definition at line 337 of file DbAlgorithm.h.

◆ mask_cm_

short mask_cm_

Definition at line 344 of file DbAlgorithm.h.

◆ mask_ha_smoke_

short mask_ha_smoke_

Definition at line 346 of file DbAlgorithm.h.

◆ mask_pyrocb_

short mask_pyrocb_

Definition at line 347 of file DbAlgorithm.h.

◆ mask_smoke_

short mask_smoke_

Definition at line 345 of file DbAlgorithm.h.

◆ pcloud_

float pcloud_ = 0.7
protected

Definition at line 354 of file DbAlgorithm.h.

◆ pteran_

float pteran_ = 0
protected

Definition at line 355 of file DbAlgorithm.h.

◆ pyrocb_

DbPyrocbMask* pyrocb_

Definition at line 342 of file DbAlgorithm.h.

◆ qdf412_

float qdf412_

Definition at line 315 of file DbAlgorithm.h.

◆ qdf488_

float qdf488_

Definition at line 316 of file DbAlgorithm.h.

◆ qdf670_

float qdf670_

Definition at line 317 of file DbAlgorithm.h.

◆ sca_

float sca_

Definition at line 309 of file DbAlgorithm.h.

◆ smoke_

DbSmokeMask* smoke_

Definition at line 340 of file DbAlgorithm.h.

◆ sr412_

float sr412_

Definition at line 318 of file DbAlgorithm.h.

◆ sr488_

float sr488_

Definition at line 319 of file DbAlgorithm.h.

◆ sr670_

float sr670_

Definition at line 320 of file DbAlgorithm.h.


The documentation for this class was generated from the following files:
  • /gfs-oceanweb/web/ocssw/ocssw_src/src/dtdb/deepblue/DbAlgorithm.h
  • /gfs-oceanweb/web/ocssw/ocssw_src/src/dtdb/deepblue/DbAlgLand.cpp