Skip to main content

Library for saving and retrieving NZHSM openquake hazard results with convenience (uses AWS Dynamodb).

Project description

toshi-hazard-store

pypi python Build Status codecov

This library provides different hazard storage options used withon NSHM hazard pipelines. Third parties may wish to process models based on, or similar in scale to the NZSHM 22.

Features

  • Extract realisations from PSHA (openquake) hazard calcs and store these in Parquet dataset.
  • Manage Openquake hazard results in AWS DynamodDB tables defined herein (used by NSHM project).
  • CLI tools for end users
  • Legacy features:
    • Option for caching using sqlite, See NZSHM22_HAZARD_STORE_LOCAL_CACHE environment variable.
    • Option to use a local sqlite store instead of DynamoDB, see THS_USE_SQLITE_ADAPTER and THS_SQLITE_FOLDER variables.

Credits

This package was created with Cookiecutter and the waynerv/cookiecutter-pypackage project template.

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

toshi_hazard_store-0.9.1.tar.gz (34.4 MB view details)

Uploaded Source

Built Distribution

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

toshi_hazard_store-0.9.1-py3-none-any.whl (163.4 kB view details)

Uploaded Python 3

File details

Details for the file toshi_hazard_store-0.9.1.tar.gz.

File metadata

  • Download URL: toshi_hazard_store-0.9.1.tar.gz
  • Upload date:
  • Size: 34.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for toshi_hazard_store-0.9.1.tar.gz
Algorithm Hash digest
SHA256 509359e3f781e9f941d382e0c0c3be98c0439737461cbad0dc2425691fcce74f
MD5 c4ed16a517fed86076a0643fcb9d4887
BLAKE2b-256 503ee49e40a2d8d595426d9ac1813ff88ca47472b4c7b0ecc2cc1f39a90fb1a0

See more details on using hashes here.

File details

Details for the file toshi_hazard_store-0.9.1-py3-none-any.whl.

File metadata

File hashes

Hashes for toshi_hazard_store-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 22c9669e52aa7cea006ba52df2e36bc65d7c7760a981eded4722f507e713c80a
MD5 605f6007ceafda751aab8147d91a7e7a
BLAKE2b-256 0d836027c48cb2f12c04790c01175dd3ce26f68d09d358124a64d9ff486c107b

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