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.3.34.tar.gz (11.7 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.3.34-py3-none-any.whl (14.5 MB view details)

Uploaded Python 3

File details

Details for the file pystac_generator-0.3.34.tar.gz.

File metadata

  • Download URL: pystac_generator-0.3.34.tar.gz
  • Upload date:
  • Size: 11.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.24.1 CPython/3.11.7 Linux/6.8.0-57-generic

File hashes

Hashes for pystac_generator-0.3.34.tar.gz
Algorithm Hash digest
SHA256 c1fc6715501b8d5ec95b1e4cbcc550cad0ec3db692c861e4a9c96cfcb1167bb5
MD5 10fdae1364886c23e60fe8971679bd04
BLAKE2b-256 136f0c6c648dfe54e716189e39e04630c0ae74c4dc85f82aa7d76923521bc9bb

See more details on using hashes here.

File details

Details for the file pystac_generator-0.3.34-py3-none-any.whl.

File metadata

  • Download URL: pystac_generator-0.3.34-py3-none-any.whl
  • Upload date:
  • Size: 14.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.24.1 CPython/3.11.7 Linux/6.8.0-57-generic

File hashes

Hashes for pystac_generator-0.3.34-py3-none-any.whl
Algorithm Hash digest
SHA256 bebce2d10d959c88a577575aa679c8783efaabf3cd0630e66b7410c153511a08
MD5 570083a0187100e04d91758b3f3652f7
BLAKE2b-256 d35abf53d9ae59f39910a4e69ffe612d3eaa4aa9afbfbd19b129799c710eda8f

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