type Dimension
object --+
|
Dimension
Dimension(self, dset, name, size=None)
A netCDF Dimension is used to describe the coordinates of a Variable.
Dimension
instances should be created using the createDimension method of a Dataset instance, not
using this class directly.
Parameters:
dset
- Dataset instance.
name
- Name of the dimension.
Keywords:
size
- Size of the dimension (Default
None
means unlimited).
Returns:
a Dimension
instance. All further operations on the netCDF Dimension are accomplised
via Dimension
instance methods.
The current maximum size of a Dimension instance can be obtained by calling the python
len
function on the Dimension instance. The isunlimited()
method of a Dimension instance can be used to determine if the
dimension is unlimited
|
__init__(self,
dset,
name,
size=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
|
|
a new object with type S, a subtype of T
|
|
|
isunlimited(self)
returns True if the Dimension
instance is unlimited, False otherwise. |
|
|
__init__(self,
dset,
name,
size=None)
(Constructor)
|
|
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature
- Overrides:
object.__init__
|
- Returns: a new object with type S, a subtype of T
- Overrides:
object.__new__
|