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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

File details

Details for the file pyhspf-0.1.14.zip.

File metadata

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

File hashes

Hashes for pyhspf-0.1.14.zip
Algorithm Hash digest
SHA256 470e60270e924cc40a2592088274f0b801a557dc9a7f3d598dbb6a660311e553
MD5 25ab41b2be953db9aa62d85f6647f9e8
BLAKE2b-256 d9e54dd533391f033a1af25324a1094d122b62089db6abde5e5e1094099f8e07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyhspf-0.1.14.win-amd64-py3.4.exe
Algorithm Hash digest
SHA256 0efe85146bfeee2aebbedfd7fbf5873b9249ee82085803310002f8bc76d12cf7
MD5 72b091d4e738d1eb5b8ca9c50d71fd74
BLAKE2b-256 251eb9f53c6a624f1d8d7cf6fee1afa121202e5523afb49ba2a6129f06281c24

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyhspf-0.1.14.win-amd64-py3.3.exe
Algorithm Hash digest
SHA256 ba54eb65ab1d6933099a18e91c3c27e5b966348441924a38b22a9b5f66dbc926
MD5 1a77a2c5a43125c59b354e1708029406
BLAKE2b-256 d1ede251e329642f47101a6b06cf96abfe303f137cc71c6d4639928d04bf419d

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