Tooling for converting STAC metadata to ODC data model
Project description
odc.stac
Tooling for converting STAC metadata to ODC data model.
Usage
odc.stac.load
catalog = pystac.Client.open(...)
query = catalog.search(...)
xx = odc.stac.load(
query.get_items(),
bands=["red", "green", "blue"],
crs="EPSG:32606",
resolution=(-100, 100),
)
xx.red.plot.imshow(col="time")
Installation
Using pip
pip install odc-stac
Using Conda
conda -c conda-forge install odc-stac
To use development version of odc-stac install dependencies from conda, then install odc-stac with pip.
Sample environment.yml is provided below.
channels:
- conda-forge
dependencies:
- datacube >=1.8.5
- xarray
- numpy
- pandas
- affine
- rasterio
- toolz
- jinja2
- pystac
- pip =20
- pip:
- odc-stac
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
odc-stac-0.2.0a8.tar.gz
(28.6 kB
view hashes)
Built Distribution
odc_stac-0.2.0a8-py3-none-any.whl
(36.6 kB
view hashes)
Close
Hashes for odc_stac-0.2.0a8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c691fb6fe44e7d83ae252d5229b025e413d8d75833fe7c22dd7abbbda8d2d323 |
|
MD5 | f699881477a57fd017ab14a8d37e8922 |
|
BLAKE2b-256 | 952d23359457556288beb84be5694d1d00bbe05d6f07654fb04751f6c18a5432 |