#include "exceptions.h"
#include "workspace_ng.h"
#include "agenda_class.h"


Go to the source code of this file.
Functions | |
| template<typename T> | |
| void | ReadNetCDF (T &v, const String &v_name, const String &f, const String &f_name) |
| WORKSPACE METHOD: ReadNetCDF. | |
| template<typename T> | |
| void | WriteNetCDF (const T &v, const String &f, const String &v_name, const String &f_name) |
| WORKSPACE METHOD: WriteNetCDF. | |
| template<typename T> | |
| void | ReadNetCDF (Workspace &ws, T &v, const String &v_name, const String &f, const String &f_name) |
| void | WriteNetCDF (Workspace &ws, const Agenda &v, const String &f, const String &v_name, const String &f_name) |
Definition in file m_nc.h.
| void ReadNetCDF | ( | T & | gout1, | |
| const String & | gout1_wsvname, | |||
| const String & | filename, | |||
| const String & | filename_wsvname | |||
| ) | [inline] |
WORKSPACE METHOD: ReadNetCDF.
Reads a workspace variable from a NetCDF file.
This is a supergeneric method. It can read variables of any group.
If the filename is omitted, the variable is read from <basename>.<variable_name>.nc.
| [out] | gout1 | Supergeneric output |
| [in] | gout1_wsvname | Generic Output Name |
| [in] | filename | Generic Input |
| [in] | filename_wsvname | Generic Input Name |
Definition at line 80 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(), and ReadNetCDF_sg_Vector_g().
| void WriteNetCDF | ( | const T & | genericinput1, | |
| const String & | filename, | |||
| const String & | genericinput1_wsvname, | |||
| const String & | filename_wsvname | |||
| ) | [inline] |
WORKSPACE METHOD: WriteNetCDF.
Writes a workspace variable to a NetCDF file.
This is a supergeneric method. It can write variables of any group.
If the filename is omitted, the variable is written to <basename>.<variable_name>.nc.
| [in] | genericinput1 | Generic Input |
| [in] | filename | Generic Input (Default: "") |
| [in] | genericinput1_wsvname | Generic Input Name |
| [in] | filename_wsvname | Generic Input Name |
Definition at line 93 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(), and WriteNetCDF_sg_Vector_g().
1.5.6