netcdf_bathy.h

00001 
00005 #pragma once
00006 
00007 #include <netcdfcpp.h>
00008 #include <usml/ublas/ublas.h>
00009 #include <usml/types/types.h>
00010 
00011 namespace usml {
00012 namespace netcdf {
00013 
00014 using namespace usml::ublas ;
00015 using namespace usml::types ;
00016 
00019 
00053 class USML_DECLSPEC netcdf_bathy : public data_grid<double,2> {
00054 
00055   public:
00056 
00076     netcdf_bathy(
00077         const char* filename,
00078         double south, double north, double west, double east,
00079         double earth_radius=wposition::earth_radius ) ;
00080 
00081   private:
00082 
00094      void decode_filetype(
00095         NcFile& file, NcVar **latitude, NcVar **longitude, NcVar **altitude ) ;
00096 } ;
00097 
00099 }  // end of namespace netcdf
00100 }  // end of namespace usml

Generated on 4 May 2015 for USML by  doxygen 1.6.1