ecmwf: correct seriesname granularity
1 files changed, 2 insertions(+), 2 deletions(-)

M meteo_scraper/ecmwf_scraper.py
M meteo_scraper/ecmwf_scraper.py +2 -2
@@ 125,7 125,7 @@ def exploit_grib_file_hres(tsa, gribfile
             val_city = values[:, index_city]
             ts = pd.Series(data=val_city, index = index)
 
-            seriesname = f"meteo.city.{(row[1].country).replace(' ', '').lower()}.{(row[1].city_ascii).replace(' ', '').lower()}.{param}.{unit.lower()}.hres.ecmwf.fcst.3h"
+            seriesname = f"meteo.city.{(row[1].country).replace(' ', '').lower()}.{(row[1].city_ascii).replace(' ', '').lower()}.{param}.{unit.lower()}.hres.ecmwf.fcst.3-6h"
             tsa.replace(seriesname, ts, author='scraper-ecmwf')
 
 

          
@@ 149,7 149,7 @@ def exploit_grib_file_ens(tsa, gribfile)
                 list_ts.append(ts.to_frame(ens+1))
             df = pd.concat(list_ts, axis=1)
 
-            group_name = f'meteo.area.{zone.lower()}.{param}.{unit.lower()}.ens.ecmwf.fcst.3h'
+            group_name = f'meteo.area.{zone.lower()}.{param}.{unit.lower()}.ens.ecmwf.fcst.3-6h'
             tsa.group_replace(group_name, df, author='scraper-ecmwf')
 
         # print(f'retrieving {param} for cities...')