NCUDT | R Documentation |
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
clss
The class of the UDT, one of "builtin", "compound", "enum", "opaque", or "vlen".
size
Size in bytes of a single item of the type (or a single element of a "vlen").
basetype
Name of the netCDF base type of each element ("enum" and "vlen" only).
value
Named vector with numeric values of all members ("enum" only).
offset
Named vector with the offset of each field in bytes from the beginning of the "compound" type.
subtype
Named vector with the netCDF base type name of each field of a "compound" type.
dimsizes
Named 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)
id
Numeric identifier of the user-defined type.
name
Character string with the name of the user-defined type.
clss
The class of the UDT, one of "builtin", "compound", "enum", "opaque", or "vlen".
size
Size in bytes of a single item of the type (or a single element of a "vlen").
basetype
Name of the netCDF base type of each element ("enum" and "vlen" only).
value
Named vector with numeric values of all members ("enum" only).
offset
Named vector with the offset of each field in bytes from the beginning of the "compound" type.
subtype
Named vector with the netCDF base type name of each field of a "compound" type.
dimsizes
Named 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)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.