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: Introduction, Up: Introduction



Class Hierarchy

The class for netCDF file objects is NcFile.

The components of a netCDF file are dimensions, variables, and attributes. There is a class for each of these kinds of objects; NcDim, NcVar, and NcAtt. Variables and attributes share some common characteristics that are factored out in the abstract base class NcTypedComponent.

An auxiliary class, NcValues, provides a type for arrays of values that are read from or written to netCDF files. Another auxiliary class, NcError, provides flexible facilities for handling errors.

     NcFile                     netCDF file
     
     NcDim                      dimension
     
     NcTypedComponent           abstract base class
             NcVar                variable
             NcAtt                attribute
     
     NcValues                   abstract base class for array
             NcValues_ncbyte      array of bytes
             NcValues_char        array of characters
             NcValues_short       array of shorts
             NcValues_int         array of ints
             NcValues_long        array of longs
             NcValues_float       array of floats
             NcValues_double      array of doubles
     
     NcError                    for error handling
 
 
  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