-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #160 from COSIMA/ww3_failing_restart
Fix WW3 failing restart
- Loading branch information
Showing
2 changed files
with
24 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,22 @@ | ||
diff --git a/w3iorsmd.F90 b/w3iorsmd.F90.new | ||
index ffb34d47..0e32748b 100644 | ||
--- a/w3iorsmd.F90 | ||
+++ b/w3iorsmd.F90.new | ||
@@ -893,7 +893,7 @@ CONTAINS | ||
WRITEBUFF(:) = 0. | ||
WRITE (NDSR,POS=RPOS,ERR=803,IOSTAT=IERR) WRITEBUFF | ||
WRITE (NDSR,POS=RPOS,ERR=803,IOSTAT=IERR) & | ||
- TLEV, TICE, TRHO | ||
+ TLEV, TICE, TRHO, TIC1, TIC5 | ||
DO IPART=1,NPART | ||
NREC = NREC + 1 | ||
RPOS = 1_8 + LRECL*(NREC-1_8) | ||
@@ -1078,7 +1078,7 @@ CONTAINS | ||
IF (TYPE.EQ.'FULL') THEN | ||
RPOS = 1_8 + LRECL*(NREC-1_8) | ||
READ (NDSR,POS=RPOS,ERR=802,IOSTAT=IERR) & | ||
- TLEV, TICE, TRHO | ||
+ TLEV, TICE, TRHO, TIC1, TIC5 | ||
DO IPART=1,NPART | ||
NREC = NREC + 1 | ||
RPOS = 1_8 + LRECL*(NREC-1_8) |