ocssw
V2022
|
#include <DtAlgorithm.h>
Public Member Functions | |
DtAlgOcean () | |
~DtAlgOcean () | |
int | initialize (map< string, ddata * > imap) |
vector< string > | get_products () |
map< string, ddata * > | process (vector< size_t > start, vector< size_t > count, map< string, ddata * > imap) |
Public Member Functions inherited from DtAlgorithm | |
DtAlgorithm () | |
virtual | ~DtAlgorithm () |
int | compute_gas_correction () |
int | fit_line (float x[], float y[], float sig[], int ndata, float &A, float &B) |
Public Member Functions inherited from DDAlgorithm | |
DDAlgorithm () | |
virtual | ~DDAlgorithm () |
Static Public Attributes | |
static constexpr float | THRHLD550 = 0.0025 |
static constexpr float | THRHLD470 = 0.4 |
static constexpr float | THRHLD138_1 = 0.03 |
static constexpr float | THRHLD138_2 = 0.005 |
static constexpr float | THRHLD_DUST = 0.75 |
static constexpr float | THRHLD_CIRRUS = 0.03 |
static constexpr float | Threshold_LSQ_Error = 3.7 |
static constexpr float | GLINT_ANGLE_THRESHOLD = 40.0 |
static constexpr float | LOW_THRESHOLD = -0.05 |
static constexpr float | HIGH_THRESHOLD = 5.0 |
static constexpr float | GLINT_REFL_THRESHOLD = 0.01570796326 |
static constexpr int | NUMCASES = 4 |
static constexpr int | NUMCASEB = 5 |
static constexpr int | NWAV = 7 |
static constexpr int | NAOT = 6 |
static constexpr int | NTH0 = 11 |
static constexpr int | NTHET = 16 |
static constexpr int | NPHI = 16 |
static constexpr int | NUM_ARRAY_ELEMENTS = 77 |
static constexpr int | NUM_SIZES = 2 |
static constexpr int | NUM_STATS = 2 |
Static Public Attributes inherited from DtAlgorithm | |
static constexpr int | LINE = 1 |
static constexpr int | GRIDX = LINE |
static constexpr int | GRIDY = LINE |
static constexpr int | NUM_CASES_SMALL = 4 |
static constexpr int | NUM_CASES_BIG = 5 |
static constexpr int | NUM_LUTS = 4 |
static constexpr int | NUM_LATS = 180 |
static constexpr int | NUM_LONS = 360 |
static constexpr float | MINMTHET0 =0.0 |
static constexpr float | MAXMTHET0 =80.0 |
static constexpr float | MINMTHET =0.0 |
static constexpr float | MAXMTHET =72.0 |
static constexpr float | MINMPHI =0.0 |
static constexpr float | MAXMPHI =180.0 |
static constexpr float | MAXTAU =5.0 |
static constexpr float | MINTAU =-0.01 |
static constexpr int | NUM_RFL_BANDS = 10 |
static constexpr int | DT_OWAVES = 7 |
static constexpr int | DT_LWAVES = 3 |
static constexpr int | MODIS_WAVES = 7 |
static constexpr int | VIIRS_WAVES = 3 |
static const float | wind_ [WIND_LUT_ENTRIES] |
static const float | pressure_ [P_LEVELS] |
Protected Member Functions | |
int | index_geometry (float sza, float azim, float phi) |
int | interpolate_rayleigh () |
int | interpolate_angles () |
int | compute_tau_flux (int iBig, int iSmall, int iSol) |
int | compute_avg_refl () |
int | compute_average_to_500m () |
int | store_reflectance () |
int | store_output () |
int | assign_quality () |
int | set_fill_out () |
int | average_output () |
int | compute_minimum (int iBig, int iSmall, int iSol) |
int | compute_minimum_baseline (int iBig, int iSmall, int iSol) |
float | fun_tau (float xmin, int iBig, int iSmall, int iSol) |
Protected Member Functions inherited from DtAlgorithm | |
int | interp_extrap (int num, float xin, float x[], float y[], float &yout) |
int | mean_std (int n, float *data, float &mean, float &sdev) |
int | mean_std_weighted (int n, float *data, float &mean, float &sdev, float *weight) |
int | sort_index (int numPts, float array[], int index[]) |
int | sort_inplace (int numPts, float array1[], float array2[]) |
int | set_byte (short val, short bitPos, short &target) |
int | compute_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 () |
Additional Inherited Members | |
Public Types inherited from DtAlgorithm | |
enum | SIZES { ISMALL, IBIG } |
enum | STATS { IBEST, IAVG } |
Protected Attributes inherited from DtAlgorithm | |
int | SZA_0_ |
int | SZA_1_ |
int | THE_0_ |
int | THE_1_ |
int | PHI_0_ |
int | PHI_1_ |
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] |
Detailed Description
Definition at line 203 of file DtAlgorithm.h.
Constructor & Destructor Documentation
◆ DtAlgOcean()
DtAlgOcean | ( | ) |
Class constructor
Definition at line 124 of file DtAlgOcean.cpp.
◆ ~DtAlgOcean()
~DtAlgOcean | ( | ) |
Class destructor
Definition at line 222 of file DtAlgOcean.cpp.
Member Function Documentation
◆ assign_quality()
|
protected |
This subroutine sets various quality flags
Definition at line 1500 of file DtAlgOcean.cpp.
◆ average_output()
|
protected |
Subroutine sorts according to minimum error and averages all variables of output
Definition at line 1165 of file DtAlgOcean.cpp.
◆ compute_average_to_500m()
|
protected |
Subroutine interpolates the lookup reflectances to the measured geometry.
◆ compute_avg_refl()
|
protected |
This subroutine processes 10*10 pixel box for cloud detection and finds the average reflectance for red and blue channels. Surface reflectance from wavelength 2.13 . This surface reflectance and average reflectance for red and blue channel are send to lookup table and optical thickness is derived
Definition at line 789 of file DtAlgOcean.cpp.
◆ compute_minimum()
|
protected |
This function computes a minimum value for aerosol retrieval algorithm.
Definition at line 1268 of file DtAlgOcean.cpp.
◆ compute_minimum_baseline()
|
protected |
This function computes a minimum value for aerosol retrieval algorithm.
Definition at line 1348 of file DtAlgOcean.cpp.
◆ compute_tau_flux()
|
protected |
This subroutine computes CCN, asymmetry factor, backscattering ratio, effective radius, effective variance, and optical thicknesses for large and small mode.
Definition at line 611 of file DtAlgOcean.cpp.
◆ fun_tau()
|
protected |
Function to be minimized
Definition at line 1416 of file DtAlgOcean.cpp.
◆ get_products()
Return a list of product names generated by the algorithm
Reimplemented from DtAlgorithm.
Definition at line 360 of file DtAlgorithm.h.
◆ index_geometry()
|
protected |
Reset LUT indices based on measured geometry
Definition at line 383 of file DtAlgOcean.cpp.
◆ initialize()
Initialize Input data
Reimplemented from DtAlgorithm.
Definition at line 237 of file DtAlgOcean.cpp.
◆ interpolate_angles()
|
protected |
Subroutine interpolates the lookup reflectances to the measured geometry.
Definition at line 461 of file DtAlgOcean.cpp.
◆ interpolate_rayleigh()
|
protected |
Subroutine interpolates the lookup Rayleigh reflectances to the measured geometry.
Definition at line 406 of file DtAlgOcean.cpp.
◆ process()
|
virtual |
Compute ocean aerosol dark target algorithm
Reimplemented from DtAlgorithm.
Definition at line 261 of file DtAlgOcean.cpp.
◆ set_fill_out()
|
protected |
This subroutine stores fill values where required.
Definition at line 1569 of file DtAlgOcean.cpp.
◆ store_output()
|
protected |
This subroutine stores output values to be written to output file.
Definition at line 1073 of file DtAlgOcean.cpp.
◆ store_reflectance()
|
protected |
This subroutine stores reflectance values to be written to output file.
Definition at line 1037 of file DtAlgOcean.cpp.
Member Data Documentation
◆ albedo_R_big_tau_
float albedo_R_big_tau_[NWAV][NUM_CASES_BIG][NAOT] |
Definition at line 249 of file DtAlgorithm.h.
◆ albedo_R_small_tau_
float albedo_R_small_tau_[NWAV][NUM_CASES_SMALL][NAOT] |
Definition at line 248 of file DtAlgorithm.h.
◆ albedo_T_big_tau_
float albedo_T_big_tau_[NWAV][NUM_CASES_BIG][NAOT] |
Definition at line 251 of file DtAlgorithm.h.
◆ albedo_T_small_tau_
float albedo_T_small_tau_[NWAV][NUM_CASES_SMALL][NAOT] |
Definition at line 250 of file DtAlgorithm.h.
◆ angstrom_exp_
Definition at line 267 of file DtAlgorithm.h.
◆ angstrom_exp_avg_
Definition at line 288 of file DtAlgorithm.h.
◆ assym_
Definition at line 264 of file DtAlgorithm.h.
◆ assym_avg_
Definition at line 285 of file DtAlgorithm.h.
◆ backscatter_
Definition at line 263 of file DtAlgorithm.h.
◆ backscatter_avg_
Definition at line 284 of file DtAlgorithm.h.
◆ ccn_
Definition at line 269 of file DtAlgorithm.h.
◆ ccn_avg_
float ccn_avg_[NUM_STATS] |
Definition at line 290 of file DtAlgorithm.h.
◆ cm_
DtCloudMaskOcean* cm_ |
Definition at line 235 of file DtAlgorithm.h.
◆ eff_radius_
Definition at line 270 of file DtAlgorithm.h.
◆ eff_radius_avg_
float eff_radius_avg_[NUM_STATS] |
Definition at line 291 of file DtAlgorithm.h.
◆ eff_variance_
Definition at line 271 of file DtAlgorithm.h.
◆ eff_variance_avg_
float eff_variance_avg_[NUM_STATS] |
Definition at line 292 of file DtAlgorithm.h.
◆ error_
Definition at line 276 of file DtAlgorithm.h.
◆ funmin_
Definition at line 274 of file DtAlgorithm.h.
◆ funmin_avg_
float funmin_avg_[NUM_STATS] |
Definition at line 295 of file DtAlgorithm.h.
◆ GLINT_ANGLE_THRESHOLD
|
staticconstexpr |
Definition at line 216 of file DtAlgorithm.h.
◆ GLINT_REFL_THRESHOLD
|
staticconstexpr |
Definition at line 220 of file DtAlgorithm.h.
◆ good_pixels_
int good_pixels_[NWAV] |
Definition at line 257 of file DtAlgorithm.h.
◆ HIGH_THRESHOLD
|
staticconstexpr |
Definition at line 219 of file DtAlgorithm.h.
◆ LOW_THRESHOLD
|
staticconstexpr |
Definition at line 218 of file DtAlgorithm.h.
◆ lut_
dtOceanAerosolLUT lut_ |
Definition at line 234 of file DtAlgorithm.h.
◆ mass_con_ocean_
Definition at line 272 of file DtAlgorithm.h.
◆ mass_con_ocean_avg_
float mass_con_ocean_avg_[NUM_STATS] |
Definition at line 293 of file DtAlgorithm.h.
◆ NAOT
|
staticconstexpr |
Definition at line 225 of file DtAlgorithm.h.
◆ NPHI
|
staticconstexpr |
Definition at line 228 of file DtAlgorithm.h.
◆ NTH0
|
staticconstexpr |
Definition at line 226 of file DtAlgorithm.h.
◆ NTHET
|
staticconstexpr |
Definition at line 227 of file DtAlgorithm.h.
◆ NUM_ARRAY_ELEMENTS
|
staticconstexpr |
Definition at line 229 of file DtAlgorithm.h.
◆ NUM_SIZES
|
staticconstexpr |
Definition at line 230 of file DtAlgorithm.h.
◆ NUM_STATS
|
staticconstexpr |
Definition at line 231 of file DtAlgorithm.h.
◆ NUMCASEB
|
staticconstexpr |
Definition at line 223 of file DtAlgorithm.h.
◆ NUMCASES
|
staticconstexpr |
Definition at line 222 of file DtAlgorithm.h.
◆ numData_
int numData_[NWAV] |
Definition at line 256 of file DtAlgorithm.h.
◆ NWAV
|
staticconstexpr |
Definition at line 224 of file DtAlgorithm.h.
◆ qcontrol_
short qcontrol_ |
Definition at line 299 of file DtAlgorithm.h.
◆ qcontrol_cirrus_
short qcontrol_cirrus_ |
Definition at line 302 of file DtAlgorithm.h.
◆ qcontrol_exclude_
short qcontrol_exclude_ |
Definition at line 300 of file DtAlgorithm.h.
◆ qcontrol_special_
short qcontrol_special_ |
Definition at line 301 of file DtAlgorithm.h.
◆ quality_dust_flag_glint_
short quality_dust_flag_glint_ |
Definition at line 303 of file DtAlgorithm.h.
◆ quality_dust_flag_off_glint_
short quality_dust_flag_off_glint_ |
Definition at line 304 of file DtAlgorithm.h.
◆ quality_flag_
short quality_flag_[12] |
Definition at line 306 of file DtAlgorithm.h.
◆ quality_to_pass_
short quality_to_pass_[2] |
Definition at line 305 of file DtAlgorithm.h.
◆ refl_
float refl_[NWAV] |
Definition at line 254 of file DtAlgorithm.h.
◆ refl_avg_
float refl_avg_[NWAV] |
Definition at line 279 of file DtAlgorithm.h.
◆ refl_big_
float refl_big_[NWAV][NUM_CASES_BIG][NAOT] |
Definition at line 244 of file DtAlgorithm.h.
◆ refl_flux_
Definition at line 265 of file DtAlgorithm.h.
◆ refl_flux_avg_
Definition at line 286 of file DtAlgorithm.h.
◆ refl_rayl_
float refl_rayl_[NWAV] |
Definition at line 241 of file DtAlgorithm.h.
◆ refl_small_
float refl_small_[NWAV][NUM_CASES_SMALL][NAOT] |
Definition at line 245 of file DtAlgorithm.h.
◆ sdev_
float sdev_[NWAV] |
Definition at line 255 of file DtAlgorithm.h.
◆ sdev_avg_
float sdev_avg_[NWAV] |
Definition at line 280 of file DtAlgorithm.h.
◆ sds_Angs_Coeff1_
float sds_Angs_Coeff1_[NUM_SIZES] |
Definition at line 335 of file DtAlgorithm.h.
◆ sds_Angs_Coeff2_
float sds_Angs_Coeff2_[NUM_SIZES] |
Definition at line 336 of file DtAlgorithm.h.
◆ sds_AOT_model_
Definition at line 339 of file DtAlgorithm.h.
◆ sds_assy_avg_
float sds_assy_avg_[NWAV] |
Definition at line 319 of file DtAlgorithm.h.
◆ sds_assy_best_
float sds_assy_best_[NWAV] |
Definition at line 318 of file DtAlgorithm.h.
◆ sds_back_avg_
float sds_back_avg_[NWAV] |
Definition at line 321 of file DtAlgorithm.h.
◆ sds_back_best_
float sds_back_best_[NWAV] |
Definition at line 320 of file DtAlgorithm.h.
◆ sds_CCN_
float sds_CCN_[NUM_SIZES] |
Definition at line 338 of file DtAlgorithm.h.
◆ sds_EffRad_
float sds_EffRad_[NUM_SIZES] |
Definition at line 331 of file DtAlgorithm.h.
◆ sds_EffVar_
float sds_EffVar_[NUM_SIZES] |
Definition at line 332 of file DtAlgorithm.h.
◆ sds_land_ocean_quality_
short sds_land_ocean_quality_ |
Definition at line 340 of file DtAlgorithm.h.
◆ sds_Least_Error_
float sds_Least_Error_[NUM_SIZES] |
Definition at line 329 of file DtAlgorithm.h.
◆ sds_Mass_Conc_
float sds_Mass_Conc_[NUM_SIZES] |
Definition at line 337 of file DtAlgorithm.h.
◆ sds_numPixels_
short sds_numPixels_[NWAV] |
Definition at line 311 of file DtAlgorithm.h.
◆ sds_reff_avg_
float sds_reff_avg_[NWAV] |
Definition at line 323 of file DtAlgorithm.h.
◆ sds_reff_best_
float sds_reff_best_[NWAV] |
Definition at line 322 of file DtAlgorithm.h.
◆ sds_refl_
float sds_refl_[NWAV] |
Definition at line 309 of file DtAlgorithm.h.
◆ sds_refl_sdev_
float sds_refl_sdev_[NWAV] |
Definition at line 310 of file DtAlgorithm.h.
◆ sds_Small_Weighting_
float sds_Small_Weighting_[NUM_SIZES] |
Definition at line 328 of file DtAlgorithm.h.
◆ sds_Sol_Index_Large_
short sds_Sol_Index_Large_[NUM_SIZES] |
Definition at line 334 of file DtAlgorithm.h.
◆ sds_Sol_Index_Small_
short sds_Sol_Index_Small_[NUM_SIZES] |
Definition at line 333 of file DtAlgorithm.h.
◆ sds_tau_avg_
float sds_tau_avg_[NWAV] |
Definition at line 313 of file DtAlgorithm.h.
◆ sds_tau_best_
float sds_tau_best_[NWAV] |
Definition at line 312 of file DtAlgorithm.h.
◆ sds_tau_big_avg_
float sds_tau_big_avg_[NWAV] |
Definition at line 315 of file DtAlgorithm.h.
◆ sds_tau_big_best_
float sds_tau_big_best_[NWAV] |
Definition at line 314 of file DtAlgorithm.h.
◆ sds_Tau_Land_Ocean_
float sds_Tau_Land_Ocean_ |
Definition at line 326 of file DtAlgorithm.h.
◆ sds_Tau_Land_Ocean_img_
float sds_Tau_Land_Ocean_img_ |
Definition at line 327 of file DtAlgorithm.h.
◆ sds_tau_small_avg_
float sds_tau_small_avg_[NWAV] |
Definition at line 317 of file DtAlgorithm.h.
◆ sds_tau_small_best_
float sds_tau_small_best_[NWAV] |
Definition at line 316 of file DtAlgorithm.h.
◆ sds_tau_X55_
float sds_tau_X55_[NUM_SIZES] |
Definition at line 330 of file DtAlgorithm.h.
◆ sds_tranf_avg_
float sds_tranf_avg_[NWAV] |
Definition at line 325 of file DtAlgorithm.h.
◆ sds_tranf_best_
float sds_tranf_best_[NWAV] |
Definition at line 324 of file DtAlgorithm.h.
◆ solution_index_
Definition at line 268 of file DtAlgorithm.h.
◆ solution_index_avg_
Definition at line 289 of file DtAlgorithm.h.
◆ tau_
Definition at line 260 of file DtAlgorithm.h.
◆ tau_avg_
Definition at line 281 of file DtAlgorithm.h.
◆ tau_big_
Definition at line 262 of file DtAlgorithm.h.
◆ tau_big_avg_
Definition at line 283 of file DtAlgorithm.h.
◆ tau_small_
Definition at line 261 of file DtAlgorithm.h.
◆ tau_small_avg_
Definition at line 282 of file DtAlgorithm.h.
◆ tau_X55_
Definition at line 275 of file DtAlgorithm.h.
◆ tau_X55_avg_
float tau_X55_avg_[NUM_STATS] |
Definition at line 296 of file DtAlgorithm.h.
◆ Threshold_LSQ_Error
|
staticconstexpr |
Definition at line 214 of file DtAlgorithm.h.
◆ THRHLD138_1
|
staticconstexpr |
Definition at line 210 of file DtAlgorithm.h.
◆ THRHLD138_2
|
staticconstexpr |
Definition at line 211 of file DtAlgorithm.h.
◆ THRHLD470
|
staticconstexpr |
Definition at line 209 of file DtAlgorithm.h.
◆ THRHLD550
|
staticconstexpr |
Definition at line 208 of file DtAlgorithm.h.
◆ THRHLD_CIRRUS
|
staticconstexpr |
Definition at line 213 of file DtAlgorithm.h.
◆ THRHLD_DUST
|
staticconstexpr |
Definition at line 212 of file DtAlgorithm.h.
◆ trans_flux_
Definition at line 266 of file DtAlgorithm.h.
◆ trans_flux_avg_
Definition at line 287 of file DtAlgorithm.h.
◆ xmin_
Definition at line 273 of file DtAlgorithm.h.
◆ xmin_avg_
float xmin_avg_[NUM_STATS] |
Definition at line 294 of file DtAlgorithm.h.
The documentation for this class was generated from the following files:
- /gfs-oceanweb/web/ocssw/ocssw_src/src/dtdb/darktarget/DtAlgorithm.h
- /gfs-oceanweb/web/ocssw/ocssw_src/src/dtdb/darktarget/DtAlgOcean.cpp