OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
DbMaskOCI.h
Go to the documentation of this file.
1 /*
2  * DbMaskOCI.h
3  *
4  * Created on: Jul 15, 2018
5  * Author: ssander2
6  */
7 
8 #ifndef INCLUDE_DBMASKOCI_H_
9 #define INCLUDE_DBMASKOCI_H_
10 
11 #include "deepblue/DbProcess.h"
12 
13 class DbProcessLand;
14 class DbProcessOcean;
15 
17 {
18 public:
19 
24  DbCloudMaskLandOCI(DbProcessLand* proc);
26 
30  int compute_1();
31  int compute_2();
32 
33  int compute_1( const int iy, const int ix, short& mask,
34  short& snow1, short& snow2);
35  int compute_2( const int iy, const int ix, short& mask,
36  const short snow2 );
37 
38 protected:
39  DbProcessLand* p_;
40 
41 };
42 
44 {
45 public:
46 
51 
52  DbSmokeMaskOCI(DbProcessLand* proc);
53 
54  ~DbSmokeMaskOCI ();
55 
59  int compute();
60 
61  int compute( const int iy, const int ix, short& mask );
62 
63 protected:
64 
65  DbProcessLand* p_;
66 
67 };
68 
69 
70 class DbPyrocbMaskOCI : public Mask
71 {
72 public:
73 
78 
79  DbPyrocbMaskOCI(DbProcessLand* proc);
80 
82 
86  int compute( const int iy, const int ix, short& mask );
87 
88 protected:
89  DbProcessLand* p_;
90 
91 };
92 
93 
94 class DbHighAltSmokeMaskOCI : public Mask
95 {
96 public:
97 
102  DbHighAltSmokeMaskOCI(DbProcessLand* proc);
104 
108  int compute( const int iy, const int ix, short& mask );
109 
110 protected:
111 
112  DbProcessLand* p_;
113 };
114 
116 {
117 public:
118  static constexpr float M01_STDV_THOLD = 0.0025;
119  static constexpr float M08_STDV_THOLD = 0.0025;
120  static constexpr float M08_HILAT_STDV_THOLD = 0.001;
121  static constexpr float M09_THOLD = 0.004;
122  static constexpr float M03_THOLD = 0.11;
123 
128  DbCloudMaskOceanOCI(DbProcessOcean* proc);
130 
135  int compute( const int iy, const int ix, short& mask );
136 
137 protected:
138 
139  DbProcessOcean* p_;
140 
141 };
142 
143 #endif /* INCLUDE_DBMASK_H_ */
int compute(const int iy, const int ix, short &mask)
Definition: DbMaskOCI.cpp:577
static constexpr float M03_THOLD
Definition: DbMaskOCI.h:122
DbProcessOcean * p_
Definition: DbMaskOCI.h:139
static constexpr float M01_STDV_THOLD
Definition: DbMaskOCI.h:118
int compute(const int iy, const int ix, short &mask)
Definition: DbMaskOCI.cpp:530
DbProcessLand * p_
Definition: DbMaskOCI.h:39
static constexpr float M09_THOLD
Definition: DbMaskOCI.h:121
DbProcessLand * p_
Definition: DbMaskOCI.h:89
static constexpr float M08_STDV_THOLD
Definition: DbMaskOCI.h:119
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 M08_HILAT_STDV_THOLD
Definition: DbMaskOCI.h:120
DbProcessLand * p_
Definition: DbMaskOCI.h:65
int compute(const int iy, const int ix, short &mask)
Definition: DbMaskOCI.cpp:695
DbProcessLand * p_
Definition: DbMaskOCI.h:112