Skip to content
Back to skills

Docs

ASecurity

Set basin identity, simulation period, resolution, model variant, routing method, sediment toggle, and forcing dataset. This is the HydroCraft orchestration config that drives all downstream stages. Skipping this stage means all subsequent tools lack required parameters.

  • 231 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
testing

Security analysis

A100/100

Pro scans all 14 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-834d1785/badge)](https://www.skillsdirectory.com/skills/lzwei196-docs-834d1785)

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
# s0 — Configuration Skill Document

## Purpose

Set basin identity, simulation period, resolution, model variant, routing method, sediment toggle, and forcing dataset. This is the HydroCraft orchestration config that drives all downstream stages. Skipping this stage means all subsequent tools lack required parameters.

## Prerequisites

- Basin location (lat/lon or shapefile path)
- Desired simulation period (start/end year)
- Knowledge of which forcing dataset covers the region

## Inputs

| Name | Type | Source | Description |
|------|------|--------|-------------|
| basin_name | string | user | Short identifier (e.g., "chaohe") |
| lat, lon | float | user or shapefile | Basin outlet or centroid coordinates |
| start_year, end_year | int | user | Simulation period |
| resolution | float | user | Grid resolution in degrees (0.25 or 0.1) |
| forcing | string | user | "cmfd" (China), "mswx" (global), or "nasa_power" |
| routing | string | user | "kinematic" (default) or "local_inertial" (flood) |
| sediment | bool | user | Enable wflow_sediment post-processor |
| glacier | bool | user | Enable glacier module (mountain basins only) |

## Procedure

1. Ask user for basin location and period
2. Determine forcing dataset: CMFD for China (1979-2018), MSWX for global/post-2018
3. Choose resolution: 0.25 deg default, 0.1 deg for small basins (<500 km2)
4. Choose routing: kinematic wave (fast, default) or local inertial (flood inundation)
5. Ask about sediment: enable if erosion/sediment transport is needed
6. Run `setup_wflow_config.py` to generate wflow_config.yaml
7. Verify config YAML contains all required fields

## Expected Outputs

| Output | Path | Verification |
|--------|------|-------------|
| wflow_config.yaml | outputs/<run>/wflow_config.yaml | YAML loads without error, all fields present |

## Validation Checks

1. lat/lon are within valid range (-90/90, -180/180)
2. start_year < end_year
3. Forcing dataset matches basin location (CMFD only for China)
4. Resolution is 0.25 or 0.1 (nothing finer)

## Common Pitfalls

- **dt_w001**: Using CMFD for basins outside China produces silent errors
- Using 0.05 deg resolution wastes computation (forcing is 0.1 deg native)
- Enabling glacier for non-glaciated basins adds computation for zero benefit (dt_w016)

Files in this skill

  • REFERENCES.md1.6 KB
  • format_spec.yaml45.8 KB
  • papers.json5.4 KB
  • s0_configuration_skill.md2.2 KB
  • s10_reservoir_skill.md8.2 KB
  • s1_hydromt_setup_skill.md15.3 KB
  • s2_forcing_skill.md2.9 KB
  • s3_parameters_skill.md2.9 KB
  • s4_execution_skill.md2.8 KB
  • s5_output_skill.md2.5 KB
  • s6_s8_sediment_skill.md6.1 KB
  • s9_coupling_skill.md3.1 KB
  • validation_convention.yaml14.8 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.

View all in testing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.