netcdf_profile.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 
00058 class USML_DECLSPEC netcdf_profile : public data_grid<double,3> {
00059 
00060   public:
00061 
00086     netcdf_profile(
00087         const char* profile, double date,
00088         double south, double north, double west, double east,
00089         double earth_radius=wposition::earth_radius ) ;
00090 
00097     void fill_missing() ;
00098 
00099   private:
00100 
00116     void decode_filetype(
00117         NcFile& file, double *missing, NcVar **time, NcVar **altitude,
00118         NcVar **latitude, NcVar **longitude, NcVar **value ) ;
00119 } ;
00120 
00122 }  // end of namespace netcdf
00123 }  // end of namespace usml

Generated on 4 May 2015 for USML by  doxygen 1.6.1