Skip to content

Scripts

Solvis_store cli script support common data processing operations.

CLI

Usage:

CLI [OPTIONS] COMMAND [ARGS]...

Options:

  --help  Show this message and exit.

parents

Create pynamoDB records for rupture sets tha include each parent fault name.

from the CompositeSolution file at ARCHIVE_PATH, using model model_id

NB these two must be compatible.

Usage:

CLI parents [OPTIONS] ARCHIVE_PATH

Options:

  -M, --model_id TEXT  default value is `NSHM_v1.0.4`
  -D, --dry_run        do everything except save the data
  -T, --create_tables  ensure that the tables exist
  --help               Show this message and exit.

radius

Create pynamoDB records for rupture sets based on radius from standard locations.

from the CompositeSolution file at ARCHIVE_PATH, using model model_id

NB these two must be compatible.

Usage:

CLI radius [OPTIONS] ARCHIVE_PATH

Options:

  -M, --model_id TEXT  default value is `NSHM_v1.0.4`
  -D, --dry_run        do everything except save the data
  -T, --create_tables  ensure that the tables exist
  --help               Show this message and exit.