cfdm.CompressedArray.source

CompressedArray.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.

Examples

>>> array
<RaggedContiguousArray(2, 4): >
>>> array.source()
<Data(5): [280.0, ..., 279.5]>