hecras_parse_compute-messages
Parse HEC-RAS compute output from HDF files to extract execution status, diagnostic messages, and performance metrics. Converts raw computation messages into structured diagnostics for workflow orchestration. Use when checking plan completion status, extracting compute messages, diagnosing execution failures, analyzing runtime performance, or interpreting HEC-RAS error codes. performance, error diagnostics, HEC-RAS output, simulation results, warnings, convergence, instability, time step, iteration.
npx skills add majiayu000/claude-skill-registry --skill hecras-parse-compute-messages --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Parsing HEC-RAS Compute Messages **Primary Sources (navigate to these for complete details)**: - **HDF Class Reference**: `ras_commander/hdf/AGENTS.md` - Class hierarchy, decorators - **HdfResultsPlan Implementation**: `ras_commander/hdf/HdfResultsPlan.py` - Compute message methods - **Working Example**: `examples/400_1d_hdf_data_extraction.ipynb` - Compute message extraction This skill provides patterns for extracting and interpreting HEC-RAS computation output. For implementation details, see the primary sources above. --- ## Quick Start ### Check Plan Completion and Extract Messages ```python from ras_commander import init_ras_project, HdfResultsPlan # Initialize project init_ras_project("C:/Projects/MyModel", "6.6") # Extract compute messages (handles HDF + .txt fallback automatically) messages = HdfResultsPlan.get_compute_messages("01") # Check if plan has results (runtime data exists only for completed plans) runtime = HdfResultsPlan.get_runtime_data("01") is_complete = runtime is not None if is_complete: print(f"Plan completed in {runtime['Complete Process (hr)'].values[0]:.2f} hours") else: print("Plan has not been executed or did not complete") ``` --- ## API Reference #
- Quick Start
- Check Plan Completion and Extract Messages
- API Reference
- HdfResultsPlan.getcomputemessages()
- HdfResultsPlan.getcomputemessageshdfonly()
- HdfResultsPlan.getruntimedata()
- Common Error Patterns
- Critical Errors (Plan Failed)
- Stability Warnings (Plan May Succeed)
- Informational Messages
- Message Parsing Pattern
- Basic Severity Classification
- Extract Structured Diagnostics
- Output Schema for Orchestrators
What does the hecras_parse_compute-messages skill do?
Parse HEC-RAS compute output from HDF files to extract execution status, diagnostic messages, and performance metrics. Converts raw computation messages into structured diagnostics for workflow orchestration. Use when checking plan completion status, extracting compute messages, diagnosing execution failures, analyzing runtime performance, or interpreting HEC-RAS error codes. performance, error diagnostics, HEC-RAS output, simulation results, warnings, convergence, instability, time step, iteration.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill hecras-parse-compute-messages --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
