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"],
output_crs="EPSG:32606",
resolution=(100, -100),
)
xx.red.plot.imshow(col="time")
Installation
Using pip
pip install odc-stac
Using Conda
Currently conda package is not done yet. It’s best to install dependencies using 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.0a5.tar.gz
(22.0 kB
view hashes)
Built Distribution
odc_stac-0.2.0a5-py3-none-any.whl
(30.4 kB
view hashes)
Close
Hashes for odc_stac-0.2.0a5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7f33ba2edb9235e906c93f9982cd4db08840c55d9abf0ec85d20bd3e424ff7c |
|
MD5 | 9c210c146b1a01e77fa02de53148f418 |
|
BLAKE2b-256 | a52f2c2c307e0a59ec0f30185f69b1b688d5d572379a5ef7d2b8791927eb934f |