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.26.tar.gz (2.5 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.26-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pystac_generator-0.3.26.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.4 CPython/3.11.8 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for pystac_generator-0.3.26.tar.gz
Algorithm Hash digest
SHA256 f26ef354ee25d12dc9e49a1cb430b39f2bc1230164baf0b44e66dacf1d007e26
MD5 b3cb1061321fbdaae2a562add4300be4
BLAKE2b-256 e329ebd4bb30e3b9168c4710b050b9b3826aa56381c27b30b4504fd35f90608e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pystac_generator-0.3.26-py3-none-any.whl
  • Upload date:
  • Size: 26.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.4 CPython/3.11.8 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for pystac_generator-0.3.26-py3-none-any.whl
Algorithm Hash digest
SHA256 bde625493eb4a4d75314ec9baa7f624fbf20d97ce7d8059072b020862816f8f7
MD5 a56425dafda137d9372304691ffc6d92
BLAKE2b-256 f148a3f60760c3d262b98b3983d2930a9e73fea96bcfece40f629bdfe8bba09b

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