ARTS
2.0.49
|
Workspace methods and template functions for supergeneric NetCDF IO. More...
Go to the source code of this file.
Functions | |
template<typename T > | |
void | ReadNetCDF (T &, const String &, const String &, const String &, const Verbosity &) |
WORKSPACE METHOD: ReadNetCDF. More... | |
template<typename T > | |
void | WriteNetCDF (const T &, const String &, const String &, const String &, const Verbosity &) |
WORKSPACE METHOD: WriteNetCDF. More... | |
template<typename T > | |
void | ReadNetCDF (Workspace &ws, T &v, const String &v_name, const String &f, const String &f_name, const Verbosity &verbosity) |
void | WriteNetCDF (Workspace &ws, const Agenda &v, const String &f, const String &v_name, const String &f_name, const Verbosity &verbosity) |
Workspace methods and template functions for supergeneric NetCDF IO.
Definition in file m_nc.h.
void ReadNetCDF | ( | T & | v, |
const String & | v_wsvname, | ||
const String & | filename, | ||
const String & | filename_wsvname, | ||
const Verbosity & | verbosity | ||
) |
WORKSPACE METHOD: ReadNetCDF.
Reads a workspace variable from a NetCDF file.
This method can read variables of any group.
If the filename is omitted, the variable is read from <basename>.<variable_name>.nc.
[out] | v | Supergeneric output |
[in] | v_wsvname | Generic Output Name |
[in] | filename | Generic Input |
[in] | filename_wsvname | Generic Input Name |
Definition at line 78 of file m_nc.h.
Referenced by ReadNetCDF(), ReadNetCDF_sg_ArrayOfMatrix_g(), ReadNetCDF_sg_ArrayOfVector_g(), ReadNetCDF_sg_Matrix_g(), ReadNetCDF_sg_Tensor3_g(), ReadNetCDF_sg_Tensor4_g(), ReadNetCDF_sg_Tensor5_g(), and ReadNetCDF_sg_Vector_g().
void ReadNetCDF | ( | Workspace & | ws, |
T & | v, | ||
const String & | v_name, | ||
const String & | f, | ||
const String & | f_name, | ||
const Verbosity & | verbosity | ||
) |
Definition at line 108 of file m_nc.h.
References ReadNetCDF().
void WriteNetCDF | ( | const T & | v, |
const String & | filename, | ||
const String & | v_wsvname, | ||
const String & | filename_wsvname, | ||
const Verbosity & | verbosity | ||
) |
WORKSPACE METHOD: WriteNetCDF.
Writes a workspace variable to a NetCDF file.
This method can write variables of any group.
If the filename is omitted, the variable is written to <basename>.<variable_name>.nc.
[in] | v | Generic Input |
[in] | filename | Generic Input (Default: "") |
[in] | v_wsvname | Generic Input Name |
[in] | filename_wsvname | Generic Input Name |
Definition at line 92 of file m_nc.h.
Referenced by WriteNetCDF(), WriteNetCDF_sg_ArrayOfMatrix_g(), WriteNetCDF_sg_ArrayOfVector_g(), WriteNetCDF_sg_Matrix_g(), WriteNetCDF_sg_Tensor3_g(), WriteNetCDF_sg_Tensor4_g(), WriteNetCDF_sg_Tensor5_g(), and WriteNetCDF_sg_Vector_g().