24 #ifndef RADOLAN_NETCDF_CONVERTER_H 25 #define RADOLAN_NETCDF_CONVERTER_H 29 #include <radolan/radolan.h> 58 netCDF::NcFile *
convertFile(
const char *radolanPath,
59 const char *netcdfPath,
60 bool write_one_bytes_as_byte =
false,
61 const RDDataType *threshold = NULL,
62 netCDF::NcFile::FileMode mode = netCDF::NcFile::replace,
81 const char *netcdfPath,
82 bool write_one_bytes_as_byte,
83 const RDDataType *threshold = NULL,
95 void printConvertedFile(netCDF::NcFile *file,
int latVertices = 20,
int lonVertices = 20);
Exception for conversion errors from RADOLAN into other formats.
Data type for reading and handling radolan products.
This class bundles functions for converting RADOLAN files into CF-Metadata compliant NetCDF files...
static netCDF::NcFile * convertScan(RDScan *scan, const char *netcdfPath, bool write_one_bytes_as_byte, const RDDataType *threshold=NULL, netCDF::NcFile::FileMode mode=netCDF::NcFile::write)
Converts a radolan scan.
static const char * getStandardName(RDScanType scanType)
CF-Metadata 'standard_name' for the given scan type.
static void printConvertedFile(netCDF::NcFile *file, int latVertices=20, int lonVertices=20)
Simple function to get a visual rep of the file with ascii characters on terminal.
static netCDF::NcFile * convertFile(const char *radolanPath, const char *netcdfPath, bool write_one_bytes_as_byte=false, const RDDataType *threshold=NULL, netCDF::NcFile::FileMode mode=netCDF::NcFile::replace, bool omitOutside=true)
Converts a radolan file.