This class represents user-defined types in a netCDF file. Interpretation of the UDT typically requires knowledge of the data set or application.
ncdfCF::NCObject -> NCUDT
clssThe class of the UDT, one of "builtin", "compound", "enum", "opaque", or "vlen".
sizeSize in bytes of a single item of the type (or a single element of a "vlen").
basetypeName of the netCDF base type of each element ("enum" and "vlen" only).
valueNamed vector with numeric values of all members ("enum" only).
offsetNamed vector with the offset of each field in bytes from the beginning of the "compound" type.
subtypeNamed vector with the netCDF base type name of each field of a "compound" type.
dimsizesNamed list with array dimensions of each field of a
"compound" type. A NULL length indicates a scalar.
new()Create a new netCDF user-defined type. This class represents a user-defined type. It is instantiated when opening a netCDF resource.
NCUDT$new(id, name, clss, size, basetype, value, offset, subtype, dimsizes)idNumeric identifier of the user-defined type.
nameCharacter string with the name of the user-defined type.
clssThe class of the UDT, one of "builtin", "compound", "enum", "opaque", or "vlen".
sizeSize in bytes of a single item of the type (or a single element of a "vlen").
basetypeName of the netCDF base type of each element ("enum" and "vlen" only).
valueNamed vector with numeric values of all members ("enum" only).
offsetNamed vector with the offset of each field in bytes from the beginning of the "compound" type.
subtypeNamed vector with the netCDF base type name of each field of a "compound" type.
dimsizesNamed list with array dimensions of each field of a
"compound" type. A NULL length indicates a scalar.
An instance of this class.
clone()The objects of this class are cloneable with this method.
NCUDT$clone(deep = FALSE)deepWhether to make a deep clone.