5.1 User Defined Types Introduction
NetCDF-4 has added support for four different user defined data types.
compound type- Like a C struct, a compound type is a collection of types, including
other user defined types, in one package.
variable length array type- The variable length array may be used to store ragged arrays.
opaque type- This type has only a size per element, and no other type information.
enum type- Like an enumeration in C, this type lets you assign text values to
integer values, and store the integer values.
Users may construct user defined type with the various nc_def_*
functions described in this section. They may learn about user defined
types by using the nc_inq_ functions defined in this section.