MDAL
mdal_gdal_netcdf.hpp
1 /*
2  MDAL - Mesh Data Abstraction Library (MIT License)
3  Copyright (C) 2018 Peter Petrik (zilolv at gmail dot com)
4 */
5 
6 #ifndef MDAL_GDAL_NETCDF_HPP
7 #define MDAL_GDAL_NETCDF_HPP
8 
9 #include <string>
10 
11 #include "mdal_gdal.hpp"
12 #include "mdal_data_model.hpp"
13 #include "mdal.h"
14 #include "mdal_driver.hpp"
15 
16 namespace MDAL
17 {
18 
20  {
21  public:
23  ~DriverGdalNetCDF( ) override = default;
24  DriverGdalNetCDF *create() override;
25 
26  private:
27  std::string GDALFileName( const std::string &fileName ) override;
28  bool parseBandInfo( const MDAL::GdalDataset *cfGDALDataset,
29  const metadata_hash &metadata, std::string &band_name,
30  MDAL::RelativeTimestamp *time, bool *is_vector, bool *is_x
31  ) override;
32  void parseGlobals( const metadata_hash &metadata ) override;
33 
34  MDAL::DateTime referenceTime() const override;
35 
36  RelativeTimestamp::Unit mTimeUnit;
38  DateTime mRefTime;
39  };
40 
41 } // namespace MDAL
42 #endif // MDAL_GDAL_NETCDF_HPP
Definition: mdal_datetime.hpp:48
Definition: mdal_gdal_netcdf.hpp:20
Definition: mdal_gdal.hpp:52
Definition: mdal_gdal.hpp:24
Definition: mdal_datetime.hpp:18