cama-flood-integration

Automate CaMa-Flood integration from VIC runoff to routed outputs.

1|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/lzwei196/KISS---Knowledge-Infrastructure-for-Scientific-Simulation --skill cama-flood-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cama-flood-integration
Source: https://github.com/lzwei196/KISS---Knowledge-Infrastructure-for-Scientific-Simulation/tree/main/models/CaMa_Flood
Command: npx skills add https://github.com/lzwei196/KISS---Knowledge-Infrastructure-for-Scientific-Simulation --skill cama-flood-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, pandas, xarray, netCDF4, tqdm.

What problem does it solve?

This skill automates the end-to-end CaMa-Flood modeling workflow that couples VIC-based runoff with the CaMa-Flood river routing system, including map preparation, runoff conversion, and run-script generation.

Core Features & Use Cases

  • End-to-end basin setup: regional map creation, mapping, and channel parameter generation for a new basin.
  • Automated run script generation and preflight checks: ensures safe execution and reduces manual errors.
  • Run-time validation and diagnostics: integrates diagnostic triplets to catch common issues and guide fixes.
  • Use Case: Set up Bengbu basin or any new basin by generating the map, inputs, and run scripts, then execute CaMa-Flood end-to-end.

Quick Start

Follow the documented workflow to set up a new basin, regionalize maps, generate inpmats, derive channel parameters, and run CaMa-Flood with the provided scripts.

Frequently Asked Questions about cama-flood-integration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate CaMa-Flood integration from VIC runoff outputs to routed streamflow?

CaMa-Flood integration from VIC runoff is automated by generating regional maps, converting runoff inputs, and creating run scripts end-to-end. The workflow enforces strict path handling and diagnostic checks to ensure robust river routing execution.

What is the best way to set up a new basin for CaMa-Flood river routing?

New basin setup for CaMa-Flood involves regional map creation, mapping, and channel parameter generation. This process prepares the necessary input matrices and map reconstruction to facilitate basin-scale hydrological modeling and routing execution.

How do I generate channel parameters and input matrices for CaMa-Flood?

Channel parameters and input matrices for CaMa-Flood are generated through map preparation and runoff conversion. The workflow derives necessary channel configurations and validates them using diagnostic triplets to catch common issues before execution.

Do I need xarray and netCDF4 to run the CaMa-Flood integration workflow?

Yes, xarray and netCDF4 are required dependencies for the CaMa-Flood integration workflow, alongside numpy and pandas. These libraries handle the multidimensional climate and runoff data arrays needed for map preparation and input generation.

Why does my CaMa-Flood run fail during preflight checks?

CaMa-Flood runs fail during preflight checks when strict path handling rules are violated or map reconstruction encounters errors. The automated diagnostic triplets identify these common setup issues and guide fixes to ensure safe execution.