Home | Trees | Indices | Help |
---|
|
object --+ | Dataset --+ | Group
Groups define a hierarchical namespace within a netCDF file. They are analagous to directories in a unix filesystem. Each `netCDF4.Group` behaves like a `netCDF4.Dataset` within a Dataset, and can contain it's own variables, dimensions and attributes (and other Groups). See `netCDF4.Group.__init__` for more details.
`netCDF4.Group` inherits from `netCDF4.Dataset`, so all the `netCDF4.Dataset` class methods and variables are available to a `netCDF4.Group` instance (except the `close` method).
Additional read-only class variables:
**`name`**: String describing the group name.
|
|||
|
|||
a new object with type S, a subtype of T |
|
||
|
|||
|
|||
Inherited from Inherited from |
|
|||
name string name of Group instance |
|||
Inherited from Inherited from |
|
**`__init__(self, parent, name)`** `netCDF4.Group` constructor. **`parent`**: `netCDF4.Group` instance for the parent group. If being created in the root group, use a `netCDF4.Dataset` instance. **`name`**: - Name of the group. ***Note***: `netCDF4.Group` instances should be created using the `netCDF4.Dataset.createGroup` method of a `netCDF4.Dataset` instance, or another `netCDF4.Group` instance, not using this class directly.
|
|
**`close(self)`** overrides `netCDF4.Dataset` close method which does not apply to `netCDF4.Group` instances, raises IOError.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sun Apr 3 06:23:31 2016 | http://epydoc.sourceforge.net |