Home | Trees | Indices | Help |
---|
|
object --+ | Dimension
A netCDF `netCDF4.Dimension` is used to describe the coordinates of a `netCDF4.Variable`. See `netCDF4.Dimension.__init__` for more details.
The current maximum size of a `netCDF4.Dimension` instance can be obtained by calling the python `len` function on the `netCDF4.Dimension` instance. The `netCDF4.Dimension.isunlimited` method of a `netCDF4.Dimension` instance can be used to determine if the dimension is unlimited.
Read-only class variables:
**`name`**: String name, used when creating a `netCDF4.Variable` with `netCDF4.Dataset.createVariable`.
|
|||
|
|||
|
|||
a new object with type S, a subtype of T |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
_data_model | |||
_dimid | |||
_grp | |||
_grpid | |||
_name | |||
name string name of Dimension instance |
|||
Inherited from |
|
**`__init__(self, group, name, size=None)`** `netCDF4.Dimension` constructor. **`group`**: `netCDF4.Group` instance to associate with dimension. **`name`**: Name of the dimension. **`size`**: Size of the dimension. `None` or 0 means unlimited. (Default `None`). ***Note***: `netCDF4.Dimension` instances should be created using the `netCDF4.Dataset.createDimension` method of a `netCDF4.Group` or `netCDF4.Dataset` instance, not using `netCDF4.Dimension.__init__` directly.
|
|
repr(x)
|
**`group(self)`** return the group that this `netCDF4.Dimension` is a member of. |
**`isunlimited(self)`** returns `True` if the `netCDF4.Dimension` instance is unlimited, `False` otherwise. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sun Apr 3 06:23:31 2016 | http://epydoc.sourceforge.net |