26 #ifndef DAP_DATASET_H_ 27 #define DAP_DATASET_H_ 30 #include "AbstractDataset.h" 78 string m_ncLatDataSetName;
79 string m_ncLonDataSetName;
80 string m_ncCoverageIDName;
89 int mi_RectifiedImageXSize;
90 int mi_RectifiedImageYSize;
94 double mb_LatLonBBox[4];
101 double m_geo_transform_coef[6];
103 vector<GDAL_GCP> m_gdalGCPs;
106 CPLErr SetGCPGeoRef4VRTDataset(GDALDataset*);
107 void SetGeoBBoxAndGCPs(
int xSize,
int ySize);
108 CPLErr RectifyGOESDataSet();
109 CPLErr setResampleStandard(GDALDataset* hSrcDS,
int& xRSValue,
int& yRSValue);
111 int isValidLatitude(
const double &lat)
113 return (lat >= -90 && lat <= 90);
115 int isValidLongitude(
const double &lon)
117 return (lon >= -180 && lon <= 180);
120 virtual CPLErr SetGeoTransform();
122 virtual CPLErr SetMetaDataList(GDALDataset* hSrcDS);
124 virtual CPLErr SetNativeCRS();
125 virtual CPLErr SetGDALDataset(
const int isSimple = 0);
126 virtual CPLErr InitialDataset(
const int isSimple = 0);
127 virtual CPLErr GetGeoMinMax(
double geoMinMax[]);
131 DAP_Dataset(
const string&
id, vector<int> &rBandList);
135 Array *GetDAPArray();
DAP_Dataset is a subclass of AbstractDataset, used to process NOAA GOES data.
Abstract dataset model definition. Based on GDAL dataset model.