1 | #ifndef __XIOS_INETCDF4_IMPL__ |
---|
2 | #define __XIOS_INETCDF4_IMPL__ |
---|
3 | |
---|
4 | #include "inetcdf4.hpp" |
---|
5 | #include "netCdfInterface.hpp" |
---|
6 | |
---|
7 | // mpi_std.hpp |
---|
8 | |
---|
9 | namespace xios |
---|
10 | { |
---|
11 | const StdString CFLatUnits[] = {"degrees_north", "degree_north", "degree_N", "degrees_N", "degreeN", "degreesN"}; |
---|
12 | const StdString CFLonUnits[] = {"degrees_east", "degree_east", "degree_E", "degrees_E", "degreeE", "degreesE"}; |
---|
13 | |
---|
14 | struct CCFKeywords |
---|
15 | { |
---|
16 | static const StdString XIOS_CF_units; |
---|
17 | static const StdString XIOS_CF_standard_name; |
---|
18 | static const StdString XIOS_CF_coordinates; |
---|
19 | static const StdString XIOS_CF_bounds; |
---|
20 | }; |
---|
21 | const StdString CCFKeywords::XIOS_CF_units("units"); |
---|
22 | const StdString CCFKeywords::XIOS_CF_standard_name("standard_name"); |
---|
23 | const StdString CCFKeywords::XIOS_CF_coordinates("coordinates"); |
---|
24 | const StdString CCFKeywords::XIOS_CF_bounds("bounds"); |
---|
25 | |
---|
26 | struct CCFConvention |
---|
27 | { |
---|
28 | static const std::set<StdString> XIOS_CF_Latitude_units; |
---|
29 | static const std::set<StdString> XIOS_CF_Longitude_units; |
---|
30 | |
---|
31 | private: |
---|
32 | CCFConvention(); |
---|
33 | }; |
---|
34 | |
---|
35 | const std::set<StdString> CCFConvention::XIOS_CF_Latitude_units(CFLatUnits, CFLatUnits+sizeof(CFLatUnits)/sizeof(CFLatUnits[0])); |
---|
36 | const std::set<StdString> CCFConvention::XIOS_CF_Longitude_units(CFLonUnits, CFLonUnits+sizeof(CFLonUnits)/sizeof(CFLonUnits[0])); |
---|
37 | |
---|
38 | } // namespace xios |
---|
39 | |
---|
40 | #endif //__XIOS_INETCDF4_IMPL__ |
---|