Skip to main content

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 files for pyhspf 0.1.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyhspf 0.1.14
File Size Uploaded
pyhspf-0.1.14.zip 1.5 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for pyhspf 0.1.14
File Interpreter ABI Platform
pyhspf-0.1.14.win-amd64-py3.4.exe Details
pyhspf-0.1.14.win-amd64-py3.3.exe Details

Total release size: 8.7 MB

Release files / pyhspf-0.1.14.zip

Download URL pyhspf-0.1.14.zip
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
470e60270e924cc40a2592088274f0b801a557dc9a7f3d598dbb6a660311e553
BLAKE2b-256 checksum
How to use checksums
d9e54dd533391f033a1af25324a1094d122b62089db6abde5e5e1094099f8e07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyhspf-0.1.14.win-amd64-py3.4.exe

Download URL pyhspf-0.1.14.win-amd64-py3.4.exe
Size 4.4 MB
Tags Source
SHA-256 checksum
How to use checksums
0efe85146bfeee2aebbedfd7fbf5873b9249ee82085803310002f8bc76d12cf7
BLAKE2b-256 checksum
How to use checksums
251eb9f53c6a624f1d8d7cf6fee1afa121202e5523afb49ba2a6129f06281c24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyhspf-0.1.14.win-amd64-py3.3.exe

Download URL pyhspf-0.1.14.win-amd64-py3.3.exe
Size 2.8 MB
Tags Source
SHA-256 checksum
How to use checksums
ba54eb65ab1d6933099a18e91c3c27e5b966348441924a38b22a9b5f66dbc926
BLAKE2b-256 checksum
How to use checksums
d1ede251e329642f47101a6b06cf96abfe303f137cc71c6d4639928d04bf419d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.2.4

4 release files

0.2.3

3 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.17

3 release files

0.1.15

3 release files

This release

0.1.14 This release

3 release files

0.1.13

3 release files

0.1.12

2 release files

0.1.11

0.1.10

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page