This document describes the command-line options available in schismviz, based on running the CLI help commands.
schismviz --help
schismviz output --help
schismviz calib --helpUsage: schismviz [OPTIONS] COMMAND [ARGS]...
schismviz - SCHISM visualization tools.
Options:
-v, --version Show the version and exit.
-h, --help Show this message and exit.
Commands:
calib config_file: str yaml file containing configuration
combine Launch the SCHISM combine UI backed by dvue's RegistryUIManager.
output Shows Data UI for SCHISM output files.
Usage: schismviz output [OPTIONS]
Options:
--schism_dir TEXT Path to the schism study directory
--repo_dir TEXT Path to the screened data directory
--inventory_file TEXT Path to the inventory file
--flux_xsect_file TEXT Path to the flux cross section file
--station_in_file TEXT Path to the station.in file
--flux_out TEXT Path to the flux.out file
--reftime TEXT Reference time
--yaml-file TEXT Path to the yaml file
-h, --help Show this message and exit.
Use your study YAML file to configure multiple SCHISM studies and datastore settings:
schismviz output --yaml-file examples/schism_slr_studies.yamlIf needed, you can still override datastore paths from the CLI:
schismviz output \
--yaml-file examples/schism_slr_studies.yaml The YAML should contain:
schism_studies: list of study definitions.datastore: optional datastore config used by the UI.
Example based on examples/schism_slr_studies.yaml:
schism_studies:
- label: "7.5"
base_dir: "simulations/set1_0075_clinic"
flux_xsect_file: "fluxflag.prop"
station_in_file: "station.in"
output_dir: "outputs"
param_nml_file: "param.nml.clinic"
flux_out: "flux.out"
reftime: "2020-01-01"
- label: "15"
base_dir: "simulations/set1_0150_clinic"
flux_xsect_file: "fluxflag.prop"
station_in_file: "station.in"
output_dir: "outputs"
param_nml_file: "param.nml.clinic"
flux_out: "flux.out"
reftime: "2020-01-01"
datastore:
repo_dir: /scratch/nasbdo/modeling_data/repo/continuous/screened
inventory_file: /scratch/nasbdo/modeling_data/repo/continuous/inventory_datasets_screened_20260121.csvbase_direntries are interpreted relative to the YAML file location when they are relative paths.- When
--yaml-fileis provided, it is used to create multiple studies for comparison in the output UI.
Launch the SCHISM combine UI using dvue's RegistryUIManager. Supports
param.nml files (one per study) and multi-study YAML config files
interchangeably. time_range is inferred automatically from the scanned
studies.
Usage: schismviz combine [OPTIONS] [FILES]...
Launch the SCHISM combine UI backed by dvue's RegistryUIManager.
FILES can be param.nml files (one per study directory) or a YAML config
file with a schism_studies key. Multiple sources of either kind may be
mixed on the same command line.
Options:
--port INTEGER Port to serve the UI on (0 = random available port).
-h, --help Show this message and exit.
Supported file types:
| Extension | Input | Notes |
|---|---|---|
.nml |
param.nml in a SCHISM study directory |
Study name inferred from parent directory name |
.nml.clinic |
param.nml.clinic — baroclinic param file |
Same handling as .nml |
.nml.barotropic |
param.nml.barotropic — barotropic param file |
Same handling as .nml |
.nml.tropic |
param.nml.tropic — tropic param file |
Same handling as .nml |
.yaml / .yml |
Multi-study YAML with schism_studies key |
Silently ignored if key is absent |
# Two study directories side-by-side
schismviz combine study1/param.nml study2/param.nml
# Compound NML variants (clinic / barotropic / tropic)
schismviz combine study1/param.nml.clinic study2/param.nml.barotropic
# Multi-study YAML (same format as schismviz output --yaml-file)
schismviz combine examples/schism_slr_studies.yaml
# dvue generic combine UI (enables mixing SCHISM + other registered sources)
dvue ui --plugin schismviz.readers study1/param.nml study2/param.nml| Feature | schismviz output |
schismviz combine |
|---|---|---|
| Observation datastore | Yes (via datastore: YAML key) |
No (dvue-native pattern) |
| Unit conversion | Yes (convert_units toggle) |
No (raw units) |
| Mix with other dvue sources | No | Yes (via --plugin) |
| Auto time_range from study | Yes | Yes |
| Drag-and-drop additional files | No | Yes (dvue UI) |
Usage: schismviz calib [OPTIONS] CONFIG_FILE
Options:
--base_dir TEXT Base directory for config file
--variable [flow|elev|salt|temp|ssc]
Override variable from config (flow,
elev, salt, temp, ssc)
--selected-station TEXT Station ID to include. Repeat option
for multiple stations.
--start-inst TEXT Override start_inst date/time
--end-inst TEXT Override end_inst date/time
--start-avg TEXT Override start_avg date/time
--end-avg TEXT Override end_avg date/time
--dry-run Validate config and print resolved
settings without launching the UI
-h, --help Show this message and exit.
schismviz calib path/to/calibration_config.yaml
schismviz calib path/to/calibration_config.yaml --base_dir /path/to/studiesUsing examples/batch_metrics_itp2024.yaml:
# Validate and print resolved config without opening the UI
schismviz calib examples/batch_metrics_itp2024.yaml --dry-run
# Launch UI directly from the batch config
schismviz calib examples/batch_metrics_itp2024.yaml
# Optional overrides from CLI
schismviz calib examples/batch_metrics_itp2024.yaml \
--variable salt \
--selected-station fmb \
--selected-station mdm