Skip to main content

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

Project description

stac-generator

Documentation page

Examples of stac generator configs in csv/json/yaml

Examples of generated stac items for point data, vector data, raster data

CLI Commands

Generating collection and push to remote

pdm run stac_generator https://object-store.rc.nectar.org.au/v1/AUTH_2b454f47f2654ab58698afd4b4d5eba7/mccn-test-data/OZBarley/remote_config.json --dst http://203.101.227.130:8082 --id OZBarleyTestData

For developers

Clone:

git clone https://github.com/aus-plant-phenomics-network/stac-generator.git

Install dependencies:

pdm install

Run tests:

Note that you may need to set the environment variable REMOTE_FIXTURE_URL either through commands or via a .env file. The value of this variable can be found on the github repository under Settings - Environments - Environment Variables.

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.33.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.3.33-py3-none-any.whl (9.5 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pystac_generator-0.3.33.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.3.33.tar.gz
Algorithm Hash digest
SHA256 8c8189ba03401967f44eb6c851460b130cc7aa3b58f8ebe8ae1b82520b34a130
MD5 e4a0bf5b1b85ea6f480096d53e30d3f1
BLAKE2b-256 3cfd9bf7f81819f1d66e1af900baf63c7f7e336734e77fd4bc3edffb16904238

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pystac_generator-0.3.33-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.3.33-py3-none-any.whl
Algorithm Hash digest
SHA256 832cf48bf1656592c73d0977e667c89e5eba0e1969406d6afe801c1c045dd4bb
MD5 12e19de7914ad80a8503d35db7604461
BLAKE2b-256 cf64b236366d3314d78e6062b310c01f29c4becf0f6234f462f736831075abef

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