Index
These CLI tools are used to manage hazard datasets and their metadata.
Please see Hazard dataset overview for context about the hazard datasets themselves.
Import workflow¶
For hazard calculations:
ths_compatto list or maintain compatablity keys (these hopefully rarely change)ths_rlz_import producersto ensure latest producer configs are available in THS/resources.ths_rlz_import rlzsto extract openquake hazard curves as a parquet dataset.ths_rlz_sanity count_rlzsto count realisations in a parquet dataset.
See Aggregation CLI workflow for a detailed example of the above.
Migration workflow¶
For migrating from older NSHM_v1.0.* calcuations we use the same Import workflow (see above) , then:
ths_rlz_sanity random_rlz_newto compare random hazard curves with new datasets
Utilities:¶
ths_defragto reorganise and optimise hazard datasets.ths_checkto verify equivalence of two hazard datasetsths_filterto create a subset dataset from a larger one.ths_queryrun simple queries on a hazard dataset.
History¶
About the legacy storage systems.