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
Exceptioninstance 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 PyfiveArray(149, 182): file.nc latitude(149, 182)>