OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
VcstCmnLutInputItem.h
Go to the documentation of this file.
1 /*******************************************************************************
2  *
3  * NAME: VcstCmnLutInputItem
4  *
5  * DESCRIPTION: Subclass of the VcstLutInputItem object class to support
6  * reading netCDF LUT files.
7  *
8  * Created on: June 18, 2015
9  * Author: Sam Anderson, VCST
10  *
11  *
12  *******************************************************************************/
13 
14 #ifndef VcstCmnLutInputItem_h
15 #define VcstCmnLutInputItem_h
16 
17 #include <netcdf>
18 #include <VcstLutInputItem.h>
19 
20 using namespace std;
21 using namespace netCDF;
22 using namespace netCDF::exceptions;
23 
25 public:
26 
30  VcstCmnLutInputItem(const std::string& groupName, size_t size);
31 
35  virtual ~VcstCmnLutInputItem();
36 
40  int getData();
41 
42 protected:
43 
48  int readNetCDF();
49 
50  int read_CMNGEO_PLATFORM_LUT(NcFile* nc_input);
51 
52  int read_CMNGEO_JPL_EPHEM(NcFile* nc_input);
53 
54  int read_CMNGEO_SAA_COEFF(NcFile* nc_input);
55 
56  int read_CMNGEO_PARAM(NcFile* nc_input);
57 
58  int read_VIIRS_SOLAR_DIFF_VOLT_LUT(NcFile* nc_input);
59 
60  int read_VIIRS_SOLAR_DIFF_ROT_MATRIX_LUT(NcFile* nc_input);
61 
62  int read_SDR_QA_LUT(NcFile* nc_input);
63 
68  int convertEndianness();
69 
70  int convert_CMNGEO_JPL_EPHEM();
71 
72  int convert_CMNGEO_SAA_COEFF();
73 
74  int convert_CMNGEO_PARAM();
75 
76  int convert_VIIRS_SOLAR_DIFF_VOLT_LUT();
77 
78  int convert_VIIRS_SOLAR_DIFF_ROT_MATRIX_LUT();
79 
80  int convert_SDR_QA_LUT();
81 };
82 
83 #endif
@ string