OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
VcstGeoAncInputItem.h
Go to the documentation of this file.
1 /**************************************************************************
2  *
3  * NAME: VcstGeoAncInputItem
4  *
5  * DESCRIPTION: See description preceding class declaration below
6  *
7  * REFERENCES:
8  * none
9  *
10  * LIMITATIONS:
11  * none
12  *
13  * NOTES (MISCELLANEOUS) SECTION:
14  * none
15  *
16  * --------- -------- -----------------------------------
17  * <header review information>
18  *
19  **************************************************************************/
20 
21 #ifndef _VcstGeoAncInputItem_h_
22 #define _VcstGeoAncInputItem_h_
23 
24 #include <string>
25 #include <map>
26 
27 
28 #include <VcstLutInputItem.h>
29 
30 #include <netcdf>
31 using namespace netCDF;
32 using namespace netCDF::exceptions;
33 
41 public:
42 
50  VcstGeoAncInputItem(const std::string& groupName,
51  size_t size,
52  const std::string& tileId);
53 
57  virtual ~VcstGeoAncInputItem();
58 
59 
67  virtual int setCSN();
68 
72  const std::string& getTileId() const;
73 
77  void setTileId(const std::string& tileId);
78 
84  virtual int getData();
85 
86 protected:
87 
92  virtual bool isItemOkForIO();
93 
94 
98  virtual int convertEndianness();
99 
104  virtual int readNetCDF();
105 
106 private:
107 
112 
117 
121  VcstGeoAncInputItem& operator=(const VcstGeoAncInputItem& right);
122 
127 
128  //Map to store terrain DEM tiles.
129  std::map<std::string, std::string> ecoTileMap;
130 
131  int setTerrainTileMap();
132  bool demBigEndian;
133  bool demNetcdf;
134 
138  std::string tileId_;
139 
140 };
141 
142 
143 #endif
@ string
def readMetadata(filename)
Definition: MetaUtils.py:201
string filepath
Definition: color_dtdb.py:207