Class Group
object --+
|
Dataset --+
|
Group
Groups define a hierarchical namespace within a netCDF file. They are
analagous to directories in a unix filesystem. Each Group behaves like a Dataset within a
Dataset, and can contain it's own variables, dimensions and attributes
(and other Groups).
Constructor: Group(parent, name)
Group instances
should be created using the createGroup
method of a Dataset instance, or
another Group
instance, not using this class directly.
Parameters:
parent
- Group instance for the parent group. If being created
in the root group, use a Dataset instance.
name
- Name of the group.
Returns:
a Group instance.
All further operations on the netCDF Group are accomplised via Group instance
methods.
Group inherits
from Dataset, so
all the Dataset
class methods and variables are available to a Group instance (except
the close
method).
|
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature
|
|
__new__(T,
S,
...)
|
|
close(...)
overrides Dataset close method which does not apply to Group instances,
raises IOError.
|
Inherited from Dataset :
__delattr__ ,
__getattribute__ ,
__setattr__ ,
createDimension ,
createGroup ,
createUserType ,
createVariable ,
ncattrs ,
renameDimension ,
renameVariable ,
set_fill_off ,
set_fill_on ,
sync
Inherited from object :
__hash__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__str__
|
Inherited from object :
__class__
|
__init__(...)
(Constructor)
| |
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature
-
- Overrides:
Dataset.__init__
|
-
- Returns:
a new object with type S, a subtype of T
- Overrides:
Dataset.__new__
|