Previous: Alternatives to netCDF Next: Models, Conventions, and Formats Table of contents Frames User guide
2009 Unidata NetCDF Workshop for Developers and Data Providers

4 The "Classic" NetCDF Data Model
The netCDF data model in detail: dimensions, variables, attributes, coordinate variables

4.0  Models, Conventions, and Formats
Data models, conventions, and formats are at different levels of abstraction.
4.1  NetCDF Files
NetCDF files are containers for Dimensions, Variables, and Global Attributes.
4.2  Dimensions
Dimensions are used to specify variable shapes, common grids, and coordinate systems.
4.3  Variables
Variables hold data values. In the classic netCDF data model, a variable can hold a multidimensional array of values of the same type.
4.4  Variable Methods
Things you can do with a netCDF variable include getting information about it, putting data values into it, and getting data values out of it.
4.5  Attributes
Attributes hold metadata (data about data). An attribute contains information about properties of a variable or dataset.
4.6  Attribute Methods
Things you can do with a netCDF attribute include inquiring about its type or length, defining its value, and getting its value.
4.7  The "Classic" NetCDF Data Model
The classic netCDF data model uses dimensions, variables, and attributes, to capture the meaning of array-oriented scientific data.
4.8  Introducing CDL (Common Data Language)
CDL (Common Data Language) is text notation for netCDF objects and data. It will be used for examples during the workshop.
4.9  Another Simple Example
In this example, a simple data file is examined with ncdump, showing its dimensions, variables, and attributes as CDL.
4.10  A Strong Conventon: Coordinate Variables
Coordinate Variables contain the coordinate values for a dimension.
4.11  An Example of Coordinate Variables
A concrete example of simple coordinate variables.
4.12  Variables Versus Attributes
When should you use variables or attributes?
4.13  Classic NetCDF Model Limitations
The classic netCDF data model used for netCDF-3 has some limitations.

 


Previous: Alternatives to netCDF Next: Models, Conventions, and Formats Table of contents Frames User guide
2009 Unidata NetCDF Workshop for Developers and Data Providers