General Purpose Geodetic Library
|
#include <math.h>
#include <QtCore/QFile>
#include <SgIdentities.h>
#include <SgLogger.h>
#include <SgMJD.h>
#include <SgNetCdf.h>
#include <SgVersion.h>
Go to the source code of this file.
Functions | |
static const QString | dimensionUnityName ("DimUnity") |
size_t | ncdfaux_type_2_size (nc_type type) |
void | ncdfaux_data_allocate (void *&dest, nc_type type, size_t num) |
void | ncdfaux_data_allocate_n_copy (void *&dest, const void *src, nc_type type, size_t num) |
void | ncdfaux_data_free (void *&dest, nc_type type) |
QString | ncdfaux_type_2_string (nc_type xtype) |
Variables | |
static const int | dimensionUnityValue = 1 |
const SgNcdfDimension | dUnity (dimensionUnityName, dimensionUnityValue, -1) |
|
static |
Referenced by SgNcdfVariable::check4multiplication().
void ncdfaux_data_allocate | ( | void *& | dest, |
nc_type | type, | ||
size_t | num | ||
) |
Definition at line 78 of file SgNetCdf.cpp.
References SgLogger::IO_NCDF, logger, ncdfaux_type_2_size(), SgLogger::write(), and SgLogger::WRN.
Referenced by SgNcdfVariable::allocateData(), SgNcdfVariable::check4multiplication(), SgNcdfVariable::multiplyData(), SgNcdfAttribute::nc_get_attr(), and SgNcdfVariable::nc_get_var().
void ncdfaux_data_allocate_n_copy | ( | void *& | dest, |
const void * | src, | ||
nc_type | type, | ||
size_t | num | ||
) |
Definition at line 116 of file SgNetCdf.cpp.
References SgLogger::IO_NCDF, logger, ncdfaux_type_2_size(), SgLogger::write(), and SgLogger::WRN.
Referenced by SgNcdfAttribute::SgNcdfAttribute(), and SgNcdfAttribute::setData().
void ncdfaux_data_free | ( | void *& | dest, |
nc_type | type | ||
) |
Definition at line 153 of file SgNetCdf.cpp.
References SgLogger::IO_NCDF, logger, SgLogger::write(), and SgLogger::WRN.
Referenced by SgNcdfAttribute::~SgNcdfAttribute(), SgNcdfVariable::~SgNcdfVariable(), SgNcdfVariable::allocateData(), SgNcdfVariable::check4multiplication(), SgNcdfVariable::multiplyData(), and SgNcdfAttribute::setData().
size_t ncdfaux_type_2_size | ( | nc_type | type | ) |
Definition at line 47 of file SgNetCdf.cpp.
References SgLogger::IO_NCDF, logger, SgLogger::write(), and SgLogger::WRN.
Referenced by SgNcdfVariable::check4multiplication(), SgNcdfVariable::multiplyData(), ncdfaux_data_allocate(), ncdfaux_data_allocate_n_copy(), and SgNcdfVariable::sizeOfData().
QString ncdfaux_type_2_string | ( | nc_type | xtype | ) |
Definition at line 188 of file SgNetCdf.cpp.
Referenced by SgNcdfVariable::data2char(), SgNcdfVariable::data2double(), SgNcdfVariable::data2int(), SgNcdfVariable::data2short(), and SgNcdfVariable::debug_output().
|
static |
Definition at line 38 of file SgNetCdf.cpp.
Referenced by SgNcdfVariable::check4multiplication().
const SgNcdfDimension dUnity(dimensionUnityName, dimensionUnityValue, -1) | ( | dimensionUnityName | , |
dimensionUnityValue | , | ||
- | 1 | ||
) |
Referenced by SgNetCdf::SgNetCdf(), SgVgosDb::checkFormat(), SgVgosDb::guessDimName(), and SgNetCdf::reset().