Class providing an interface to a NetCDF file containing a record-based latitude/longitude data.
More...
#include <NetCDF/cpp4/src/datasets/NcLatLonRecordBase.h>
- Copyright:
- Copyright 2013 Colorado State University. All rights reserved.
- Organization:
- Natural Resource Ecology Laboratory
Colorado State University, Fort Collins, CO 80523 USA
www.nrel.colostate.edu
- Project:
- IRC <www.nrel.colostate.edu/projects/irc/>
Produces a netCDF file that has the following structure:
dimensions:
record = UNLIMITED ; // (0 currently) -- ALTERNATIVE: can be a fixed dimension
variables:
float lat(record) ;
lat:long_name = "latitude of center of cell" ;
lat:standard_name = "latitude" ;
lat:units = "degrees_north" ;
lat:valid_min = -90.f ;
lat:valid_max = 90.f ;
float lon(record) ;
lon:long_name = "longitude of center of cell" ;
lon:standard_name = "longitude" ;
lon:units = "degrees_east" ;
lon:valid_min = -180.f ;
lon:valid_max = 180.f ;
- Author
- Tom Hilinski tom.h.nosp@m.ilin.nosp@m.ski@c.nosp@m.olos.nosp@m.tate..nosp@m.edu
- Date
- 2013Feb
|
static char const *const | dimNames [] = { "record" } |
| names of dimensions More...
|
|
static char const *const | varNames [] = { "lat", "lon" } |
| names of variables More...
|
|
static char const *const | longNames [] |
| long_names attributes of variables More...
|
|
netcdf::NcLatLonRecordBase::NcLatLonRecordBase |
( |
short const |
useCompressionLevel = 5 | ) |
|
|
inlineprotected |
netcdf::NcLatLonRecordBase::~NcLatLonRecordBase |
( |
| ) |
|
|
inlinepure virtual |
void netcdf::NcLatLonRecordBase::Create |
( |
NcFile & |
ncFile | ) |
|
- Parameters
-
ncFile | Create a netCDF file with UNLIMITED dimension |
void netcdf::NcLatLonRecordBase::Create |
( |
NcFile & |
ncFile, |
|
|
unsigned int const |
numRecords |
|
) |
| |
- Parameters
-
ncFile | Create a netCDF file with fixed record dimension |
std::string const& netcdf::NcLatLonRecordBase::GetRecordDimName |
( |
| ) |
const |
|
inline |
void netcdf::NcLatLonRecordBase::SetLatLonLongNames |
( |
std::string const |
useLatLongName, |
|
|
std::string const |
useLonLongName |
|
) |
| |
|
inline |
void netcdf::NcLatLonRecordBase::SetRecordDimName |
( |
std::string const |
useRecordDimName | ) |
|
|
inline |
short const netcdf::NcLatLonRecordBase::compressionLevel |
|
protected |
char const *const netcdf::NcLatLonRecordBase::dimNames = { "record" } |
|
static |
std::string netcdf::NcLatLonRecordBase::latLongName |
|
protected |
char const *const netcdf::NcLatLonRecordBase::longNames |
|
static |
Initial value:=
{
"latitude of center of cell",
"longitude of center of cell"
}
std::string netcdf::NcLatLonRecordBase::lonLongName |
|
protected |
std::string netcdf::NcLatLonRecordBase::recordDimName |
|
protected |
char const *const netcdf::NcLatLonRecordBase::varNames = { "lat", "lon" } |
|
static |
The documentation for this class was generated from the following files: