sidpy.hdf.hdf_utils.lazy_load_array

sidpy.hdf.hdf_utils.lazy_load_array(dataset)[source]

Loads the provided object as a dask array (h5py.Dataset or numpy.ndarray)

Parameters:

dataset (numpy.ndarray, or h5py.Dataset, or) – dask.array.core.Array to load as dask array

Returns:

Dask array with appropriate chunks

Return type:

dask.array.core.Array