Skip to content

solomonvimal/pyras

Repository files navigation

Latest PyPI version

Number of PyPI downloads

Supported python version

image

PyRAS - Python for River AnalysiS

Description

A Python suite for working with river models.

Goals

Offer an abstraction layer for the definition of river models and tools to call controller of different hydraulic models.

Models supported (Partial support soon to be completed):

  • HEC-RAS: Wrapper for the COM interface of the HEC-RAS controller. (windows only)

Coming soon:

  • HEC-RAS API: High level parser API of HEC-RAS input files. (Cross platform)

Requirements

This package depends on pywin32 for accessing the HECRASController interface.

Additionally, you need to have a working version of HEC-RAS installed. Current support includes version 4.1.0 and 5.0.0.

Installation

The following would be the eventual way of installing (not working right now):

The easy way:

  1. Install the anaconda distribution
  2. On the command line type:
pip install pyfloods

The hard way:

  1. Install python
  2. Download pywin32 installer from the project webpage and install.
  3. On the command line type:
pip install pyfloods

4. Needs the following modules - win32com.client, inspect, os, numpy, matplotlib and matrix

License

MIT License. Copyright 2015 - Gonzalo Peña-Castellanos

Status

This is a project under development and is currently in beta testing.

Although the project should be compatible with python versions 2.6, 2.7, 3.1, 3.2, 3.3 and 3.4, the project will only provide testing for 2.7, 3.3 and 3.4

Releases

No releases published

Packages

No packages published