cfdm.H5netcdfArray.__array__

H5netcdfArray.__array__(dtype=None, copy=None)[source]

Convert the H5netcdfArray into a numpy array.

Added in version (cfdm): 1.11.2.0

Parameters:
dtype: optional

Typecode or data-type to which the array is cast.

copy: None or bool

Included to match the v2 numpy.ndarray.__array__ API, but ignored. The return numpy array is always independent.

Added in version (cfdm): 1.12.0.0

Returns:
numpy.ndarray

An independent numpy array of the subspace of the data defined by the indices attribute.