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

Update comment about start date

parent 8beccfed
No related branches found
No related tags found
No related merge requests found
...@@ -47,8 +47,8 @@ if datetime.now() <= start_time: ...@@ -47,8 +47,8 @@ if datetime.now() <= start_time:
exit(0) exit(0)
# """ # """
# Calculate cumulated degree days above 5 degrees after 1st of April # Calculate cumulated degree days above 5 degrees after 1st of March
# Remove all values before April 1st # Remove all values before March 1st
subprocess.run( subprocess.run(
f"cdo -selname,TM -seldate,{year}-{recurring_start_date}T00:00:00,{year}-12-31T00:00:00 {weatherdata_path}met_1_0km_nordic-{year}.nc {tmp_path}TM_from_april.nc", f"cdo -selname,TM -seldate,{year}-{recurring_start_date}T00:00:00,{year}-12-31T00:00:00 {weatherdata_path}met_1_0km_nordic-{year}.nc {tmp_path}TM_from_april.nc",
shell=True, shell=True,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment