Skip to main content

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyhspf-0.2.3.tar.gz (1.3 MB view details)

Uploaded Source

Built Distributions

pyhspf-0.2.3.win-amd64-py3.6.exe (4.1 MB view details)

Uploaded Source

pyhspf-0.2.3-cp36-cp36m-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.6mWindows x86-64

File details

Details for the file pyhspf-0.2.3.tar.gz.

File metadata

  • Download URL: pyhspf-0.2.3.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyhspf-0.2.3.tar.gz
Algorithm Hash digest
SHA256 3fb1656becde6b2715d1f67a33c479e3c41972299bd14caded47e7ae25479776
MD5 dee3f6bc5aa40661e67d61887b49c1d5
BLAKE2b-256 aac48f024fcbcd4df7a83f839335d34e8834cd1a5c20c4f0850006e4327cf4a6

See more details on using hashes here.

File details

Details for the file pyhspf-0.2.3.win-amd64-py3.6.exe.

File metadata

File hashes

Hashes for pyhspf-0.2.3.win-amd64-py3.6.exe
Algorithm Hash digest
SHA256 aa94cc7fa0befbd57a426c1e3324343b237676797225bd57f3b86bd06073df45
MD5 71c0add424dd6f022806e21976ab9c6d
BLAKE2b-256 3af8fdbb4486f975eba2a0238496a43330c25e52ab03bd3166938a4bee9771d6

See more details on using hashes here.

File details

Details for the file pyhspf-0.2.3-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for pyhspf-0.2.3-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 df3d31a3264cdf7a097da154587810b2ad57a45430609314424cd474136385a4
MD5 c86e5bfe1631dab7eb4ad450e9b30f0f
BLAKE2b-256 208fbc1078179185297a7b156cdd5e4f419c18b07e6a0a16cef78fbea16ac7f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page