diff --git a/NAERSTADMO.py b/NAERSTADMO.py
index cdaba88dc2f98a66798a3a21952a1b6ec847be4c..57cd23a00fbf63ddd9a559e29e77c2f610faa147 100644
--- a/NAERSTADMO.py
+++ b/NAERSTADMO.py
@@ -78,8 +78,6 @@ bg_filename = f"{tmpfile_path}background_data.nc"
 tmp_filename = f"{tmpfile_path}background_data_tmp.nc"
 prepareWHS = f"{tmpfile_path}prepare_WHS.nc"
 
-utc_offset = "+02:00"
-
 filename = f"{tmpfile_path}weather_data.nc"
 
 def create_dataset():
@@ -115,14 +113,13 @@ def create_dataset():
         file_date = file_name[
             file_name.index("nordic-") + 7 : file_name.index("nordic-") + 17
         ]
-        logging.info(f"Work on date {file_date}")
-
         end_date = None
         end_date = start_date + timedelta(days=5)
 
         if file_date >= start_date.strftime(
             "%Y-%m-%d"
         ) and file_date <= end_date.strftime("%Y-%m-%d"):
+            logging.info(f"Work on date {file_date}")
             if not os.path.exists(f"{tmpfile_path}weather_data.nc"):
                 subprocess.run(f"cp {file} {tmpfile_path}weather_data.nc", shell=True)
             else: