OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
VcstPolarStereographicDataSet.h
Go to the documentation of this file.
1 /**************************************************************************
2  *
3  * NAME: VcstPolarStereographicDataSet
4  *
5  * DESCRIPTION: See description preceding class declaration below
6  *
7  *
8  **************************************************************************/
9 
10 #ifndef _VcstPolarStereographicDataSet_H_
11 #define _VcstPolarStereographicDataSet_H_
12 
13 //#include <ProCmnDefs.h>
14 //#include <ProCmnMessage.h>
15 #include <string>
16 #include <VcstMapDataSet.h>
17 
45 public:
46 
62  Hemisphere theHemisphere,
63  double upperLeftLatitude,
64  double upperLeftLongitude,
65  double lowerRightLatitude,
66  double lowerRightLongitude,
67  int heightInPixels,
68  int widthInPixels
69  );
70 
71 
81  /* virtual */
82  int gridToLatLon(
83  double row,
84  double col,
85  double* rlat,
86  double* rlon
87  );
88 
98  /* virtual */
99  int latLonToGrid(
100  double rlat,
101  double rlon,
102  double* row,
103  double* column
104  );
105 
106 
107 
108 private:
109 
113  // std::string msgStr_;
114  char msgStr_[255];
115 
119  // ProCmnMessage* message_;
120 
125  int dbgMsgThrottle1_;
126  int dbgMsgThrottle2_;
127  int dbgMsgThrottle3_;
128  int dbgMsgThrottle4_;
129 
135  bool isNorthernHemis();
136 
142  int findLatLonRanges();
143 
144 
145 };
146 
147 #endif
int gridToLatLon(double row, double col, double *rlat, double *rlon)
VcstPolarStereographicDataSet(Hemisphere theHemisphere, double upperLeftLatitude, double upperLeftLongitude, double lowerRightLatitude, double lowerRightLongitude, int heightInPixels, int widthInPixels)
int latLonToGrid(double rlat, double rlon, double *row, double *column)
Hemisphere