Class NcDim
A netCDF dimension has a name and a size. Dimensions are only created and
destroyed by NcFile member functions, because they cannot exist
independently of an open netCDF file. Hence there are no public
constructors or destructors.
Public Member Functions
NcToken name( void ) const-
Returns the name of the dimension if it exists, 0 otherwise.
long size( void ) const-
Returns the dimension size.
NcBool is_valid( void ) const-
Returns
TRUE if file and dimension are both valid, FALSE
otherwise.
NcBool is_unlimited( void ) const-
Returns
TRUE if the dimension is the unlimited dimension,
FALSE if either not a valid netCDF file, or if the dimension is
not the unlimited dimension.
NcBool rename( NcToken newname )-
Renames the dimension to
newname.
NcBool sync( void )-
If the dimension may have been renamed, make sure its name is updated.