Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Next: , Previous: Class NcFile, Up: NetCDF Classes



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.

 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690