https://github.com/fpacheco/hydrolink
Hydrolink for EFDC-MPI and HEC-RAS 2D to WASP8
https://github.com/fpacheco/hydrolink
ctypes efdc python3 wasp
Last synced: 3 months ago
JSON representation
Hydrolink for EFDC-MPI and HEC-RAS 2D to WASP8
- Host: GitHub
- URL: https://github.com/fpacheco/hydrolink
- Owner: fpacheco
- License: lgpl-3.0
- Created: 2020-04-13T19:26:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-16T23:46:22.000Z (over 5 years ago)
- Last Synced: 2023-10-20T19:53:11.306Z (about 2 years ago)
- Topics: ctypes, efdc, python3, wasp
- Language: Fortran
- Homepage:
- Size: 329 KB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# What this it?
Python wrapper for WASP (water quality) libhydrolink
## Why?
Need to output from EFDC-MPI (https://github.com/fearghalodonncha/EFDC-MPI) and HEC-RAS 2D hydrodynamic models to WASP8 via hydrolink!
## Work from
1. hydrolink.f95
2. https://www.epa.gov/sites/production/files/2018-05/documents/stream-transport-user-guide.pdf
## Functions
* hladddescription
* hlclose
* hlgetcompfact
* hlgetcreator
* hlgetcurrentmoment
* hlgetdebug
* hlgetdescription
* hlgetendmoment
* hlgetflowinfo
* hlgetflowpath
* hlgetfpconsttype
* hlgethydtimestep
* hlgethydtowaspratio
* hlgetlanguage
* hlgetlasterror
* hlgetnthmoment
* hlgetnumdescriptions
* hlgetnumflowpaths
* hlgetnumfpconsts
* hlgetnumlayers
* hlgetnummoments
* hlgetnumsegconsts
* hlgetnumsegments
* hlgetseedmoment
* hlgetsegconsttype
* hlgetseginfo
* hlgetsegname
* hlgettimestep
* hlgetupdateint
* hlgetvartimestep
* hlmomentcomplete
* hlopen
* hlsetcompressionlevel
* hlsetcreator
* hlsetdebug
* hlsetflowinfo
* hlsetflowpath
* hlsetfpconsttype
* hlsethydtimestep
* hlsethydtowaspratio
* hlsetlanguage
* hlsetlasterror
* hlsetnumflowpaths
* hlsetnumfpconsts
* hlsetnumlayers
* hlsetnumsegconsts
* hlsetnumsegments
* hlsetseedmoment
* hlsetsegconsttype
* hlsetseginfo
* hlsetsegname
* hlsettimestep
* hlsetupdateint
* hlsetvartimestep
## From EFDC-MPI to WASP8
1. EFDC-MPI outputs are NetCDF4 files
2. You need others
## From HEC-RAS to WASP8
1. Don't know ... yet!
## Test
Put lihydrolink.so in your path or in LD_LIBRAY_PATH:
* export LD_LIBRARY_PATH=/disco_local/rpacheco/USEPA-WASP8.32/wasp/lib:/disco_local/rpacheco/workspace/hydrolink/old
* python -m unittest