Previous: Uses for Enumerations Next: Using the Opaque Type Table of contents Frames 2011 Unidata NetCDF Workshop > Using Groups and NetCDF-4 Types

16.14 Enum CDL Example
A CDL example shows enumerations which classify cloud types.
clouds.cdl example Show popup

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

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

example.c Show popup

 


Previous: Uses for Enumerations Next: Using the Opaque Type Table of contents Frames 2011 Unidata NetCDF Workshop > Using Groups and NetCDF-4 Types