Skip to content

Commit e366da2

Browse files
Consistent oasis land/sea mask for SMD and regular grids, consistent
with OASIS convention
1 parent 8c6d53d commit e366da2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

model/src/w3oacpmd.F90

+2-2
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,8 @@ SUBROUTINE CPL_OASIS_GRID(LD_MASTER,ID_LCOMM)
314314
CORLAT(I,1,4) = CORLAT(I,1,3)
315315
! areas
316316
AREA(I,1) = 0.25 * IJKCEL(3,I)*DLON * IJKCEL(4,I)*DLAT
317-
! Model grid mask
318-
MASK(I,1) = 1
317+
! Model grid mask: 0 - sea / 1 - open boundary cells (the land is already excluded)
318+
MASK(I,1) = 0
319319
ENDDO
320320
#endif
321321
!

0 commit comments

Comments
 (0)