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

Make caching of satellite imagery more transparent #121

Open
ejm714 opened this issue Oct 10, 2023 · 0 comments
Open

Make caching of satellite imagery more transparent #121

ejm714 opened this issue Oct 10, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ejm714
Copy link
Collaborator

ejm714 commented Oct 10, 2023

Add information in docs about caching and/or make more configurable.

CyFi caches downloaded imagery to the /tmp/{feature_config_hash} dir by default. We may want to expose the cache_dir in the CLI or at least surface to users how large the cache ended up being and printing the location. We want to avoid filling up space on a user's computer silently.

We download many more cropped Sentinel-2 images than we end up using (as we calculate cloud area for images within 30 days and then use the most recent image that has fewer than 5% clouds).

Each Sentinel-2 item is approximately 2.5MB since we save 15 bands.

@ejm714 ejm714 added the enhancement New feature or request label Oct 10, 2023
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

1 participant