check_input_data

check_input_data is a script in CIMEROOT/CIME/Tools.

$ ./check_input_data --help
usage: check_input_data [-h] [-d] [-v] [-s] [--protocol PROTOCOL]
                        [--server SERVER] [-i INPUT_DATA_ROOT]
                        [--data-list-dir DATA_LIST_DIR] [--download]
                        [--chksum]

This script determines if the required data files for your case exist on local disk in the appropriate subdirectory of
$DIN_LOC_ROOT. It automatically downloads missing data required for your simulation.

It is recommended that users on a given system share a common $DIN_LOC_ROOT directory to avoid duplication on
disk of large amounts of input data. You may need to talk to your system administrator in order to set this up.

This script should be run from $CASEROOT.

To verify the presence of required data use:
   ./check_input_data

To obtain missing datasets from the input data server(s) use:
   ./check_input_data --download

This script is automatically called by the case control system, when the case is built and submitted.
So manual usage of this script is optional.

options:
  -h, --help            show this help message and exit
  --protocol PROTOCOL   The input data protocol to download data.
  --server SERVER       The input data repository from which to download data.
  -i INPUT_DATA_ROOT, --input-data-root INPUT_DATA_ROOT
                        The root directory where input data goes,
                        use xmlquery DIN_LOC_ROOT to see default value.
  --data-list-dir DATA_LIST_DIR
                        Where to find list of input files
  --download            Attempt to download missing input files
  --chksum              chksum inputfiles against inputdata_chksum.dat (if available)

Logging options:
  -d, --debug           Print debug information (very verbose) to file /home/runner/work/cime/cime/CIME/Tools/check_input_data.log
  -v, --verbose         Add additional context (time and file) to log messages
  -s, --silent          Print only warnings and error messages