Skip to main content

Tooling for converting STAC metadata to ODC data model

Project description

odc.stac

Test Status Documentation Status

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

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


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.0a7.tar.gz (24.7 kB view details)

Uploaded Source

Built Distribution

odc_stac-0.2.0a7-py3-none-any.whl (32.6 kB view details)

Uploaded Python 3

File details

Details for the file odc-stac-0.2.0a7.tar.gz.

File metadata

  • Download URL: odc-stac-0.2.0a7.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for odc-stac-0.2.0a7.tar.gz
Algorithm Hash digest
SHA256 0ca33c6917bdc1a9be02b710896be2c358dc9818bf33e602ae491f11a07b70d6
MD5 d209ecdbd5a612dfa149cabb07af3e62
BLAKE2b-256 c7f6a4cefed979f05d43997ff6e6d221bea712c75fc599aadd00e571abc4a3c1

See more details on using hashes here.

File details

Details for the file odc_stac-0.2.0a7-py3-none-any.whl.

File metadata

  • Download URL: odc_stac-0.2.0a7-py3-none-any.whl
  • Upload date:
  • Size: 32.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for odc_stac-0.2.0a7-py3-none-any.whl
Algorithm Hash digest
SHA256 0049a6efa3747d47f987a770aafd02cdcecae5074c1f8d15820accd0aa07974a
MD5 b65b0f1a34b2ba40df314df7b3118447
BLAKE2b-256 04b46f72ae67660efc2d81eb67b2cfb7fd14ad03166efa67653f07a64597e584

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page