Opposite sign of UpwardsMassflux diagnostic #455
Labels
category: Bug
Something isn't working
topic: Diagnostics
Related to output diagnostic data
topic: Mass Fluxes
Pertaining to cubed-sphere mass flux inputs
Your name
Yuanjian Zhang
Your affiliation
WashU
What happened? What did you expect to happen?
UpwardsMassflux currently is positive = "down" instead of intuitively positive = "up".
Evidence from diagnostics
UpwardsMassflux diagnostic from a Jan 2019 transport tracer run shows negative values around the equator, which, according to Hadley Circulation, should be upwards.
Evidence from codes
We can derive the mass balance below:
where
UPWARDS_MFZ
is the UPWARDS mass flux,CONV
is accumulative horizontal mass flux convergence from top to level k,BK
is the hybrid parameter b,PIT
is the surface pressure tendency.FVdycoreCubed_GridComp/FV_StateMod.F90
In the codes above, however,
mfz(k) = (conv(k) - bk(k)*pit)*unit_conv
, proving mfz here is-upwards_mfz
, in other words, downwards_mfz.GCHP/src/GCHP_GridComp/GCHPctmEnv_GridComp/GCHPctmEnv_GridCompMod.F90
Lines 956 to 957 in e499969
Here the flipping only converts the GMAO vertical conventions to GEOS-Chem vertical conventions, namely from level 1 being top to level 1 being surface.
The text was updated successfully, but these errors were encountered: