Dimensions
Class Dimension
is used to define the shape of NetCDF variables. In NetCDF,
a variable, an instance of pnetcdf.Variable
, is a multi-dimensional
array. Methods in pnetcdf.Dimension
provide an interface to access
dimensions objects stored in the file.
- Read-only python fields of class
pnetcdf.Dimension
The following class fields are read-only and should not be modified by the user.
- name
String name of Dimension instance. This class field is read-only and should not be modified by the user. To rename a dimension, use
File.rename_dim()
method.Type: str
- size
The current size of Dimension (its value can be obtained by calling python function
len()
on the Dimension instance).Type: int