Skip to main content

A python package and CLI tool for generating STAC catalog from spatial data files

Project description

STAC Generator

Project Status
CI/CD CI documentation

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pystac_generator-0.4.0.tar.gz (8.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pystac_generator-0.4.0-py3-none-any.whl (9.5 MB view details)

Uploaded Python 3

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

Hashes for pystac_generator-0.4.0.tar.gz
Algorithm Hash digest
SHA256 eb56dd1333c81d8311be1b300e3488869e2a2ee835422c318ec9e7641d88b145
MD5 faf24aad31364eb134f822de7e723f7f
BLAKE2b-256 3a86a6975c30d22871bdd4a8585a027d196bf898eb3daf49556699897a14f089

See more details on using hashes here.

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

Hashes for pystac_generator-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5b894d56be9663b58bf98f8207f6332d017e91c9525d05e6765cfa09185351f
MD5 4fbaa89fb6e45ee36a26f3946e328ad3
BLAKE2b-256 2c7b031878e8419b44ecb7fba582903ed6ade1a6545c207ac0c010bcf0c59b2d

See more details on using hashes here.

Supported by

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