odc.geo.xr.to_rgba

odc.geo.xr.to_rgba(ds, bands=None, *, vmin=None, vmax=None)[source]

Convert dataset to RGBA image.

Given xarray.Dataset with bands red,green,blue construct xarray.Datarray containing uint8 rgba image.

Parameters:
Return type:

DataArray