h5netcdf.legacyapi.Variable
h5netcdf.legacyapi.Variable¶
- class h5netcdf.legacyapi.Variable(parent, name, dimensions=None)¶
- __init__(parent, name, dimensions=None)¶
Methods
__init__(parent, name[, dimensions])chunking()Return variable chunking information.
filters()Return HDF5 filter parameters dictionary.
getncattr(name)Retrieve a netCDF4 attribute.
ncattrs()Return netCDF4 attribute names.
setncattr(name, value)Set a netCDF4 attribute.
Attributes
attrsReturn variable attributes.
dimensionsReturn variable dimension names.
Return netCDF4.Variable datatype.
nameReturn variable name.
ndimReturn number variable dimensions
shapeReturn current sizes of all variable dimensions.
- chunking()¶
Return variable chunking information.
The chunksize is returned as a sequence with the size for each dimension. If the dataset is defined to be contiguous (no chunking) the word ‘contiguous’ is returned.
- property dtype¶
Return netCDF4.Variable datatype.
- filters()¶
Return HDF5 filter parameters dictionary.