Skip to content

Commit 11d769a

Browse files
committed
fixes #903
1 parent e2b79bd commit 11d769a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

GEOSagcm_GridComp/GEOSsuperdyn_GridComp/GEOSdatmodyn_GridComp/GEOS_DatmoDynGridComp.F90

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ subroutine SetServices ( GC, RC )
336336
LONG_NAME ='pressure velocity', &
337337
UNITS ='Pa/s', &
338338
DIMS = MAPL_DimsHorzVert, &
339-
VLOCATION = MAPL_VLocationEdge, &
339+
VLOCATION = MAPL_VLocationCenter, &
340340
__RC__ )
341341

342342
call MAPL_AddExportSpec(GC, &
@@ -2122,7 +2122,11 @@ subroutine RUN ( GC, IMPORT, EXPORT, CLOCK, RC )
21222122
if (associated(TOUT)) TOUT = T
21232123
if (associated(VOUT)) VOUT = V
21242124
if (associated(UOUT)) UOUT = U
2125-
if (associated(OMOUT)) OMOUT = OM
2125+
if (associated(OMOUT)) then
2126+
do l=lbound(om,3),ubound(om,3)-1
2127+
OMOUT(:,:,l+1) = (om(:,:,l+1)+om(:,:,l))/2.0
2128+
enddo
2129+
end if
21262130
if (associated(PKEOUT)) PKEOUT = PKE
21272131

21282132
DEALLOCATE(THOBS)

0 commit comments

Comments
 (0)