diff --git a/india_forecast_app/models/pvnet/model.py b/india_forecast_app/models/pvnet/model.py index 6e4c084..69e06a6 100644 --- a/india_forecast_app/models/pvnet/model.py +++ b/india_forecast_app/models/pvnet/model.py @@ -231,6 +231,7 @@ def _prepare_data_sources(self): # Process/cache remote zarr locally process_and_cache_nwp(nwp_source_file_path, nwp_path) if use_satellite: + shutil.rmtree(satellite_path, ignore_errors=True) download_satellite_data(satellite_source_file_path) if self.asset_type == "wind":