A list of named components, some of which are only included for datasets in "netcdf4" format (as indicated by file.inq.nc
).
idVariable ID.
nameVariable name.
typeExternal NetCDF data type as one of the following labels: NC_BYTE
, NC_UBYTE
, NC_CHAR
, NC_SHORT
, NC_USHORT
, NC_INT
, NC_UINT
, NC_INT64
, NC_UINT64
, NC_FLOAT
, NC_DOUBLE
, NC_STRING
, or a user-defined type name.
ndimsNumber of dimensions the variable was defined as using.
dimidsVector of dimension IDs corresponding to the variable dimensions (NA
for scalar variables). Order is leftmost varying fastest.
nattsNumber of variable attributes assigned to this variable.
The arguments below apply only to datasets in "netcdf4" format:
chunksizesChunk size expressed as the number of elements along each dimension, in the same order as dimids
. NULL
implies contiguous storage.
cache_bytesSize of chunk cache in bytes (NULL
if unsupported).
cache_slotsThe number of slots in the chunk cache (NULL
if unsupported).
cache_preemptionA value between 0 and 1 (inclusive) that biases the cache scheme towards eviction of chunks that have been fully read (NULL
if unsupported).
deflateInteger indicating level of compression, from 0 (minimum) to 9 (maximum), or NA
if compression is not enabled.
shuffleTRUE
if byte shuffling is enabled for the variable, FALSE
otherwise.
big_endianByte order of the variable. TRUE
for big-endian, FALSE
for little-endian, NA
for not yet determined, or NULL
if unsupported.
fletcher32TRUE
if the fletcher32 checksum is enabled for this variable, FALSE
otherwise.
szip_optionsInteger containing a bitmask of szip options. NA
if szip is not used, or NULL
if unsupported.
szip_bitsNumber of bits per pixel for szip. NA
if szip is not used, or NULL
if unsupported.
filter_idIdentifier of filter associated with the variable. NA
if no filter is defined, or NULL
if unsupported.
filter_paramsVector of integer parameters for the filter associated with the variable. NA
if no filter is defined, or NULL
if unsupported.