OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
CldMask.h
Go to the documentation of this file.
1 /*
2  * CldMask.h
3  *
4  * Created on: April 3, 2021
5  * Author: ssander2
6  */
7 
8 #ifndef INCLUDE_CLDMASK_H_
9 #define INCLUDE_CLDMASK_H_
10 
11 class DDAlgorithm;
12 
14 {
15 public:
16  // algorithm thresholds
17  static constexpr float M01_STDV_THOLD = 0.0025;
18  static constexpr float M08_STDV_THOLD = 0.0025;
19  static constexpr float M08_HILAT_STDV_THOLD = 0.001;
20  static constexpr float M09_THOLD = 0.004;
21  static constexpr float M03_THOLD = 0.11;
22 
23  static constexpr float THRHLD550_STD = 0.0025;
24  static constexpr float THRHLD470 = 0.4;
25  static constexpr float THRHLD138 = 0.03;
26  static constexpr float THRHLD138_LOW = 0.005;
27  static constexpr float THRHLD_DUST = 0.75;
28  static constexpr float THRHLD_CIRRUS = 0.3;
29 
33  CldMaskOcean();
34  CldMaskOcean(DDAlgorithm* process);
35  ~CldMaskOcean();
36 
40  int initialize();
41 
45  int compute( unsigned char& mask );
46 
47 protected:
48 
50 
51 };
52 
53 
55 {
56 public:
57 
58  // algorithm thresholds
59  static constexpr float THRHLD1380_STD = 0.003;
60  static constexpr float THRHLD1380 = 0.025;
61  static constexpr float THRHLD1380_LOW = 0.01;
62  static constexpr float THRHLD470_STD = 0.0025;
63  static constexpr float THRHLD470 = 0.4;
64 
65  unsigned char snowmask_;
66 
70  CldMaskLand();
71  CldMaskLand(DDAlgorithm* process);
72  ~CldMaskLand ();
73 
77  int initialize();
78 
82  int compute( unsigned char& mask );
83 
84  unsigned char mask_cirrus_;
85 
86 protected:
87 
89 };
90 
91 
92 #endif /* INCLUDE_CLDMASK_H_ */
static constexpr float THRHLD138
Definition: CldMask.h:25
static constexpr float THRHLD470
Definition: CldMask.h:24
static constexpr float THRHLD1380
Definition: CldMask.h:60
static constexpr float THRHLD1380_LOW
Definition: CldMask.h:61
static constexpr float THRHLD1380_STD
Definition: CldMask.h:59
static constexpr float M03_THOLD
Definition: CldMask.h:21
DDAlgorithm * p_
Definition: CldMask.h:88
int compute(unsigned char &mask)
Definition: CldMask.cpp:239
~CldMaskLand()
Definition: CldMask.cpp:51
static constexpr float THRHLD138_LOW
Definition: CldMask.h:26
static constexpr float M09_THOLD
Definition: CldMask.h:20
static constexpr float THRHLD_DUST
Definition: CldMask.h:27
a context in which it is NOT documented to do so subscript which cannot be easily calculated when extracting TONS attitude data from the Terra L0 files Corrected several defects in extraction of entrained ephemeris and and as HDF file for both the L1A and Geolocation enabling retrieval of South Polar DEM data Resolved Bug by changing to opent the geolocation file only after a successful read of the L1A and also by checking for fatal errors from not restoring C5 and to report how many of those high resolution values were water in the new WaterPresent SDS Added valid_range attribute to Land SeaMask Changed to bilinearly interpolate the geoid_height to remove artifacts at one degree lines Made corrections to const qualification of pointers allowed by new version of M API library Removed casts that are no longer for same not the geoid Corrected off by one error in calculation of high resolution offsets Corrected parsing of maneuver list configuration parameter Corrected to set Height SDS to fill values when geolocation when for elevation and land water mask
Definition: HISTORY.txt:114
static constexpr float THRHLD550_STD
Definition: CldMask.h:23
unsigned char mask_cirrus_
Definition: CldMask.h:84
static constexpr float M08_HILAT_STDV_THOLD
Definition: CldMask.h:19
static constexpr float M01_STDV_THOLD
Definition: CldMask.h:17
int initialize()
Definition: CldMask.cpp:62
static constexpr float M08_STDV_THOLD
Definition: CldMask.h:18
DDAlgorithm * p_
Definition: CldMask.h:49
int compute(unsigned char &mask)
Definition: CldMask.cpp:88
static constexpr float THRHLD470
Definition: CldMask.h:63
int initialize()
Definition: CldMask.cpp:226
static constexpr float THRHLD_CIRRUS
Definition: CldMask.h:28
static constexpr float THRHLD470_STD
Definition: CldMask.h:62
unsigned char snowmask_
Definition: CldMask.h:65