Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python Extensions for utilizing the Hydrological Simulation Program in Fortran (HSPF)

Project Description

PyHSPF contains a library of subroutines to run the Hydrological Simulation Program in Fortran (HSPF), Python extensions to the HSPF library, and a series of classes for building HSPF input files, performing simulations, and postprocessing simulation results.

HSPF requires flowline and catchment data for a stream network, land use data for the stream reach subbasins, time series of climate and hydrology data. A series of preprocessing classes were developed to extract data from the following publically-available databases on the World Wide Web:

  • National Hydrography Dataset Plus Version 2 (NHDPlus)
  • National Water Information System (NWIS)
  • National Inventory of Dams (NID)
  • Cropland Data Layer (CDL)
  • National Solar Radiation Database (NSRDB)
  • Global Historical Climate Network Daily (GHCND)
  • Global Summary of the Day (GSOD)
  • Hourly Precipitation Database (DSI-3240)

The “core” module requires NumPy, SciPy, and Matplotlib, and can be used to generate the HSPF input files. The preprocessing routines require GDAL, PyShp, and Pillow.

PyHSPF can be used to assimilate the data into an HSPF model, build the HSPF input files, simulate the model over a period of time, and then provide statistics and plots of the simulation output. A series of examples is provided to illustrate PyHSPF usage.

Release History

Release History

This version
History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.1.17

History Node

0.1.16

History Node

0.1.15

History Node

0.1.14

History Node

0.1.13

History Node

0.1.12

History Node

0.1.11

History Node

0.1.10

Download Files

Download Files

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
pyhspf-0.2.4-cp36-cp36m-win_amd64.whl (3.7 MB) Copy SHA256 Checksum SHA256 cp36 Wheel Aug 10, 2017
pyhspf-0.2.4.tar.gz (1.3 MB) Copy SHA256 Checksum SHA256 Source Aug 10, 2017
pyhspf-0.2.4.win-amd64-py3.6.exe (4.3 MB) Copy SHA256 Checksum SHA256 3.6 Windows Installer Aug 10, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting