Skip to content

Commit

Permalink
🐛 zero windspeed on zero meridian
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderh committed Aug 12, 2020
1 parent ca35173 commit 9d5f8f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model/ftn/wmupdtmd.ftn
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,7 @@
DO J=IXS0, IXSN
JJ=J
IF ( FLAGLL ) THEN
IF ( ICLOSE.NE.ICLOSE_NONE ) JJ = 1 + MOD(J-1,NXI)
IF ( ICLOSE.NE.ICLOSE_NONE ) JJ = 1 + MOD(J-1+NXI,NXI)
IF ( JJ.LT.1 .OR. JJ.GT. NXI ) CYCLE
IXC = NINT((0.5*(XFL+XFR)-X0I-REAL(JJ-1)*SXI)/360.)
IF ( IXC .NE. 0 ) THEN
Expand Down Expand Up @@ -1874,7 +1874,7 @@
END IF
DO J=IXS0, IXSN
IF ( FLAGLL ) THEN
IF ( ICLOSE.NE.ICLOSE_NONE ) JJ = 1 + MOD(J-1,NXI)
IF ( ICLOSE.NE.ICLOSE_NONE ) JJ = 1 + MOD(J-1+NXI,NXI)
IF ( JJ.LT.1 .OR. JJ.GT. NXI ) CYCLE
IXC = NINT((0.5*(XFL+XFR)-X0I-REAL(JJ-1)*SXI)/360.)
IF ( IXC .NE. 0 ) THEN
Expand Down

0 comments on commit 9d5f8f5

Please sign in to comment.