cf.Data.source¶
-
Data.
source
(default=ValueError())[source]¶ Return the underlying array object.
- Parameters
- default: optional
Return the value of the default parameter if the array has not been set.
If set to an
Exception
instance then it will be raised instead.
- Returns
- subclass of
Array
The underlying array object.
- subclass of
Examples:
>>> f = cf.read('file.nc')[0] >>> d = f.data >>> d.source() <CF NetCDFArray(149, 182): file=file.nc variable=latitude>