h5netcdf.Variable#

class h5netcdf.Variable(parent, name, dimensions=None)#
__init__(parent, name, dimensions=None)#

Methods

__init__(parent, name[, dimensions])

filters()

Return HDF5 filter parameters dictionary, matching netCDF4's var.filters() API.

Attributes

attrs

Return variable attributes.

chunks

compression

compression_opts

datatype

Return datatype.

dimensions

Return variable dimension names.

dtype

Return NumPy dtype giving object’s dtype.

fletcher32

name

Return variable name.

ndim

Return number of variable dimensions.

shape

Return current sizes of all variable dimensions.

shuffle

property chunks#
property compression#
property compression_opts#
filters()#

Return HDF5 filter parameters dictionary, matching netCDF4’s var.filters() API.

Returns a dictionary with compression flags (zlib, szip, bzip2, blosc, zstd) and complevel, matching the format returned by netCDF4’s var.filters() method. Returns None if no filters are present.

property fletcher32#
property shuffle#