Repository navigation
MPAS applications: initialize ZINT from geopotential, rather than from geopotential height - #1653
jaymes-kenyon wants to merge 5 commits into
Conversation
…d from geopotential, rather than from geopotential height
|
@jaymes-kenyon I tested your changes and here is my run directory on Ursa: Could you confirm that the result changes are expected? Looks like mainly HGT fields are affected, but there are a number of other fields listed in the POSTTWO06.tm00.diff file. I'm guessing they use HGT somewhere in their calculations. Or should I use a different MPASSIT netCDF file with the new geopotential arrays for this test? |
|
Thanks, @BenjaminBlake-NOAA. Actually, it looks like the "PH" and "PHB" arrays in your mpassit*.nc file contain geopotential height. These arrays will soon switch to geopotential, owing to a related change in MPASSIT. Let's see if we can get an updated test case (sorry that I marked this as "ready for review" too soon)... @guoqing-noaa — Do we have an updated mpassit.*nc file on Ursa with the new PH and PHB arrays (as geopotential; m2 s–2)? It might also be helpful to have the same case, but with the previous PH and PHB arrays (as geopotential height; gpm). |
| DO I=1,IM | ||
| DO J=JS,JE | ||
| ZINT(I,J,L)=ZINT(I,J,L)+DUM3D(I,J,L) | ||
| ZINT(I,J,L)=(ZINT(I,J,L)+DUM3D(I,J,L))/G |
There was a problem hiding this comment.
@jaymes-kenyon The current UPP regression test system includes two MPAS-related tests, which use model history files contain PH and PHB fields with units of 'gmp'. I suggest adding a new logical variable in CTLBLK.f and setting its default value to .TRUE.. The geopotential height conversion would be applied only when this variable is .TRUE.. We will update our MPAS regression tests accordingly to use the new logical variable. Please let me know your thoughts.
This PR addresses issue #1644, and it requires a related PR in the MPASSIT code (i.e., upstream of UPP). Namely, for MPAS applications, it initializes the "ZINT" array by reading-in geopotential height (units of m), rather than geopotential (units of m2 s–2) (the approach used prior to this PR).