Skip to main content

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

Metadata

Release files for stactools-datacube 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stactools-datacube 0.1.0
File Size Uploaded
stactools-datacube-0.1.0.tar.gz 9.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stactools-datacube 0.1.0
File Interpreter ABI Platform
stactools_datacube-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.0 kB

Release files / stactools-datacube-0.1.0.tar.gz

Download URL stactools-datacube-0.1.0.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
cb5865b80f534c7f30e1ab2a40f559711ac83490fc517de2c0327e56ef2e3430
BLAKE2b-256 checksum
How to use checksums
152b9e859de79fb62fa1d73fb2e312ffb718150c0e5f5274fcf760b0c7970620
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / stactools_datacube-0.1.0-py3-none-any.whl

Download URL stactools_datacube-0.1.0-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73a8594ac80feff5b804fc48384d586e1df2336b0ed7c802c9557eec313a8538
BLAKE2b-256 checksum
How to use checksums
eadb4f388f978aa3867d355b5ba6c8071b6de0fe937b3c639ee4360672cf2bd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page