cfdm.ZarrArray.get_variable¶
- ZarrArray.get_variable(default=AttributeError())[source]¶
Get the open dataset variable object for the data.
Added in version (cfdm): 1.13.1.0
- Parameters:
- default: optional
Return default if the variable has not been set.
If set to an
Exceptioninstance then it will be raised instead.
- Returns:
The open dataset variable object.