Read and write Watershed Data Management (WDM) files


Keywords
WDM, watershed, data_management, data, hydrology, hydrological, simulation, fortran, HSPF, cli, data-management, python
License
BSD-3-Clause
Install
pip install wdmtoolbox==12.5.0

Documentation

Tests Test Coverage Latest release BSD-3 clause license wdmtoolbox downloads PyPI - Python Version

wdmtoolbox

The wdmtoolbox is a Python script and library to read/write/manage Watershed Data Management (WDM) files used for time-series in hydrology and hydrological simulation. WDM files are used in the Hydrological Simulation Program - FORTRAN (HSPF) and the Better Assessment of Science Integrating point and Non-point Sources (BASINS). HSPF is a part of the BASINS system.

BASINS, HSPF, and various utilities are available at https://github.com/respec/BASINS/releases

For HSPF I also have developed:

Installation for the Impatient

pip

pip install wdmtoolbox

conda

conda install -c conda-forge wdmtoolbox

Compile From Source

To compile from source you need a "C" compiler (gcc on Linux, Visual Studio 2019 for Windows), a FORTRAN compiler (gfortran on Linux, MSYS2/MINGW gfortran on Windows), Python 3.7, 3.8, or 3.9 with "numpy" installed to be able to access f2py.

Additional Software

https://timcera.bitbucket.io/index.html