2008 Unidata NetCDF Workshop for Developers and Data Providers > User Defined Types in NetCDF-4
16.0 Using User Defined Types
User-defined types can be used to store N-dimensional arrays structs,
variable length arrays, enumerations, and opaque data ojects of known
size.
- Datasets and attributes may be of user-defined type.
- A user defined type must be defined before it is used to store
data.
- When defined, a user type is assigned a typeid (which may not be
the same between different openings of the same file).
- The typeid is then used when defining a variable or writing an
attribute.
- User defined types may be nested (in some ways), so that one may
define a compound type, holding a variable length array of
enumerations.
2008 Unidata NetCDF Workshop for Developers and Data Providers > User Defined Types in NetCDF-4