SeldonData::FormatNetCDF< T > Class Template Reference

Input/ouput class to read netCDF files. More...

#include <Format.hxx>

Inheritance diagram for SeldonData::FormatNetCDF< T >:

SeldonData::Format List of all members.

Public Member Functions

 FormatNetCDF () throw ()
 Default constructor.
 ~FormatNetCDF () throw ()
 Destructor.
template<class TG>
void Read (string FileName, string variable, RegularGrid< TG > &G) const
 Reads a netCDF file.
template<class TG, int N>
void Read (string FileName, string variable, GeneralGrid< TG, N > &G) const
 Reads a netCDF file.
template<class TD, int N, class TG>
void Read (string FileName, string variable, Data< TD, N, TG > &D) const
 Reads a netCDF file.
template<class TA, int N>
void Read (string FileName, string variable, Array< TA, N > &A) const
 Reads a netCDF file.
void ReadDimension (string FileName, string variable, int dim_num, int &dim_value) const
 Reads the dim_num th dimension of the variable in a netCDF file.
void ReadAttribute (string FileName, string attribute, float &value) const
void ReadAttribute (string FileName, string attribute, int &value) const

Detailed Description

template<class T>
class SeldonData::FormatNetCDF< T >

Input/ouput class to read netCDF files.


Member Function Documentation

template<class T>
void SeldonData::FormatNetCDF< T >::ReadAttribute ( string  FileName,
string  attribute,
float &  value 
) const

Reads the global attribute in a netCDF file and put the value of it in a float format.

template<class T>
void SeldonData::FormatNetCDF< T >::ReadAttribute ( string  FileName,
string  attribute,
int &  value 
) const

Reads the global attribute in a netCDF file and put the value of it in a int format.


The documentation for this class was generated from the following files:
Generated on Tue Nov 17 11:20:52 2009 for SeldonData by  doxygen 1.5.1