Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef GMAOFILEDATA_H
00021 #define GMAOFILEDATA_H
00022
00023 #include "meteofiledata.h"
00024 #include "hdffiledata.h"
00025
00042 class GMAOFileData : virtual public FileData, public MeteoFileData, public HDFFileData {
00044 static const std::string latitude_name;
00046 static const std::string longitude_name;
00048 static const std::string height_name;
00050 static const std::string time_name;
00052 int geos_version;
00054 string product_id;
00055
00059 void init();
00065 void set_geos_version(const int geos_version);
00066 public:
00072 GMAOFileData(const string& name = "", const int geos_version=0);
00076 ~GMAOFileData();
00083 void get_sds_fill_value(const string &sds_name, void* fill_value);
00084
00089 string get_product_id() const {
00090 return product_id;
00091 }
00096 int get_geos_version() const {
00097 return geos_version;
00098 }
00099
00100 protected:
00104 int lat_lon_index_max[2];
00110 bool check_filename( const string& short_filename ) const;
00117 void parse_filename( const string& short_filename );
00122 void load_height_level();
00127 void load_time_level();
00128 };
00129
00130 #endif