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.1.13.zip (1.5 MB view details)

Uploaded Source

Built Distributions

pyhspf-0.1.13.win-amd64-py3.4.exe (4.4 MB view details)

Uploaded Source

pyhspf-0.1.13.win-amd64-py3.3.exe (2.8 MB view details)

Uploaded Source

File details

Details for the file pyhspf-0.1.13.zip.

File metadata

  • Download URL: pyhspf-0.1.13.zip
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyhspf-0.1.13.zip
Algorithm Hash digest
SHA256 049b3589659203eecf9d576468af4958f1d40ef4cd9abccc551790c16128bc2d
MD5 c975d0bfbd44bbd76e2cf8e2ac820235
BLAKE2b-256 4f7107820325a42a9ed2e081765e7c5148e1cd28c156d01945b1bf0fd7d06ebe

See more details on using hashes here.

File details

Details for the file pyhspf-0.1.13.win-amd64-py3.4.exe.

File metadata

File hashes

Hashes for pyhspf-0.1.13.win-amd64-py3.4.exe
Algorithm Hash digest
SHA256 cb4e62a752d71114fbc91d1ec01a1e152f84feb624ef27ac595a60ec35f25721
MD5 ce32caa04edf1a2eeb0c7066848301ba
BLAKE2b-256 a879a613c7651cc81c93f2d1321ac24f4d23dde25bfeecda424374aeb967bde2

See more details on using hashes here.

File details

Details for the file pyhspf-0.1.13.win-amd64-py3.3.exe.

File metadata

File hashes

Hashes for pyhspf-0.1.13.win-amd64-py3.3.exe
Algorithm Hash digest
SHA256 6d16a60c94bb52ce558b2af55c6260828db5c0dd9568176fddf5b76c9610db09
MD5 bc88530d185af4441ba768827d1dd9d7
BLAKE2b-256 cc5598efcde29d89768c44227cb63e4cf2d25286ac6b0450b85b4297be71978a

See more details on using hashes here.

Supported by

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