All authors

Claude Skills by lzwei196
github.com/lzwei196354 skills5 installs1,081 views
- Docs> **Stage ID**: s4_channel_routing > **Pipeline order**: 4 of 12 (part of Fulldom construction + namelist configuration) > **Depends on**: s1_domain, s2_geo_em, s4_fulldom, s9_namelistsVotes: 0GitHub stars: 231
- Docs> **Stage ID**: s6_groundwater > **Pipeline order**: 6 of 12 (part of groundwater/ancillary file construction) > **Depends on**: s1_domain, s2_geo_emVotes: 0GitHub stars: 231
- Docs> **Stage ID**: s9_runoff_options > **Pipeline order**: 9 of 12 (configured in namelist.hrldas, Stage s9_namelists) > **Depends on**: s5_soil_properties, s9_namelistsVotes: 0GitHub stars: 231
- WSIMOD- **Package**: `hydrocraft-wsimod` - **Model**: WSIMOD (Water Systems Integrated Modelling framework) - **Version**: 0.6+ (PyPI) - **Domain**: Integrated water cycle modelling — water quantity and quality - **Authors**: Barnaby Dobson, Imperial College London - **References**: Dobson et al. 2023 (JOSS, doi:10.21105/joss.04996); Dobson et al. 2024 (GMD, doi:10.5194/gmd-17-4495-2024) - **Stats**: ~11,500 lines Python source, current tool, stage-doc and triplet counts: the KI map at the top of t...Votes: 0GitHub stars: 231
- DocsConfigure the WSIMOD simulation: define the study period, select pollutants to track, design the node-arc graph topology, and choose execution mode (CLI vs Python API). This stage produces the structural blueprint that all downstream stages depend on.Votes: 0GitHub stars: 231
- DocsConvert raw meteorological and hydrological timeseries data into WSIMOD's `data_input_dict` format. This is the most error-prone stage because unit conversions are silent — wrong units produce plausible-looking but wrong results.Votes: 0GitHub stars: 231
- DocsSet physical parameters for each WSIMOD node: surface areas, storage capacities, residence times, pollutant loads, treatment efficiencies, and soil properties. Incorrect parameters produce silent errors because the model runs regardless.Votes: 0GitHub stars: 231
- DocsRun the WSIMOD simulation either through the CLI entry point or the Python API. Understand the orchestration sequence, handle runtime errors, and capture output.Votes: 0GitHub stars: 231
- DocsParse, validate, and analyze WSIMOD output files (flows.csv, tanks.csv, surfaces.csv). Extract specific variables, compute water balance metrics, and generate visualizations for model validation and reporting.Votes: 0GitHub stars: 231
- DfnWorks**Package**: `hydrocraft-dfnworks` v1.0.0 **Model**: dfnWorks v2.10.0 (DFNGen v2.3, DFNTrans, pydfnworks) **Created by**: LANL EES-16 (Jeffrey Hyman, Daniel Livingston, Satish Karra) **Last updated**: 2026-03-25 **Stats**: current tool, stage-doc and triplet counts: the KI map at the top of this file **Validation status**: `development_validated` (graph-based flow/transport on 3-family TPL network) ---Votes: 0GitHub stars: 231
- DocsConfigure the 3D domain geometry, define fracture families with statistical distributions, set boundary conditions, and assign hydraulic properties. This stage produces the complete parameter set required by DFNGen (Stage 1). All subsequent stages depend on correct configuration.Votes: 0GitHub stars: 231
- DocsGenerate a 3D discrete fracture network (DFN) using the DFNGen C++ executable. Places fractures stochastically in the domain according to specified statistical distributions for size, orientation, and spatial density. Rejects fractures that violate geometric constraints (too close to existing fractures, outside domain, etc.).Votes: 0GitHub stars: 231
- DocsGenerate a conforming Delaunay triangulation of the discrete fracture network using LaGriT. The mesh resolves all fracture intersections as triangle edges and creates Voronoi control volumes suitable for finite volume flow solvers (PFLOTRAN, FEHM). This stage is required for full-physics flow simulation but is NOT needed for graph-based mode.Votes: 0GitHub stars: 231
- DocsSolve steady-state fluid flow through the discrete fracture network to obtain pressure and velocity fields. Three solvers are available:Votes: 0GitHub stars: 231
- DocsSimulate solute transport through the DFN using Lagrangian particle tracking. Particles are released at the inlet boundary and tracked through the fracture network to the outlet, producing breakthrough curves (travel time distributions) that characterize transport behavior.Votes: 0GitHub stars: 231
- DocsExtract, analyze, and visualize dfnWorks simulation results. Compute summary statistics, breakthrough curves, effective permeability, flow channeling metrics, and generate publication-quality figures.Votes: 0GitHub stars: 231
- DocsConvert discrete fracture network (DFN) results to equivalent continuum representations for coupling with larger-scale models. Supports upscaled equivalent porous medium (ECPM) and unstructured DFM-to-continuum mapping for integration with basin-scale groundwater models.Votes: 0GitHub stars: 231
- Icepack**Package**: `hydrocraft-icepack-glacier` v1.0.0 **Model**: icepack v1.1.0 — Glacier Flow Modeling with Finite Elements **Author**: Daniel Shapero, University of Washington **Domain**: Cryosphere (ice sheets, ice shelves, ice streams, glaciers) **Last updated**: 2026-03-26 **Stats**: current tool, stage-doc and triplet counts: the KI map at the top of this file **Validation status**: `structurally_validated` ---Votes: 0GitHub stars: 231
- MHM> **MANDATORY EXECUTION POLICY** — READ BEFORE PROCEEDING > > You MUST run the **actual model binary or package** described in this document. > If the model fails to import, compile, or execute, you MUST: > 1. Check `diagnostics/triplets.yaml` for a matching error pattern > 2. Try the fix suggested in the triplet's `remedy` section > 3. If still failing, report the error to the user with full details > > You MUST NOT substitute a simplified Python formula, regression equation, > or hand-coded...Votes: 0GitHub stars: 231
- DocsCreate the mHM run directory tree and `config.json` for one basin. This stage fixes the basin name, period, three-grid resolutions, forcing source, PET mode, and mHM binary path used by all later tools.Votes: 0GitHub stars: 231
- DocsTransfer calibrated MPR global parameters from a gauged source basin to a target basin. This is the main mHM regionalization workflow in this KI.Votes: 0GitHub stars: 231
- DocsDefine the true catchment and the three mHM grids: L0 morphology, L1 hydrology, and L11 routing. This KI treats MERIT-Hydro area snapping as the first domain action for flat or engineered basins.Votes: 0GitHub stars: 231
- DocsGenerate every L0 morphological input mHM needs as aligned ESRI ASCII grids and matching classdefinition files: terrain, flow direction/accumulation, soil, geology, land cover/LAI, and gauge grid.Votes: 0GitHub stars: 231
- DocsCreate `mhm_parameter.nml`, the global MPR transfer-function parameter file. These are process parameters, not per-cell calibrated maps, and later s9/s10 stages modify or transfer them.Votes: 0GitHub stars: 231
- DocsConvert gridded meteorological forcing into the NetCDF layout and units mHM reads: `pre`, `tavg`, and, for PET method 0, `pet`.Votes: 0GitHub stars: 231
- DocsConvert observed discharge to the text format mHM reads for gauge evaluation.Votes: 0GitHub stars: 231
- DocsAssemble the four Fortran namelists mHM needs, including grid settings, process switches, paths, gauge metadata, evaluation period, optional optimization settings, and the parameter file.Votes: 0GitHub stars: 231
- DocsRun the actual mHM binary for the prepared basin. This stage must execute `KISSPATH_BINARIES/mhm/mhm` or the binary path in the run config; do not replace it with a simplified formula.Votes: 0GitHub stars: 231
- DocsExtract and evaluate mHM outputs, especially routed discharge, actual ET, soil moisture, and cross-model discharge comparisons.Votes: 0GitHub stars: 231
- DocsConfigure and run mHM's built-in DDS or SCE optimizer, then extract the best MPR global parameters for later forward validation or s10 transfer.Votes: 0GitHub stars: 231
- MizuRoute**Package**: `hydrocraft-mizuroute` v1.0.0 **Model**: mizuRoute (NCAR/ESCOMP), reach-based river routing **Repository**: https://github.com/ESCOMP/mizuRoute **Created by**: Jianyun Zhang Research Group, Hohai University **Last updated**: 2026-03-22 **Stats**: current tool, stage-doc and triplet counts: the KI map at the top of this file **Validation status**: `production_validated` — 3 serial stub bugs fixed ---Votes: 0GitHub stars: 231
- DocsSelect the appropriate routing method, configure basin parameters, and determine whether lake routing is needed. This stage produces the configuration consumed by all downstream stages.Votes: 0GitHub stars: 231
- DocsBuild the river network topology NetCDF that defines every reach and its contributing catchment (HRU). This is the core spatial input for mizuRoute.Votes: 0GitHub stars: 231
- DocsCreate area-weighted spatial mapping from VIC regular grid cells to mizuRoute HRU catchments. Each VIC cell's runoff is distributed proportionally to the HRUs it overlaps.Votes: 0GitHub stars: 231
- DocsConvert VIC or WRF-Hydro runoff output to mizuRoute input NetCDF format with correct units. **This is the #1 silent error risk in VIC-mizuRoute coupling.** Getting the unit conversion wrong produces discharge that is 8x, 24x, or 86400x too high or low with NO error message.Votes: 0GitHub stars: 231
- DocsGenerate the mizuRoute control file that specifies all input/output paths, variable names, routing method, and time settings.Votes: 0GitHub stars: 231
- DocsExecute the mizuRoute Fortran binary with proper validation before and after.Votes: 0GitHub stars: 231
- DocsExtract discharge from mizuRoute output, compare with observations and other routing models (Lohmann, CaMa-Flood), and evaluate the 5 routing methods against each other.Votes: 0GitHub stars: 231
- DocsConfigure mizuRoute to route flow through lakes and reservoirs using one of three available schemes. Required for basins with significant storage (reservoirs, natural lakes).Votes: 0GitHub stars: 231
- OpenAMUNDSEN**Package**: hydrocraft-openamundsen-snow **Version**: 1.0.0 **Created**: 2026-03-26 **Model**: openAMUNDSEN (fully distributed snow/hydroclimatological model) **Domain**: Cryosphere — snow accumulation, ablation, energy balance in mountain regions **Language**: Python (with Numba JIT acceleration) **License**: MIT ---Votes: 0GitHub stars: 231
- PyBadlands**Package**: `hydrocraft-badlands-geomorph` v1.0.0 **Model**: pyBadlands (Basin and Landscape Dynamics) — Tristan Salles, University of Sydney **Domain**: Geomorphology / Landscape Evolution Modelling **License**: GNU LGPL v3 **Language**: Python + Fortran + C extensions **Build**: Meson + mesonpy **Stats**: 7 pipeline stages | 116 source files | current tool, stage-doc and triplet counts: the KI map at the top of this file ---Votes: 0GitHub stars: 231
- PyGIMLi**Package**: hydrocraft-pygimli-geophysics v1.0.0 **Model**: pyGIMLi (Python Library for Geophysical Inversion and Modelling) **Version**: 1.5+ **Domain**: Geophysics — Electrical Resistivity Tomography (ERT), Seismic Refraction (SRT), Electromagnetics (EM), Induced Polarization (IP) **Authors**: Carsten Rücker, Thomas Günther, Florian Wagner **License**: Apache 2.0 **Stats**: ~71,000 lines Python | current tool, stage-doc and triplet counts: the KI map at the top of this file ---Votes: 0GitHub stars: 231
- PySTEPS> **Version**: 1.20.0 > **Domain**: precipitation_nowcasting > **Last updated**: 2026-08-18 > **Validation status**: binary_only ---Votes: 0GitHub stars: 231
- TRIBS| Field | Value | |-------|-------| | Model | tRIBS v5.3.1 (TIN-based Real-time Integrated Basin Simulator) | | Domain | Distributed watershed hydrology | | Language | C++ (C++17 standard) | | Build | CMake ≥ 3.20 | | Binary | `tRIBS` (serial), `tRIBSpar` (parallel, MPI) | | Repository | https://github.com/tribshms/tRIBS | | Licence | See LICENSE.txt in repo root | ---Votes: 0GitHub stars: 231
- Wflowpython tools/s6_sediment/derive_usle_k.py \ --staticmaps [STATICMAPS_NC] --hwsd-crs EPSG:4326 --output [USLE_K_NC] python tools/s6_sediment/derive_usle_k.py \ --staticmaps [STATICMAPS_NC] --hwsd-crs EPSG:4326 --patch_nc [STATICMAPS_SEDIMENT_NC] python tools/s6_sediment/derive_usle_k.py --lat [LAT] --lon [LON] --hwsd-crs EPSG:4326 python tools/s6_sediment/derive_usle_c.py \ --staticmaps [STATICMAPS_NC] --output [USLE_C_NC] python tools/s6_sediment/derive_usle_c.py \ --staticmaps [STATICMAPS_NC...Votes: 0GitHub stars: 231
- DocsSet 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.Votes: 0GitHub stars: 231
- DocsEnable reservoir routing in wflow_sbm simulations using GRanD (Global Reservoir and Dam) data. Reservoirs intercept river flow, apply operating rules, and release water downstream -- significantly altering flow timing, magnitude, and seasonal distribution.Votes: 0GitHub stars: 231
- DocsBuild the wflow spatial model: staticmaps.nc containing all grid parameters (DEM, soil, vegetation, river network). This is the foundation — all other stages depend on correct staticmaps. Skipping this stage means no spatial parameters exist and the model cannot run.Votes: 0GitHub stars: 231
- DocsConvert CMFD/MSWX meteorological forcing to wflow NetCDF format with correct units. wflow requires precipitation (mm/timestep), temperature (degC), and PET (mm/timestep). Unit errors here produce silent failures — the model runs but results are scientifically meaningless (dt_w001, dt_w002, dt_w003).Votes: 0GitHub stars: 231
- DocsGenerate the wflow TOML configuration file and optionally adjust parameters for calibration. The TOML file is wflow's primary configuration — it specifies model type, routing method, input/output paths, and parameter modifications (scale/offset). TOML format errors or version mismatches cause fatal failures (dt_w006, dt_w011, dt_w022).Votes: 0GitHub stars: 231