Hazard Modeling Toolkit


Open-source software tools to analyze, model, and map postfire debris flow hazards.

Hazard Modeling Toolkit

I’m the author of pfdf and wildcat - these open-source, scientific software packages are the numerical engines underpinning the PWFDF Collection.

  • wildcat (Practitioner CLI): A command-line toolkit built for practitioners who need to rapidly assess and communicate debris-flow hazards to stakeholders.

  • pfdf (Core Numerical Library): A numerical Python library for postfire debris-flow hazard analysis. Features high-performance routines to analyze watersheds, delineate and characterize stream segment networks, apply hazard models (likelihood, sediment volume, rainfall thresholds), download common datasets, and export results to common GIS formats.

Both packages are optimized for speed and memory use. Critically, pfdf and wildcat are geographically agnostic, allowing users to leverage the datasets and assessment styles most appropriate for their areas of interest. Outside of the USGS, the packages have been used to implement several recent studies, including a statewide prefire assessment for California by the California Geological Survey.

© 2026 Jonathan King