Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 
Previous: Using Groups Next: Possible Uses for Groups Table of contents Frames User guide
2008 Unidata NetCDF Workshop for Developers and Data Providers > Using Groups and the New NetCDF-4 Atomic Types

15.3 CDL Example of Groups
This CDL example shows a possible use of groups.

Organizing data by a named property such as region:

group USA {

  group Colorado {
    dimensions: time = unlimited, stations = 47;
    variables: float temperature(time, stations);
  }
  group Wyoming{
    dimensions: time = unlimited, stations = 61;
    variables: float temperature(time, stations);
  }
  group Alaska {
    dimensions: time = unlimited, stations = 53;
    variables: float temperature(time, stations);
  } 
  ...
  dimensions: time = unlimited;
  variables: float average_temperature(time);
}

 


Previous: Using Groups Next: Possible Uses for Groups Table of contents Frames User guide
2008 Unidata NetCDF Workshop for Developers and Data Providers > Using Groups and the New NetCDF-4 Atomic Types

 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community 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