Skip to content
Back to skills

Docs

ASecurity

Execute the mizuRoute Fortran binary with proper validation before and after.

  • 200 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
testingpythonbash

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned September 11, 2026

npx -y skills add lzwei196/KISS---Knowledge-Infrastructure-for-Scientific-Simulation --skill docs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Docs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Docs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lzwei196-docs-e803e9a3/badge)](https://www.skillsdirectory.com/skills/lzwei196-docs-e803e9a3)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Stage 5: Running mizuRoute

## Purpose
Execute the mizuRoute Fortran binary with proper validation before and after.

## Prerequisites
- [ ] mizuRoute binary compiled: `model/mizuRoute/mizuRoute-main/route/bin/mizuroute.exe`
- [ ] Control file generated (Stage 4)
- [ ] All input files exist and are readable

## Procedure
```bash
python tools/s5_execution/run_mizuroute.py \
  --control_file <control_path> \
  --exe model/mizuRoute/mizuRoute-main/route/bin/mizuroute.exe
```

## Expected Runtimes

| Basin size | Reaches | IRF | KWE | MC | DW |
|-----------|---------|-----|-----|----|----|
| < 1,000 km2 | 20-100 | <10s | <30s | <30s | <60s |
| 1,000-10,000 km2 | 100-500 | <30s | <2min | <2min | <5min |
| 10,000-100,000 km2 | 500-2000 | <2min | <10min | <10min | <30min |
| > 100,000 km2 | 2000+ | <5min | <30min | <30min | hours |

Per year of simulation. Multiply by number of years.

## Error Interpretation

| Error message | Triplet | Action |
|--------------|---------|--------|
| `Cannot open file` | dt_m002 | Check paths in control file |
| `Variable not found` | dt_m004 | Check vname_* matches NetCDF |
| `CFL violation` | dt_m009 | Reduce dt or use IRF/KWT |
| `MPI_ABORT` | dt_m012 | Check network connectivity |
| Segfault / no output | dt_m017 | Check path lengths (<120 chars) |

## Output Files
mizuRoute writes NetCDF files to `output_dir` with the naming pattern:
`<fname_output>.mizuroute.h.YYYY-MM-DD-SSSSS.nc`

Key variables: `IRFroutedRunoff`, `dlayRunoff`, `KWTroutedRunoff` (depending on method)

Files in this skill

  • REFERENCES.md1.1 KB
  • format_spec.yaml23.5 KB
  • papers.json4.2 KB
  • s0_config_skill.md2.7 KB
  • s1_network_skill.md1.7 KB
  • s2_remap_skill.md1.1 KB
  • s3_runoff_skill.md3.9 KB
  • s4_control_skill.md2 KB
  • s5_execution_skill.md1.5 KB
  • s6_comparison_skill.md2.2 KB
  • s_lake_routing_skill.md1.9 KB
  • validation_convention.yaml12.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…