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