Read and write Watershed Data Management (WDM) files
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.
EPA BASINS - (http://water.epa.gov/scitech/datait/models/basins/)
Aqua Terra, BASINS download - (http://ftp.hspf.com/)
If these requirements are not locally available, ‘pip’ or ‘easy_install’ will attempt to download and install.
- pandas - on Windows this is part of the Python(x,y) distribution (http://code.google.com/p/pythonxy/) or Anaconda (https://store.continuum.io/cshop/anaconda/)
- baker - command line parser
- python-dateutil - used for parsing date/time strings
- tstoolbox - a command line utility companion to wdmtoolbox.
If you use the source distribution you have to have a FORTRAN compiler installed and configured for your environment.
On Windows should be as easy as running pip install wdmtoolbox in a command shell window. For Windows, the support platforms are Python 2.7 and 3.4. Not sure on Windows whether this will bring in pandas but as mentioned above, if you start with Conda, Enthought, or Python(x,y) then you won’t have a problem.
On Linux (and maybe even Mac OSX?) you could use pip install wdmtoolbox at any terminal that has access to gfortran and of course your Python interpreter.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|wdmtoolbox-18.104.22.168-cp27-cp27m-win32.whl (476.6 kB) Copy SHA256 Checksum SHA256||cp27||Wheel||May 24, 2017|
|wdmtoolbox-22.214.171.124-cp27-cp27m-win_amd64.whl (369.9 kB) Copy SHA256 Checksum SHA256||cp27||Wheel||May 24, 2017|
|wdmtoolbox-126.96.36.199-cp34-cp34m-win32.whl (476.8 kB) Copy SHA256 Checksum SHA256||cp34||Wheel||May 24, 2017|
|wdmtoolbox-188.8.131.52-cp34-cp34m-win_amd64.whl (370.7 kB) Copy SHA256 Checksum SHA256||cp34||Wheel||May 24, 2017|
|wdmtoolbox-184.108.40.206.tar.gz (188.3 kB) Copy SHA256 Checksum SHA256||–||Source||May 24, 2017|