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

Reduce number of times read is used in RasterStackHistogram #11

Open
jbisits opened this issue Sep 7, 2023 · 1 comment
Open

Reduce number of times read is used in RasterStackHistogram #11

jbisits opened this issue Sep 7, 2023 · 1 comment

Comments

@jbisits
Copy link
Owner

jbisits commented Sep 7, 2023

Currently to find the non-missing values a layer in a RasterStack each layer is read in find_stack_non_missing and then the non-missing data are collected into a NTuple to be passed to StatsBase.fit(::Histogram). It would be better to only read each layer once.

@jbisits
Copy link
Owner Author

jbisits commented Sep 8, 2023

I have a branch (reduceread) that I can play around with this.

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

1 participant