Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add switch_meshcap_pdlib_IC4 and change dev/ufs-weather-model IC4M8 to IC4M10 #1211

Open
wants to merge 7 commits into
base: dev/ufs-weather-model
Choose a base branch
from
1 change: 1 addition & 0 deletions model/bin/switch_meshcap_pdlib_IC4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NCO PDLIB SCOTCH NOGRB DIST MPI PIO PR3 UQ FLX0 SEED ST4 STAB0 NL1 BT1 DB1 MLIM FLD2 TR0 BS0 RWND WNX1 WNT1 CRX1 CRT1 O0 O1 O2 O3 O4 O5 O6 O7 O14 O15 IC4 IS0 REF0
6 changes: 3 additions & 3 deletions model/src/w3iorsmd.F90
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ MODULE W3IORSMD
!/
!/ Private parameter statements (ID strings)
!/
CHARACTER(LEN=10), PARAMETER, PRIVATE :: VERINI = '2021-05-28'
CHARACTER(LEN=10), PARAMETER, PRIVATE :: VERINI = '2024-04-26'
CHARACTER(LEN=26), PARAMETER, PRIVATE :: &
IDSTR = 'WAVEWATCH III RESTART FILE'
!/
Expand Down Expand Up @@ -852,7 +852,7 @@ SUBROUTINE W3IORS ( INXOUT, NDSR, DUMFPI, IMOD, FLRSTRT , filename)
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)
Expand Down Expand Up @@ -1037,7 +1037,7 @@ SUBROUTINE W3IORS ( INXOUT, NDSR, DUMFPI, IMOD, FLRSTRT , filename)
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)
Expand Down
6 changes: 3 additions & 3 deletions model/src/w3sic4md.F90
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,8 @@ SUBROUTINE W3SIC4 (A, DEPTH, CG, IX, IY, S, D)
ICECOEF4, ICECOEF5, ICECOEF6, &
ICECOEF7, ICECOEF8

REAL :: x1,x2,x3,x1sqr,x2sqr,x3sqr !case 8
REAL :: perfour,amhb,bmhb !case 8
REAL :: x1,x2,x3,x1sqr,x2sqr,x3sqr !case 10
REAL :: perfour,amhb,bmhb !case 10

REAL :: KI1,KI2,KI3,KI4,FC5,FC6,FC7,FREQ
REAL :: HS, EMEAN, HICE
Expand Down Expand Up @@ -556,7 +556,7 @@ SUBROUTINE W3SIC4 (A, DEPTH, CG, IX, IY, S, D)
END DO
WN_I= 0.5 * ALPHA

CASE (8)
CASE (10)
!CMB added option of cubic fit to Meylan, Horvat & Bitz in prep
! ICECOEF1 is thickness
! ICECOEF5 is floe size
Expand Down
Loading