Skip to content

Commit 6aa587b

Browse files
Added case for unallocated dbllat and dbllon data to match existing approach for lat and lon variables.
1 parent e48332e commit 6aa587b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

model/src/ww3_ounf.F90

+2-2
Original file line numberDiff line numberDiff line change
@@ -2210,8 +2210,8 @@ SUBROUTINE W3EXNC ( NX, NY, IX1, IXN, IY1, IYN, NSEA, &
22102210
IF(.NOT.ALLOCATED(smccy)) ALLOCATE(smccy(SMCNOUT))
22112211
ELSE
22122212
! Regular gridded file
2213-
IF(.NOT.ALLOCATED(lon)) ALLOCATE(lon(NXO))
2214-
IF(.NOT.ALLOCATED(lat)) ALLOCATE(lat(NYO))
2213+
IF(.NOT.ALLOCATED(dbllon)) ALLOCATE(dbllon(NXO))
2214+
IF(.NOT.ALLOCATED(dbllat)) ALLOCATE(dbllat(NYO))
22152215
#endif
22162216
#ifdef W3_RTD
22172217
! Intermediate EQUatorial lat/lon arrays for de-rotation

0 commit comments

Comments
 (0)