Overview — odc-stac 0.4.0 documentation (original) (raw)

Load STAC pystac.Items into xarray.Dataset.

catalog = pystac_client.Client.open(...) query = catalog.search(...) xx = odc.stac.load( query.items(), bands=["red", "green", "blue"], resolution=100, ) xx.red.plot.imshow(col="time")

See odc.stac.load().

Installation

Using pip

Using Conda

conda install -c conda-forge odc-stac

From unreleased source

Using latest unreleased code in conda is also possible. It’s best to install dependencies using conda then install odc-stac with pip. Sampleenvironment.yml is provided below.

channels: