hmp show#
Uses hmp.show(), hmp.open().
$ hmp show [-h] [-w WORKSPACE] [--format {table,json,csv}] [--verbosity {quiet,normal,verbose,debug} | -q | -v | --debug] [--profile | --point | --rank METRIC | --figure NAME | --report | --table NAME] [--detail] [--to FILE] [--var NAME] [--xy X Y | --cell CELL] [--layer LAYER | --depth METERS] [--label LABEL] [--timestep TIMESTEP] [-n LIMIT] [--worst] [--mixed-windows] [--time TIME] [--opt NAME=VALUE] [--engine {static,interactive}] [--data DIR] [--overview RUN] [--preset {research,management}] [--station ID] [--strict] [--open] [REF ...]Show a run, a session or a project: summary, profile, point, rank, figure, report
| Argument | What it does |
|---|---|
REF | A run (directory, name, sim_id prefix or @-selector), a session, or '.' for the project. Several runs are read by --point only. Default: the project. |
--profile | Print where the time went, not the summary |
--point | Read variables in one cell (--var, then --xy or --cell) |
--rank METRIC | Rank the runs of the project by METRIC, best first (-n, --worst) |
--figure NAME | Draw one figure: a name 'hmp config figures' lists, a registered variable or a preset |
--report | Write the report of a run or of a session |
--table NAME | Print one sealed table |
--detail | With the summary of a run, print the facts of the index and the Zarr layout |
--to FILE | Write the figure, the point table or the sealed table here |
--var NAME | Field to read, persisted or virtual. Repeat for several fields. |
--xy X Y | Coordinates in the simulation CRS |
--cell CELL | Zero-based cell index |
--layer LAYER | Zero-based layer index |
--depth METERS | Depth below the local model top |
--label LABEL | Name of the point reported in the table |
--timestep TIMESTEP | Keep a single timestep (negative counts from the end) |
-n, --limit LIMIT | Rows to show (default: 1) |
--worst | The worst runs, not the best |
--mixed-windows | Rank scores computed on different windows, stations or rule versions together |
--time TIME | Instant a map draws: a date (2002-10-15), "first" or "last" |
--opt NAME=VALUE | Request field of a variable or a preset, repeatable (station, layer, scale): a TOML value (false, 12, [8, 4], "text") or bare text |
--engine ENGINE | Engine of a variable or a preset figure (default: its own) one of static | interactive |
--data DIR | Write the tables behind a variable or a preset figure to DIR, one <stem>_<key>.csv each, and draw nothing |
--overview RUN | The sealed overview of the site. Default: the overview of the same site. |
--preset PRESET | research writes report/ with three levels, management a one-page sheet one of research | management |
--station ID | Station of the report series and metrics, or of the ranking (default: the gauge) |
--strict | Fail when the report misses a figure it requires, once it is written |
--open | Open the report in the default browser once it is written |
Also takes the shared options --workspace --format --verbosity --quiet --verbose --debug.
Examples
$ hmp show base_v2 $ hmp show calage --format json $ hmp show base_v2 --profile $ hmp show base_v2 --figure watertable_depth_map --time 2002-10-15 --to map.png $ hmp show run_a run_b --point --var head --cell 5000 --to point.csv $ hmp show . --rank nse -n 5 $ hmp show base_v2 --report --preset management
Exit codes it sets itself: 2 10 14. An exception it does not catch ends with the code of its class. All exit codes.