datacube.Datacube.measurement_data

static Datacube.measurement_data(sources, geobox, measurement, fuse_func=None, dask_chunks=None)[source]

Retrieve a single measurement variable as a xarray.DataArray.

See also

load_data()

Parameters:
  • sources (xarray.DataArray) – DataArray holding a list of datacube.model.Dataset objects
  • geobox (GeoBox) – A GeoBox defining the output spatial projection and resolution
  • measurementMeasurement object
  • fuse_func – function to merge successive arrays as an output
  • dask_chunks (dict) – If the data should be loaded as needed using dask.array.Array, specify the chunk size in each output direction. See the documentation on using xarray with dask for more information.
Return type:

xarray.DataArray