ARTS
2.4.0(git:4fb77825)
|
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. More... | |
void | nca_write_to_file (const int ncid, const Matrix &m, const Verbosity &) |
Writes a Matrix to a NetCDF file. More... | |
void | nca_read_from_file (const int ncid, Tensor3 &t, const Verbosity &) |
Reads a Tensor3 from a NetCDF file. More... | |
void | nca_write_to_file (const int ncid, const Tensor3 &t, const Verbosity &) |
Writes a Tensor3 to a NetCDF file. More... | |
void | nca_read_from_file (const int ncid, Tensor4 &t, const Verbosity &) |
Reads a Tensor4 from a NetCDF file. More... | |
void | nca_write_to_file (const int ncid, const Tensor4 &t, const Verbosity &) |
Writes a Tensor4 to a NetCDF file. More... | |
void | nca_read_from_file (const int ncid, Tensor5 &t, const Verbosity &) |
Reads a Tensor5 from a NetCDF file. More... | |
void | nca_write_to_file (const int ncid, const Tensor5 &t, const Verbosity &) |
Writes a Tensor5 to a NetCDF file. More... | |
void | nca_read_from_file (const int ncid, Vector &v, const Verbosity &) |
Reads a Vector from a NetCDF file. More... | |
void | nca_write_to_file (const int ncid, const Vector &v, const Verbosity &) |
Writes a Vector to a NetCDF file. More... | |
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 232 of file nc_io_basic_types.cc.
Reads a Matrix from a NetCDF file.
ncdi | NetCDF file descriptor |
m | Matrix |
Definition at line 44 of file nc_io_basic_types.cc.
References MatrixView::get_c_array(), nc_get_dim(), nca_get_data_double(), ARTS::Var::ncols(), ARTS::Var::nrows(), and Matrix::resize().
Reads a Tensor3 from a NetCDF file.
ncf | NetCDF file descriptor |
t | Tensor3 |
Definition at line 79 of file nc_io_basic_types.cc.
References Tensor3View::get_c_array(), nc_get_dim(), nca_get_data_double(), ARTS::Var::ncols(), ARTS::Var::npages(), ARTS::Var::nrows(), and Tensor3::resize().
Reads a Tensor4 from a NetCDF file.
ncf | NetCDF file descriptor |
t | Tensor4 |
Definition at line 117 of file nc_io_basic_types.cc.
References Tensor4View::get_c_array(), ARTS::Var::nbooks(), nc_get_dim(), nca_get_data_double(), ARTS::Var::ncols(), ARTS::Var::npages(), ARTS::Var::nrows(), and Tensor4::resize().
Reads a Tensor5 from a NetCDF file.
ncf | NetCDF file descriptor |
t | Tensor5 |
Definition at line 158 of file nc_io_basic_types.cc.
References Tensor5View::get_c_array(), ARTS::Var::nbooks(), nc_get_dim(), nca_get_data_double(), ARTS::Var::ncols(), ARTS::Var::npages(), ARTS::Var::nrows(), ARTS::Var::nshelves(), and Tensor5::resize().
Reads a Vector from a NetCDF file.
ncf | NetCDF file descriptor |
v | Vector |
Definition at line 202 of file nc_io_basic_types.cc.
References VectorView::get_c_array(), nc_get_dim(), nca_get_data_double(), Absorption::nelem(), and Vector::resize().
Writes a Matrix to a NetCDF file.
ncf | NetCDF file descriptor |
m | Matrix |
Definition at line 58 of file nc_io_basic_types.cc.
References MatrixView::get_c_array(), nca_error(), ConstMatrixView::ncols(), and ConstMatrixView::nrows().
Writes a Tensor3 to a NetCDF file.
ncf | NetCDF file descriptor |
t | Tensor3 |
Definition at line 94 of file nc_io_basic_types.cc.
References Tensor3View::get_c_array(), nca_error(), ConstTensor3View::ncols(), ConstTensor3View::npages(), and ConstTensor3View::nrows().
Writes a Tensor4 to a NetCDF file.
ncf | NetCDF file descriptor |
t | Tensor4 |
Definition at line 133 of file nc_io_basic_types.cc.
References Tensor4View::get_c_array(), ConstTensor4View::nbooks(), nca_error(), ConstTensor4View::ncols(), ConstTensor4View::npages(), and ConstTensor4View::nrows().
Writes a Tensor5 to a NetCDF file.
ncf | NetCDF file descriptor |
t | Tensor5 |
Definition at line 175 of file nc_io_basic_types.cc.
References Tensor5View::get_c_array(), ConstTensor5View::nbooks(), nca_error(), ConstTensor5View::ncols(), ConstTensor5View::npages(), ConstTensor5View::nrows(), and ConstTensor5View::nshelves().
Writes a Vector to a NetCDF file.
ncid | NetCDF file descriptor |
v | Vector |
Definition at line 215 of file nc_io_basic_types.cc.
References VectorView::get_c_array(), nca_error(), and ConstVectorView::nelem().