Open krishnaglodha opened 3 months ago
Hey @krishnaglodha, can you please try the to_rgba()
functionality from odc-geo
instead? It's much more up to date; the function here will likely be deprecated.
https://odc-geo.readthedocs.io/en/latest/_api/odc.geo.xr.to_rgba.html#odc.geo.xr.to_rgba
You can either use it directly via the func, or use the nifty .odc.
functionality that's automatically added to your data when you import odc.geo.xr
:
import odc.geo.xr
your_data.odc.to_rgba()
Ah, actually - I think you might be using an old version of that documentation - it's different in the latest version: https://odc-stac.readthedocs.io/en/latest/notebooks/stac-load-S2-ms.html
Im trying to generate rgba based on https://odc-stac.readthedocs.io/en/v0.2.1/notebooks/stac-load-S2-ms.html?highlight=to_rgba#Import-some-tools-from-odc.{algo,ui} , on last step when I'm trying to plot data
I'm getting following error