Open, modify, run, and read output from HEC-RAS models with Python - Tutorial

Python can communicate with other softwares through standards in Windows (COMs) and thus provides a higher level of interoperability for river flow models made in HEC-RAS. The amount of tools provided by HEC-RAS through the COM is huge; in this tutorial we will cover some examples of HEC-RAS model interaction for two applied cases from Python scripts in Jupyter Lab.

These are some of the Hec Ras tools developed on the tutorials:

  • Show HEC-RAS interface

  • Open HEC-RAS projects

  • Compute HEC-RAS simulations

  • Save HEC-RAS projects

  • Get river, reach and node information

  • Apply change to Manning coefficients

  • Develop water table profiles

Tutorial

Input data

owncloud.hatarilabs.com/s/CTmv5aKHJ1eks3R

Password to download data: Hatarilabs.

Comment

Saul Montoya

Saul Montoya es Ingeniero Civil graduado de la Pontificia Universidad Católica del Perú en Lima con estudios de postgrado en Manejo e Ingeniería de Recursos Hídricos (Programa WAREM) de la Universidad de Stuttgart con mención en Ingeniería de Aguas Subterráneas y Hidroinformática.

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.