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

ENH: Cache netcdf4 datasets to avoid multiple downloads #654

Open
Gui-FernandesBR opened this issue Aug 19, 2024 · 0 comments
Open

ENH: Cache netcdf4 datasets to avoid multiple downloads #654

Gui-FernandesBR opened this issue Aug 19, 2024 · 0 comments
Labels
Enhancement New feature or request, including adjustments in current codes Environment Enviroment Class related features

Comments

@Gui-FernandesBR
Copy link
Member

When setting na atmospheric model to "Forecast" or "Ensemble", rocketpy will usually download data from servers on the internet. Currently, by executing your code multiple times, the code would be downloading the same data again and again. We need to create a system to cache the datasets that we download from the internet and re-use it if the atmospheric model is reset.

If the dataset is in the netcdf4 format, we want to save it on a .nc format. But some sources (like windy) may provide .json files instead.

Additionally, I would like to see a "no_cache" option to force the code to download new data again if wanted.

@Gui-FernandesBR Gui-FernandesBR added Environment Enviroment Class related features Enhancement New feature or request, including adjustments in current codes labels Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request, including adjustments in current codes Environment Enviroment Class related features
Projects
Status: Backlog
Development

No branches or pull requests

1 participant