ecmwf: remove precip from ens recuperation due to memory issue
1 files changed, 4 insertions(+), 0 deletions(-)

M meteo_scraper/ecmwf_scraper.py
M meteo_scraper/ecmwf_scraper.py +4 -0
@@ 52,6 52,8 @@ def find_last_run(model):
 
 def get_ens_data(filename_ens, date, time):
     for param in PARAMS:
+        if param == 'tp':
+            continue
         filename_param = f'{param}_{filename_ens}'
         client.retrieve(
             date=date,

          
@@ 166,5 168,7 @@ def hres_ecmwfdata_to_refinery(tsa, file
 
 def ens_ecmwfdata_to_refinery(tsa, filename_ens):
     for param, unit in PARAMETERS.values():
+        if param == 'tp':
+            continue
         gribfile_ens = mv.read(f'{param}_{filename_ens}')
         exploit_grib_file_ens(tsa, gribfile_ens, param, unit)