Previous: What are Groups? Next: Possible Uses for Groups Table of contents Frames 2010 Unidata NetCDF Workshop > Using Groups and NetCDF-4 Types

22.2 CDL Example of Groups
This CDL example demonstrates one use of groups.

Organizing data by a named property such as region:

regions.cdl Show popup

Some things to note in this example:

Here is C code that creates the corresponding netCDF file, generated by running:

  ncgen -k 3 -l C regions.cdl > regions.c

regions.c Show popup

 


Previous: What are Groups? Next: Possible Uses for Groups Table of contents Frames 2010 Unidata NetCDF Workshop > Using Groups and NetCDF-4 Types