-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix time history units in WW3 output
- Loading branch information
1 parent
6f9085f
commit cf1d626
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/model/src/wav_comp_nuopc.F90 b/model/src/wav_comp_nuopc.F90 | ||
index 8b9ff5a5..eabdb47f 100644 | ||
--- a/model/src/wav_comp_nuopc.F90 | ||
+++ b/model/src/wav_comp_nuopc.F90 | ||
@@ -608,7 +608,7 @@ contains | ||
if (ChkErr(rc,__LINE__,u_FILE_u)) return | ||
endif | ||
! Determine time attributes for history output | ||
- call ESMF_TimeGet( esmfTime, timeString=time_origin, calendar=calendar, rc=rc ) | ||
+ call ESMF_TimeGet( startTime, timeString=time_origin, calendar=calendar, rc=rc ) | ||
if (ChkErr(rc,__LINE__,u_FILE_u)) return | ||
time_origin = 'seconds since '//time_origin(1:10)//' '//time_origin(12:19) | ||
!call ESMF_ClockGet(clock, calendar=calendar) |