Class providing an interface to a NetCDF file containing a simple latitude/longitude grid.
More...
#include <NetCDF/cpp4/src/datasets/NcSimpleGridBase.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:
netcdf NcSimpleGrid {
dimensions:
lat = 3 ;
lon = 3 ;
variables:
float lat(lat) ;
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(lon) ;
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 ;
// global attributes:
:zero_corner = "top-left" ;
}
- 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 [] = { "lat", "lon" } |
| names of dimensions More...
|
|
static char const *const | varNames [] = { "lat", "lon" } |
| names of variables More...
|
|
netcdf::NcSimpleGridBase::NcSimpleGridBase |
( |
short const |
useCompressionLevel = 5 | ) |
|
|
inlineprotected |
netcdf::NcSimpleGridBase::~NcSimpleGridBase |
( |
| ) |
|
|
inlinepure virtual |
void netcdf::NcSimpleGridBase::Create |
( |
NcFile & |
ncFile, |
|
|
unsigned short const |
latDimSize, |
|
|
unsigned short const |
lonDimSize, |
|
|
NcSpatial::TAnchor const |
anchor |
|
) |
| |
- Todo:
- global atts
- Parameters
-
ncFile | Create a netCDF file |
short const netcdf::NcSimpleGridBase::compressionLevel |
|
protected |
char const *const netcdf::NcSimpleGridBase::dimNames = { "lat", "lon" } |
|
static |
char const *const netcdf::NcSimpleGridBase::varNames = { "lat", "lon" } |
|
static |
The documentation for this class was generated from the following files: