Skip to content

Investigate exactextract as a faster alternative to rasterstats.zonal_stats #1941

Description

@AliForghani-NOAA

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions