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.