ARTS 2.5.11 (git: 6827797f)
|
This file contains functions to handle NetCDF data files. More...
Go to the source code of this file.
Macros | |
#define | TMPL_NC_READ_WRITE_FILE_DUMMY(what) |
Functions | |
void | nca_read_from_file (const int ncid, Matrix &m, const Verbosity &) |
Reads a Matrix from a NetCDF file. | |
void | nca_write_to_file (const int ncid, const Matrix &m, const Verbosity &) |
Writes a Matrix to a NetCDF file. | |
void | nca_read_from_file (const int ncid, Tensor3 &t, const Verbosity &) |
Reads a Tensor3 from a NetCDF file. | |
void | nca_write_to_file (const int ncid, const Tensor3 &t, const Verbosity &) |
Writes a Tensor3 to a NetCDF file. | |
void | nca_read_from_file (const int ncid, Tensor4 &t, const Verbosity &) |
Reads a Tensor4 from a NetCDF file. | |
void | nca_write_to_file (const int ncid, const Tensor4 &t, const Verbosity &) |
Writes a Tensor4 to a NetCDF file. | |
void | nca_read_from_file (const int ncid, Tensor5 &t, const Verbosity &) |
Reads a Tensor5 from a NetCDF file. | |
void | nca_write_to_file (const int ncid, const Tensor5 &t, const Verbosity &) |
Writes a Tensor5 to a NetCDF file. | |
void | nca_read_from_file (const int ncid, Vector &v, const Verbosity &) |
Reads a Vector from a NetCDF file. | |
void | nca_write_to_file (const int ncid, const Vector &v, const Verbosity &) |
Writes a Vector to a NetCDF file. | |
This file contains functions to handle NetCDF data files.
Definition in file nc_io_basic_types.cc.
#define TMPL_NC_READ_WRITE_FILE_DUMMY | ( | what | ) |
Definition at line 215 of file nc_io_basic_types.cc.
void nca_read_from_file | ( | const int | ncid, |
Matrix & | m, | ||
const Verbosity & | |||
) |
Reads a Matrix from a NetCDF file.
ncdi | NetCDF file descriptor |
m | Matrix |
Definition at line 27 of file nc_io_basic_types.cc.
References nca_get_data(), and nca_get_dim().
void nca_read_from_file | ( | const int | ncid, |
Tensor3 & | t, | ||
const Verbosity & | |||
) |
Reads a Tensor3 from a NetCDF file.
ncf | NetCDF file descriptor |
t | Tensor3 |
Definition at line 62 of file nc_io_basic_types.cc.
References nca_get_data(), and nca_get_dim().
void nca_read_from_file | ( | const int | ncid, |
Tensor4 & | t, | ||
const Verbosity & | |||
) |
Reads a Tensor4 from a NetCDF file.
ncf | NetCDF file descriptor |
t | Tensor4 |
Definition at line 100 of file nc_io_basic_types.cc.
References nca_get_data(), and nca_get_dim().
void nca_read_from_file | ( | const int | ncid, |
Tensor5 & | t, | ||
const Verbosity & | |||
) |
Reads a Tensor5 from a NetCDF file.
ncf | NetCDF file descriptor |
t | Tensor5 |
Definition at line 141 of file nc_io_basic_types.cc.
References nca_get_data(), and nca_get_dim().
void nca_read_from_file | ( | const int | ncid, |
Vector & | v, | ||
const Verbosity & | |||
) |
Reads a Vector from a NetCDF file.
ncf | NetCDF file descriptor |
v | Vector |
Definition at line 185 of file nc_io_basic_types.cc.
References nca_get_data(), nca_get_dim(), and v.
void nca_write_to_file | ( | const int | ncid, |
const Matrix & | m, | ||
const Verbosity & | |||
) |
Writes a Matrix to a NetCDF file.
ncf | NetCDF file descriptor |
m | Matrix |
Definition at line 41 of file nc_io_basic_types.cc.
References nca_error().
void nca_write_to_file | ( | const int | ncid, |
const Tensor3 & | t, | ||
const Verbosity & | |||
) |
Writes a Tensor3 to a NetCDF file.
ncf | NetCDF file descriptor |
t | Tensor3 |
Definition at line 77 of file nc_io_basic_types.cc.
References nca_error().
void nca_write_to_file | ( | const int | ncid, |
const Tensor4 & | t, | ||
const Verbosity & | |||
) |
Writes a Tensor4 to a NetCDF file.
ncf | NetCDF file descriptor |
t | Tensor4 |
Definition at line 116 of file nc_io_basic_types.cc.
References nca_error().
void nca_write_to_file | ( | const int | ncid, |
const Tensor5 & | t, | ||
const Verbosity & | |||
) |
Writes a Tensor5 to a NetCDF file.
ncf | NetCDF file descriptor |
t | Tensor5 |
Definition at line 158 of file nc_io_basic_types.cc.
References nca_error().
void nca_write_to_file | ( | const int | ncid, |
const Vector & | v, | ||
const Verbosity & | |||
) |
Writes a Vector to a NetCDF file.
ncid | NetCDF file descriptor |
v | Vector |
Definition at line 198 of file nc_io_basic_types.cc.
References nca_error(), and v.