A python package and CLI tool for generating STAC catalog from spatial data files
Project description
STAC Generator
Check out the documentation 📚
Examples of stac generator configs in csv/json/yaml
Overview
STAC is a json-based metadata standard for describing spatial-temporal assets, particularly satellite and Earth observation data. STAC allows users to quickly search, discover and use geospatial assets by providing a consistent structure for query and storage.
The stac_generator can be used as a cross-platform command line interface (CLI) program or a python library that combines automatically extracted geospatial information from raw assets and other user-provided metadata to build a STAC-compliant metadata record for further use. Generated STAC records can be saved locally or behind a STAC API-compliant server.
The stac_generator was developed as part of the Multiscalar Crop Characterisation Project (MCCN). Using the STAC generator to describe an asset collection is the first step in building a datacube with the MCCN engine.
Installation
Requirements: python3.11-3.12
STAC Generator can be installed directly from Pypi:
pip install pystac-generator
Note that if you want STAC Generator to be accessible from everywhere (outside the environment where it is installed), you can install STAC Generator with pipx instead of pip. To install pipx, visit this.
pipx install pystac-generator
Upgrade
Using pip:
pip install pystac-generator --upgrade
Using pipx:
pipx upgrade pystac-generator
For developers
We use pdm as the project's package manager.
Clone:
git clone https://github.com/aus-plant-phenomics-network/stac-generator.git
Install dependencies:
pdm install
Run tests:
make test
Run static analysis
make lint
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pystac_generator-0.4.0.tar.gz.
File metadata
- Download URL: pystac_generator-0.4.0.tar.gz
- Upload date:
- Size: 8.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.24.1 CPython/3.11.8 Linux/5.15.167.4-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb56dd1333c81d8311be1b300e3488869e2a2ee835422c318ec9e7641d88b145
|
|
| MD5 |
faf24aad31364eb134f822de7e723f7f
|
|
| BLAKE2b-256 |
3a86a6975c30d22871bdd4a8585a027d196bf898eb3daf49556699897a14f089
|
File details
Details for the file pystac_generator-0.4.0-py3-none-any.whl.
File metadata
- Download URL: pystac_generator-0.4.0-py3-none-any.whl
- Upload date:
- Size: 9.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.24.1 CPython/3.11.8 Linux/5.15.167.4-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5b894d56be9663b58bf98f8207f6332d017e91c9525d05e6765cfa09185351f
|
|
| MD5 |
4fbaa89fb6e45ee36a26f3946e328ad3
|
|
| BLAKE2b-256 |
2c7b031878e8419b44ecb7fba582903ed6ade1a6545c207ac0c010bcf0c59b2d
|