Skip to content

Commit 9e70a8b

Browse files
committed
cftime fix for forecast records
1 parent aeed7d3 commit 9e70a8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

geoglows_ecflow/resources/day_one_forecast.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def update_forecast_records(
257257

258258
# set the time variable attributes
259259
record.variables["time"].setncattr(
260-
"units", f"hours since {year}0101 00:00:00"
260+
"units", f"hours since {year}-01-01 00:00:00"
261261
)
262262

263263
# calculate the number of 3-hourly timesteps that will occur this year

0 commit comments

Comments
 (0)