h5netcdf.legacyapi.Dimension
h5netcdf.legacyapi.Dimension¶
- class h5netcdf.legacyapi.Dimension(parent, name, size=None, create_h5ds=False)¶
- __init__(parent, name, size=None, create_h5ds=False)¶
NetCDF4 Dimension constructor.
- Parameters
parent (
h5netcdf.Group) – Parent group.name (
str) – Name of the dimension.size (
int) – Size of the Netcdf4 Dimension. Defaults to None (unlimited).create_h5ds (
bool) – For internal use only.
Methods
__init__(parent, name[, size, create_h5ds])NetCDF4 Dimension constructor.
group()Return parent group.
isunlimited()Return
Trueif dimension is unlimited, otherwiseFalse.Attributes
nameReturn dimension name.
sizeReturn dimension size.