diff --git a/SEPTREFHUM.py b/SEPTREFHUM.py index c704d263843dc21a862fc440f6454b0c635081e1..3f2e171ed4c1c7898e818c064d4d844836aeea4b 100755 --- a/SEPTREFHUM.py +++ b/SEPTREFHUM.py @@ -98,6 +98,7 @@ else: weather_data_path = infile_path if year < today.year: weather_data_path = f"{infile_archive_path}{year}/" +logging.info(f"Use weather data from {weather_data_path}") # Path to store intermediary calculations and generated results tmpfile_path = f"tmp/{year}/" @@ -123,8 +124,8 @@ if last_wh_date is not None: start_date = last_wh_date - timedelta(days=2) logging.info(f"Last date of WH calculations is {last_wh_date}. Start date = {start_date}") -weatherdata_files = glob.glob(f"{infile_path}{filename_pattern}") -logging.debug(f"{infile_path}{filename_pattern}") +weatherdata_files = glob.glob(f"{weather_data_path}{filename_pattern}") +logging.debug(f"{weather_data_path}{filename_pattern}") logging.debug("What are the weatherdata files?") logging.debug(weatherdata_files)