diff --git a/SEPTREFHUM.py b/SEPTREFHUM.py index fdac7172885da3bd3f79c282dfead13fc4ce7e02..a1cb743084cf15ef88abb184f2d8ba4a73efed8a 100755 --- a/SEPTREFHUM.py +++ b/SEPTREFHUM.py @@ -52,10 +52,7 @@ tmpfile_path = "tmp/" # Names of weather parameters in NetCDF files RR = os.getenv("RR") UM = os.getenv("UM") - - -# TODO: Make this configurable (.env) -local_timezone = pytz.timezone("Europe/Oslo") +local_timezone = pytz.timezone(os.getenv("LOCAL_TIMEZONE")) # Iterate the set of hourly weather data files # 1. When's the latest wh_[DATE].nc file? - set earliest weather data file: start_date = [DATE]-2 days