2009 Unidata NetCDF Workshop for Developers and Data Providers > User Defined Types in NetCDF-4
23.6 Using Enums
The enumerated type can associate labels 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.
2009 Unidata NetCDF Workshop for Developers and Data Providers > User Defined Types in NetCDF-4