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.

Metadata

Release files for pyhspf 0.2.3

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.2.3
File Size Uploaded
pyhspf-0.2.3.tar.gz 1.3 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for pyhspf 0.2.3
File Interpreter ABI Platform
pyhspf-0.2.3.win-amd64-py3.6.exe Details
pyhspf-0.2.3-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details

Total release size: 8.9 MB

Release files / pyhspf-0.2.3.tar.gz

Download URL pyhspf-0.2.3.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
3fb1656becde6b2715d1f67a33c479e3c41972299bd14caded47e7ae25479776
BLAKE2b-256 checksum
How to use checksums
aac48f024fcbcd4df7a83f839335d34e8834cd1a5c20c4f0850006e4327cf4a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyhspf-0.2.3.win-amd64-py3.6.exe

Download URL pyhspf-0.2.3.win-amd64-py3.6.exe
Size 4.1 MB
Tags Source
SHA-256 checksum
How to use checksums
aa94cc7fa0befbd57a426c1e3324343b237676797225bd57f3b86bd06073df45
BLAKE2b-256 checksum
How to use checksums
3af8fdbb4486f975eba2a0238496a43330c25e52ab03bd3166938a4bee9771d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyhspf-0.2.3-cp36-cp36m-win_amd64.whl

Download URL pyhspf-0.2.3-cp36-cp36m-win_amd64.whl
Size 3.5 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
df3d31a3264cdf7a097da154587810b2ad57a45430609314424cd474136385a4
BLAKE2b-256 checksum
How to use checksums
208fbc1078179185297a7b156cdd5e4f419c18b07e6a0a16cef78fbea16ac7f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.2.4

4 release files

This release

0.2.3 This release

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

0.1.14

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