You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ENH: Cache netcdf4 datasets to avoid multiple downloads #654
Awaiting releaseFixed on develop; closes when the next release reaches masterEnhancementNew feature or request, including adjustments in current codesEnvironmentEnviroment 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.
Awaiting releaseFixed on develop; closes when the next release reaches masterEnhancementNew feature or request, including adjustments in current codesEnvironmentEnviroment Class related features
Activity
ENH: cache downloaded atmosphere netCDF datasets (#654) (#1137)
Gui-FernandesBR commentedon Nov 2, 2026
Reopened: the fix is merged on
developand will close when v1.14.0 is released tomaster.REV: revert the atmosphere disk cache of #1137
ENH: rework the forecast cache: reuse in memory and an opt-in disk ca…