2011 Unidata NetCDF Workshop > Using Groups and NetCDF-4 Types
16.12 Using Enums
The enumerated type can associate integer constant values with names.
- Enums are based on any integer types.
- The integers associated with enums need not be consecutive.
- Define an enum type, then add value/label pairs one at a time.
- The underlying integer type is what is stored in the file.
2011 Unidata NetCDF Workshop > Using Groups and NetCDF-4 Types