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
This package is be available on conda-forge channel:
conda install -c conda-forge 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.0a9.tar.gz
(25.6 kB
view hashes)
Built Distribution
odc_stac-0.2.0a9-py3-none-any.whl
(28.0 kB
view hashes)
Close
Hashes for odc_stac-0.2.0a9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b375b19906d67a3d4fe558782d4d5eb20fe4f8d0a98fa5995f148675a42aa6b3 |
|
MD5 | 80a2e7ea7e3c2256ed785200311699aa |
|
BLAKE2b-256 | d41bcb5cb898a376bce2822b6f2e55f50a46185e9e837575beef6fe9f363aa6c |