cfdm.H5netcdfArray.__array__¶
- H5netcdfArray.__array__(dtype=None, copy=None)[source]¶
Convert the
H5netcdfArrayinto anumpyarray.Added in version (cfdm): 1.11.2.0
- Parameters:
- dtype: optional
Typecode or data-type to which the array is cast.
- copy:
Noneorbool 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.ndarrayAn independent
numpyarray of the subspace of the data defined by theindicesattribute.