Skip to content

Commit

Permalink
Merge pull request #248 from geoschem/feature/upwardsmassflux_fix
Browse files Browse the repository at this point in the history
upwardsmassflux diagnostic has been scaled by 1/dt
  • Loading branch information
LiamBindle committed Aug 30, 2022
2 parents e443e28 + decbef6 commit b41c69e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ subroutine prepare_massflux_exports(IMPORT, EXPORT, PLE, dt, RC)
! Get vertical mass flux
call fv_getVerticalMassFlux(MFX_EXPORT, MFY_EXPORT, UpwardsMassFlux, dt)
! Flip vertical so that GCHP diagnostic is positive="up"
UpwardsMassFlux(:,:,:) = UpwardsMassFlux(:,:,LM:0:-1)
UpwardsMassFlux(:,:,:) = UpwardsMassFlux(:,:,LM:0:-1)/dt
end if

_RETURN(ESMF_SUCCESS)
Expand Down

0 comments on commit b41c69e

Please sign in to comment.