Check out our new version of Hydrologic Simulation Program–Python (#HSP2), available on PyPI! This tool is set to improve how we manage water resources. Big thanks to our employee-owners and our partners for their hard work on this!
HSP2 Release Now Available on PyPI! RESPEC has released a new version of the Hydrologic Simulation Program–Python (#HSP2) model, our first official release on PyPI, the Python Packaging Index (https://lnkd.in/eA9xTQQ3). This effort is being led by an open-source team at RESPEC, along with a group of collaborators from LimnoTech, Geosyntec, and several others. In preparing for this release, RESPEC created a pilot HSP2 application from an existing, published HUC8-level #HSPF model. Our evaluation of the model results shows that HSP2 matches HSPF, within reasonable expected precision, for the entire model including flow, sediment, water temperature, dissolved oxygen, and nutrients! Runtimes are similar or slightly better, and we anticipate ongoing efforts will provide significant improvements there as well. While previous efforts have shown similar results for test cases, this pilot is a milestone in showing agreement between the models using a full ‘real-world’ application. As part of this pilot, the HSPF GENER and basic Special Actions capabilities were ported over to the Python code and are now available in HSP2. HSP2 (HSPsquared) is a conversion of the HSPF watershed model code from Fortran to Python. HSP2 is open-source and is available on GitHub at https://lnkd.in/eK8ACmXj. Advantages of HSP2 include: - No limit on the number of operations - A migration path for legacy HSPF applications - Independent of operating system and hardware - Collaborative enhancement and maintenance - Freely available as an open-source model In short, HSP2 makes HSPF more accessible and ensures that a tool is available to assist in developing watershed-based approaches for protecting and restoring our waterbodies throughout the world. Shout-out to Tim Cera, Austin O., Robert Burgholzer, Anthony Aufdenkampe, and Anurag Mishra for supporting RESPEC's effort to get HSP2 on PyPI!