Skip to content

Commit 4780721

Browse files
authored
Merge pull request #305 from GEOS-ESM/feature/v12-add-mz
v12: Add MZ export
2 parents 6d5f939 + 779d390 commit 4780721

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

DynCore_GridCompMod.F90

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,6 +1070,15 @@ Subroutine SetServices ( gc, rc )
10701070
VLOCATION = MAPL_VLocationEdge, RC=STATUS )
10711071
VERIFY_(STATUS)
10721072

1073+
call MAPL_AddExportSpec ( gc, &
1074+
SHORT_NAME = 'MZ', &
1075+
LONG_NAME = 'vertical_mass_flux', &
1076+
UNITS = 'kg m-2 s-1', &
1077+
PRECISION = ESMF_KIND_R4, &
1078+
DIMS = MAPL_DimsHorzVert, &
1079+
VLOCATION = MAPL_VLocationEdge, RC=STATUS )
1080+
VERIFY_(STATUS)
1081+
10731082
call MAPL_AddExportSpec ( gc, &
10741083
SHORT_NAME = 'PV', &
10751084
LONG_NAME = 'ertels_isentropic_potential_vorticity', &
@@ -4678,6 +4687,7 @@ subroutine Run(gc, import, export, clock, rc)
46784687
! Compute and return the vertical mass flux
46794688
call getVerticalMassFlux(mfxxyz, mfyxyz, mfzxyz, dt)
46804689
call FILLOUT3r8 (export, 'MFZ' , mfzxyz , rc=status); VERIFY_(STATUS)
4690+
call FILLOUT3 (export, 'MZ' , mfzxyz , rc=status); VERIFY_(STATUS)
46814691

46824692
call FILLOUT3 (export, 'U' , ur , rc=status); VERIFY_(STATUS)
46834693
call FILLOUT3 (export, 'V' , vr , rc=status); VERIFY_(STATUS)

0 commit comments

Comments
 (0)