🌊 RAS Commander GUI

Automate HEC-RAS Operations Without Coding

βœ“ Installation Status: RAS Commander is installed and ready to use!

System Information

  • Python Version: Loading...
  • RAS Commander Version: 0.87.6
  • Example Projects Available: Loading...
  • Platform: macOS
  • Quick Start Guide

    1. Configure HEC-RAS Path - Set the path to your HEC-RAS installation below
    2. Load a Project - Go to the Projects tab to open an existing HEC-RAS project or extract example projects
    3. Execute Plans - Run simulations from the Execute Plans tab
    4. Extract Results - Analyze results in the Extract Results tab

    HEC-RAS Configuration

    ⚠️ Note: You're on macOS. HEC-RAS is a Windows-only application. To use this GUI fully, you'll need to:
    • Run this on a Windows machine with HEC-RAS installed, OR
    • Use remote execution to connect to a Windows machine with HEC-RAS

    Open Existing Project

    Extract Example Project

    RAS Commander includes example projects for testing and learning.

    Current Project

    No project loaded

    Ready to load projects...

    Single Plan Execution

    Parallel Plan Execution

    Ready to execute HEC-RAS plans...

    Extract Water Surface Elevation (WSE)

    Extract Cross Section Data

    Export Results

    Ready to extract results...

    πŸ” Project Inspector

    View detailed information about your HEC-RAS project structure.

    πŸ—ΊοΈ RASMapper Tools

    Work with RASMapper layers and terrain data.

    πŸ“ Geometry Tools

    Parse and modify HEC-RAS geometry files.

    🌊 USGS Gauge Integration

    Integrate USGS gauge data for boundary conditions.

    ☁️ Precipitation Data

    Work with AORC and Atlas 14 precipitation data.

    πŸ”§ Validation Tools

    Validate DSS files, pathnames, and model data quality.

    Select a tool above to get started...

    About RAS Commander

    RAS Commander is a Python library for automating HEC-RAS operations. It provides comprehensive API for project interaction, simulation execution, and HDF results processing.

    Key Features

    • Execute HEC-RAS plans (single, parallel, distributed remote)
    • Parse and modify project files (geometry, plans, unsteady flow)
    • Extract results from HDF files (steady and unsteady)
    • Integrate USGS gauge data for validation and boundary conditions
    • Automate geometry repair (RasFixit module)
    • Real-time execution monitoring with callbacks

    Python Example

    If you want to use RAS Commander in Python code:

    from ras_commander import init_ras_project, RasCmdr from ras_commander.hdf import HdfResultsPlan # Initialize project init_ras_project("/path/to/project", "6.5") # Execute plan RasCmdr.compute_plan("01") # Extract results hdf = HdfResultsPlan("/path/to/project/plan.p01.hdf") wse = hdf.get_wse(time_index=-1)

    Documentation & Resources

    About This GUI

    This HTML interface is a standalone tool designed for non-coders to use RAS Commander features through a graphical interface. It communicates with RAS Commander via a Python backend server.

    ⚠️ Important: This GUI requires a Python backend server to be running. See the setup instructions for launching the server.