zonal_stats (via rasterstats) remains the dominant cost in buildings/roads FIMpact and flood-depth processing even after this PR's optimizations (vectorized nodata handling, shared rasterio.Env(), HAND-based prefiltering) — it accounted for most of runtime in the HUC 07120004 timing breakdown. exactextract is a C++-backed zonal-statistics library reported to be substantially faster than rasterstats for this exact workload; worth benchmarking as a potential follow-up.
zonal_stats(via rasterstats) remains the dominant cost in buildings/roads FIMpact and flood-depth processing even after this PR's optimizations (vectorized nodata handling, shared rasterio.Env(), HAND-based prefiltering) — it accounted for most of runtime in the HUC 07120004 timing breakdown. exactextract is a C++-backed zonal-statistics library reported to be substantially faster than rasterstats for this exact workload; worth benchmarking as a potential follow-up.