Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for multibanded rasters #244

Closed
RyanConway91 opened this issue May 28, 2021 · 1 comment
Closed

Support for multibanded rasters #244

RyanConway91 opened this issue May 28, 2021 · 1 comment

Comments

@RyanConway91
Copy link

Hello,

I have ~300 single band rasters with the same geometry (extent, cell size) and a shapefile with ~100000 zones.

Based on current testing, running zonal_stats on all the rasters is going to take several days.

If I could combine the rasters into a single multibanded raster, would the run time be reduced? Does zonal_stats work with multibanded rasters?

@debboutr
Copy link

debboutr commented Aug 19, 2021

Here's an example that might help you out. You can use the multiprocessing package to speed things up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants