ARTS 2.5.9 (git: 825fa5f2)
nc_io_compound_types.cc File Reference
#include "config.h"
#include <cstring>
#include "arts.h"
#include "nc_io.h"
#include "nc_io_types.h"

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, GasAbsLookup &gal, const Verbosity &)
 Reads a GasAbsLookup table from a NetCDF file. More...
 
void nca_write_to_file (const int ncid, const GasAbsLookup &gal, const Verbosity &)
 Writes a GasAbsLookup table to a NetCDF file. More...
 

Macro Definition Documentation

◆ TMPL_NC_READ_WRITE_FILE_DUMMY

#define TMPL_NC_READ_WRITE_FILE_DUMMY (   what)
Value:
void nca_write_to_file(const int, const what &, const Verbosity &) { \
ARTS_USER_ERROR("NetCDF support not yet implemented for this type!"); \
} \
void nca_read_from_file(const int, what &, const Verbosity &) { \
ARTS_USER_ERROR("NetCDF support not yet implemented for this type!"); \
}
void nca_read_from_file(const int ncid, GasAbsLookup &gal, const Verbosity &)
Reads a GasAbsLookup table from a NetCDF file.
void nca_write_to_file(const int ncid, const GasAbsLookup &gal, const Verbosity &)
Writes a GasAbsLookup table to a NetCDF file.

Definition at line 161 of file nc_io_compound_types.cc.

Function Documentation

◆ nca_read_from_file()

void nca_read_from_file ( const int  ncid,
GasAbsLookup gal,
const Verbosity  
)

Reads a GasAbsLookup table from a NetCDF file.

Parameters
[in]ncidNetCDF file descriptor
[in]galGasAbsLookup
Author
Oliver Lemke

Definition at line 49 of file nc_io_compound_types.cc.

◆ nca_write_to_file()

void nca_write_to_file ( const int  ncid,
const GasAbsLookup gal,
const Verbosity  
)

Writes a GasAbsLookup table to a NetCDF file.

Parameters
[in]ncidNetCDF file descriptor
[out]galGasAbsLookup
Author
Oliver Lemke

Definition at line 73 of file nc_io_compound_types.cc.