USML
netcdf_bathy.h
1 
5 #ifndef USML_NETCDF_BATHY_H
6 #define USML_NETCDF_BATHY_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 
54 class USML_DECLSPEC netcdf_bathy : public data_grid<double,2> {
55 
56  public:
57 
78  const char* filename,
79  double south, double north, double west, double east,
80  double earth_radius=wposition::earth_radius ) ;
81 
82  private:
83 
95  void decode_filetype(
96  NcFile& file, NcVar **latitude, NcVar **longitude, NcVar **altitude ) ;
97 } ;
98 
100 } // end of namespace netcdf
101 } // end of namespace usml
102 
103 #endif
static double earth_radius
Local radius of curvature in the area of operations.
Definition: wposition.h:100
Extracts bathymetry data from world-wide bathymetry databases.
Definition: netcdf_bathy.h:54
N-dimensional data set and its associated axes.
Definition: data_grid.h:64