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.4.tar.gz (1.3 MB view details)

Uploaded Source

Built Distributions

pyhspf-0.2.4.win-amd64-py3.6.exe (4.3 MB view details)

Uploaded Source

pyhspf-0.2.4-cp37-cp37m-win_amd64.whl (3.9 MB view details)

Uploaded CPython 3.7m Windows x86-64

pyhspf-0.2.4-cp36-cp36m-win_amd64.whl (3.7 MB view details)

Uploaded CPython 3.6m Windows x86-64

File details

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

File metadata

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

File hashes

Hashes for pyhspf-0.2.4.tar.gz
Algorithm Hash digest
SHA256 1d764774c98091d28d6f497901cbc7e1a167aa30f1b802d77b7f73fbfe54586d
MD5 a1a7d19776100d1de48e608c2f2a1a33
BLAKE2b-256 41ea77f5f60d8262e10dbaabf43cd07233a6654741fd056822789d31c77c7f6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyhspf-0.2.4.win-amd64-py3.6.exe
Algorithm Hash digest
SHA256 b2e1aec7959d927eb316f7a90d2d06c73c8ea03f218499dc53688034045785ce
MD5 9a54af1c99191c7823ca5a73fc82e42b
BLAKE2b-256 b878a7b6819ef2ccc6e0e176e6324257117f99dd84afabca412b3a36413373b8

See more details on using hashes here.

File details

Details for the file pyhspf-0.2.4-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pyhspf-0.2.4-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for pyhspf-0.2.4-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 b99f092222e36eabb2f9c5b061923e8a089f252f133ccd6810dfbadcc76e207e
MD5 9fc9a159eac591b1821aa98c3cbb63a4
BLAKE2b-256 fc601dd7e3ff58ccc954dc246800271dd06fde0d84dd5ebebc407fe5617f8d03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyhspf-0.2.4-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 abfb0649729851fe7e1d4527684e8c2bb2b2a3976d9dca559ec44f7fba85052a
MD5 e1a943987bd71d9cc7f397e7f7761883
BLAKE2b-256 2b638404c53e28cc2fbf9f0805686400e31b69df63d0669c75c3cd71b7c028fa

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 Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page