ENH: Cache netcdf4 datasets to avoid multiple downloads #654
Labels
Enhancement
New feature or request, including adjustments in current codes
Environment
Enviroment Class related features
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.
The text was updated successfully, but these errors were encountered: