Skip to main content

stactools package for datacube data formats

Project description

stactools-datacube

PyPI

This stactools extension package allows to create or extend STAC Items dealing with multi-dimensional data formats and to extract datacube related metadata from these assets.

This extension relies on the GDAL multi-dimensional raster capabilities via the official Python API.

STAC Examples

Installation

pip install "pygdal==$(gdal-config --version).*"
pip install stactools-datacube

Command-line Usage

This command creates a new STAC Item from a multi-dimensional file like a netCDF:

stac datacube create-item source destination

The following command extends an existing STAC Item, optionally by specifying an explicit asset:

stac datacube extend-item source --asset asset-name

Use stac datacube --help to see all subcommands and options.

Contributing

We use pre-commit to check any changes. To set up your development environment:

pip install -e .
pip install -r requirements-dev.txt
pre-commit install

To check all files:

pre-commit run --all-files

To run the tests:

pytest -vv

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

stactools-datacube-0.1.0.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

stactools_datacube-0.1.0-py3-none-any.whl (7.7 kB view hashes)

Uploaded Python 3

Supported by

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