Skip to content

ths_check

Console script for comparing datasets for content equivalence.

ths_ds_check

Compare NSHM Model hazard datasets.

Usage:

ths_ds_check [OPTIONS] COMMAND [ARGS]...

Options:

  --help  Show this message and exit.

aggs

randomly select THP aggs loc, hazard_id, rlz, source and compare the results

between two agg datasets having the hive layers

Usage:

ths_ds_check aggs [OPTIONS] DATASET0 DATASET1

Options:

  -n, --count INTEGER
  --help               Show this message and exit.

rlzs

randomly select realisations loc, hazard_id, rlz, source and compare the results

between two rlz datasetsn both having the hive layers: vs30, nloc_0.

Usage:

ths_ds_check rlzs [OPTIONS] DATASET0 DATASET1

Options:

  -l, --levels INTEGER  how many partition (folder) levels to subdivide the
                        source folder by
  -cid, --calc-id TEXT
  -n, --count INTEGER
  -v, --verbose
  -x, --exit-on-error
  --help                Show this message and exit.