OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
DbMask.h
Go to the documentation of this file.
1 /*
2  * DbMask.h
3  *
4  * Created on: Jul 15, 2018
5  * Author: ssander2
6  */
7 
8 #ifndef INCLUDE_DBMASK_H_
9 #define INCLUDE_DBMASK_H_
10 
11 #include "deepblue/DbAlgorithm.h"
12 
13 class DDProcess;
14 class DbAlgLand;
15 class DbAlgOcean;
16 
18 {
19 public:
20 
25 
28 
30 
34  int compute_1( const size_t iy, const size_t ix, short& mask,
35  short& snow1, short& snow2);
36  int compute_2( const size_t iy, const size_t ix, short& mask,
37  const short snow2 );
38 
39 protected:
40 
42 };
43 
45 {
46 public:
47 
51  DbSmokeMask();
53  ~DbSmokeMask ();
54 
58  int compute( const size_t iy, const size_t ix, short& mask );
59 
60 protected:
61 
63 };
64 
65 
67 {
68 public:
69 
73  DbPyrocbMask();
75  ~DbPyrocbMask ();
76 
80  int compute( const size_t iy, const size_t ix, short& mask );
81 
82 protected:
83 
85 
86 };
87 
88 
90 {
91 public:
92 
99 
104  int compute( const size_t iy, const size_t ix, short& mask );
105 
106 protected:
107 
109 };
110 
112 {
113 public:
114  static constexpr float M01_STDV_THOLD = 0.0025;
115  static constexpr float M08_STDV_THOLD = 0.0025;
116  static constexpr float M08_HILAT_STDV_THOLD = 0.001;
117  static constexpr float M09_THOLD = 0.004;
118  static constexpr float M03_THOLD = 0.11;
119 
124  DbCloudMaskOcean(DbAlgOcean* process);
126 
131  int compute( short& mask );
132 
133 protected:
134 
136 
137 };
138 
139 #endif /* INCLUDE_DBMASK_H_ */
static constexpr float M08_STDV_THOLD
Definition: DbMask.h:115
DbAlgLand * p_
Definition: DbMask.h:108
static constexpr float M08_HILAT_STDV_THOLD
Definition: DbMask.h:116
static constexpr float M03_THOLD
Definition: DbMask.h:118
DbAlgLand * p_
Definition: DbMask.h:41
int compute(const size_t iy, const size_t ix, short &mask)
Definition: DbMask.cpp:431
static constexpr float M01_STDV_THOLD
Definition: DbMask.h:114
MOD_PR02 Error Meanings and Operator specific error codes that may be generated by the general meaning of these error codes and probably from the MOD01 granule
~DbSmokeMask()
Definition: DbMask.cpp:319
DbAlgLand * p_
Definition: DbMask.h:62
DbAlgOcean * p_
Definition: DbMask.h:135
static constexpr float M09_THOLD
Definition: DbMask.h:117
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
int compute(const size_t iy, const size_t ix, short &mask)
Definition: DbMask.cpp:329
int compute(short &mask)
Definition: DbMask.cpp:588
int compute(const size_t iy, const size_t ix, short &mask)
Definition: DbMask.cpp:476
int compute_2(const size_t iy, const size_t ix, short &mask, const short snow2)
Definition: DbMask.cpp:197
DbAlgLand * p_
Definition: DbMask.h:84
int compute_1(const size_t iy, const size_t ix, short &mask, short &snow1, short &snow2)
Definition: DbMask.cpp:50