Skip to content
Snippets Groups Projects
Commit 65ae0557 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Get timezone from .env

parent 9aba8f66
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment