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.31.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.31-py3-none-any.whl (27.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pystac_generator-0.3.31.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.31.tar.gz
Algorithm Hash digest
SHA256 a2d2913a19ed722a3cc3d1ab337fdf499b63ddf6c3f55aac9a9ceb97ef12eb96
MD5 16e3104d1b2acfc536141cb380b6b047
BLAKE2b-256 81fab717763c08f87fb3b6b785cf5fa6522b049e4b022b19f735d6b472a76324

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pystac_generator-0.3.31-py3-none-any.whl
  • Upload date:
  • Size: 27.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.31-py3-none-any.whl
Algorithm Hash digest
SHA256 32d5b09a87c4963cb66eaf4747ead91e1c2f23ecdd3901cd28b390aa474e2fab
MD5 9d8e7a8db86434875db0209a5cafb07b
BLAKE2b-256 7e194b1df195e059cdd26722f3ed388762b5a1214c9306d1fbd7c69ee73ccec2

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