Previous: CDL for Variable Length (vlen) Types Next: Options for ncgen Table of contents Frames 2012 Unidata NetCDF Workshop > Utilities for NetCDF-4

15.4 CDL for Enumeration (enum) Types
Enumeration types may be created for integer netCDF-4 base types.

Enumerated types may be used to represent a small number of named values more concisely than strings, because small numeric values are stored even though the corresponding text symbols are displayed when the data is dumped.

Example CDL for enumeration types: vlens Show popup

Potential uses for vlen types include:

 


Previous: CDL for Variable Length (vlen) Types Next: Options for ncgen Table of contents Frames 2012 Unidata NetCDF Workshop > Utilities for NetCDF-4