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

Adds data cache #14

Open
Nowosad opened this issue Aug 16, 2020 · 2 comments
Open

Adds data cache #14

Nowosad opened this issue Aug 16, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@Nowosad
Copy link
Collaborator

Nowosad commented Aug 16, 2020

Related discussion - https://twitter.com/jakub_nowosad/status/1295030990121979908.

@kadyb kadyb added the enhancement New feature or request label Aug 16, 2020
@kadyb
Copy link
Owner

kadyb commented Nov 11, 2020

  1. There should be an argument cache in pointDTM_get() function. If retrieving all values fails, the function should return some data. Then that object can be passed back as a function argument and retrieved the rest of the data.
DTM = pointDTM_get(polygon, cache = NULL)
# partially a failure, try get again
DTM = pointDTM_get(polygon, cache = DTM)

@kadyb
Copy link
Owner

kadyb commented Nov 11, 2020

  1. We should check if the files have been downloaded before. If so, they should be skipped when downloading.

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

No branches or pull requests

2 participants