Toshi-hazard-store

Latest version: v0.7.9

Safety actively analyzes 687918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

0.5.4

Added
- new query get_one_gridded_hazard
- -m option to script to export meta tables only
Changed
- migrated print statements to logging.debug
- removed monkey patch for BASE183 - it iss in oqengine 3.15 now
- more test cover

0.5.3

Changed
- using nzshm-common==0.3.2 from pypi.
- specify poetry==1.2.0b3 in all the GHA yml files.

0.5.1

Added
- THS_HazardAggregation table support for csv serialisation.
Changed
- refactoring/renaming openquake import modules.
Removed
- one openquake test no longer works as expected. It's off-piste so skipping it for now.
- data_functions migrated to THP
- branch_combinator migrated to THP

0.5.0

Added
- V3 THS table models with improved indexing and and performance (esp. THS_HazardAggregation table)
- using latest CodedLocation API to manage gridded lcoations and resampling.
Removed
- realisation aggregration computations. These have moving to toshi-hazard-post

0.4.1

Added
- multi_batch module for parallelised batch saves
- DESIGN.md capture notes on the experiments, test and mods to the package
- new switch on V2 queries to force normalised_location_id
- new '-f' switch on store_hazard script to force normalised_location_id
- lat, lon Float fields to support numeric range filtering in queries
- created timestamp field on stas, rlzs v2
- added pynamodb_attributes for FloatAttribute, TimestampAttribute types

Changed
- V2 store queries will automatically use nomralised location if custom sites aren't available.
- refactored model modules.

0.4.0

Added
- new V2 models for stats and rlzs.
- new get_hazard script for manual testing.
- extra test coverage with optional openquake install as DEV dependency.

Changed
- meta dataframes are cut back to dstore defaults to minimise size.

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.