USML
netcdf_profile.h
1 
5 #ifndef USML_NETCDF_PROFILE_H
6 #define USML_NETCDF_PROFILE_H
7 
8 #include <netcdfcpp.h>
9 #include <usml/ublas/ublas.h>
10 #include <usml/types/types.h>
11 
12 namespace usml {
13 namespace netcdf {
14 
15 using namespace usml::ublas ;
16 using namespace usml::types ;
17 
20 
59 class USML_DECLSPEC netcdf_profile : public data_grid<double,3> {
60 
61  public:
62 
88  const char* profile, double date,
89  double south, double north, double west, double east,
90  double earth_radius=wposition::earth_radius ) ;
91 
98  void fill_missing() ;
99 
100  private:
101 
117  void decode_filetype(
118  NcFile& file, double *missing, NcVar **time, NcVar **altitude,
119  NcVar **latitude, NcVar **longitude, NcVar **value ) ;
120 } ;
121 
123 } // end of namespace netcdf
124 } // end of namespace usml
125 
126 #endif
static double earth_radius
Local radius of curvature in the area of operations.
Definition: wposition.h:100
Extracts ocean profile data from world-wide databases.
Definition: netcdf_profile.h:59
N-dimensional data set and its associated axes.
Definition: data_grid.h:64