hmp ls#
Uses hmp.status().
$ hmp ls [-h] [-w WORKSPACE] [--format {table,json,csv}] [--verbosity {quiet,normal,verbose,debug} | -q | -v | --debug] [--project PROJECT] [--solver SOLVER] [--site SITE] [--status STATUS] [--label LABEL] [--tag TAG] [--by {site}] [--best METRIC] [--mixed-windows] [--limit LIMIT] [--disk] [--plan] [--stale-minutes MIN]List the runs of a project, or where its plan stands
| Argument | What it does |
|---|---|
--project PROJECT | Restrict to one project (looks at projects/<name>/.hmp/index.duckdb) |
--solver SOLVER | Filter by solver (exact match on the name the run carries) |
--site SITE | Filter by site name (exact match) |
--status STATUS | Filter by status (a sealed run is completed) |
--label LABEL | Filter by label (exploratory, calibrated, evaluated, failed) |
--tag TAG | Filter by an exact tag (e.g. pinned) |
--by BY | Group the runs by site; with --best, keep the best run of each site one of site |
--best METRIC | Rank by METRIC (nse, kge, rmse...), best first; runs without it are left out |
--mixed-windows | With --best, rank scores computed on different windows or rules together |
--limit LIMIT | Maximum number of rows to print |
--disk | List the runs and the sessions from their directories, with no index |
--plan | Say where each case of the plan of a [sites] project stands |
--stale-minutes MIN | With --plan, the age of the pulse past which a running case reads as stale (default: 5) |
Also takes the shared options --workspace --format --verbosity --quiet --verbose --debug.
Examples
$ hmp ls --site my_catchment --label calibrated --format json $ hmp ls --best nse $ hmp ls --by site --best nse --format csv $ hmp ls --disk $ hmp ls --plan
Exit codes it sets itself: 2 10. An exception it does not catch ends with the code of its class. All exit codes.