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

revisit use of prepInputs and caching #9

Open
achubaty opened this issue Apr 16, 2024 · 1 comment
Open

revisit use of prepInputs and caching #9

achubaty opened this issue Apr 16, 2024 · 1 comment

Comments

@achubaty
Copy link
Contributor

achubaty commented Apr 16, 2024

We currently split the steps used by prepInputs by calling preProcess and postProcess directly, because prepInputs doesn’t know how to work with pieces of datasets (tiles etc.) — it needs to get, assemble, then do something with the data pieces. Also, working directly with the gdal tools is faster, leaving postProcess to deal with final crop/mask/reproject.

We should revisit the workflow to see how we might improve it to better use prepInputs and Cache machinery, e.g. for file checking and caching.

@eliotmcintire
Copy link
Collaborator

This sounds like if we just put the functions in a function and pass them to fun, it would achieve the desired goal, no?

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

2 participants