Skip to content

ths_grid_sanity

Console script for comparing Dataset grids

Given two datasources and a set of filter arguments, iterate the first datasource grid items and compare the corresponding item in the second. If value differences are out-of-tolerance (OOT), record the details for the specific locations that are OOT.

ths_grid_sanity

Console script comparing Dataset grids.

Usage:

ths_grid_sanity [OPTIONS] COMMAND [ARGS]...

Options:

  --help  Show this message and exit.

diff

Compare grids from two DATASET sources using CONFIG

Usage:

ths_grid_sanity diff [OPTIONS] DATASET CONFIG

Options:

  --help  Show this message and exit.

iterate

check DATASET has everything in CONFIG

Usage:

ths_grid_sanity iterate [OPTIONS] DATASET CONFIG

Options:

  --help  Show this message and exit.

report

Report on diff output to a jsonl file

Usage:

ths_grid_sanity report [OPTIONS] GRID_DIFF_ANALYSIS_JSON

Options:

  --help  Show this message and exit.