Skip to content

MPAS applications: initialize ZINT from geopotential, rather than from geopotential height - #1653

Open
jaymes-kenyon wants to merge 5 commits into
NOAA-EMC:developfrom
jaymes-kenyon:geopotential
Open

jaymes-kenyon wants to merge 5 commits into
NOAA-EMC:developfrom
jaymes-kenyon:geopotential

Conversation

@jaymes-kenyon

@jaymes-kenyon jaymes-kenyon commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

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).

…d from geopotential, rather than from geopotential height
@jaymes-kenyon jaymes-kenyon changed the title [Draft] MPAS applications: initialize ZINT from geopotential, rather than from geopotential height MPAS applications: initialize ZINT from geopotential, rather than from geopotential height Nov 10, 2026
@jaymes-kenyon
jaymes-kenyon marked this pull request as ready for review November 10, 2026 12:44
@BenjaminBlake-NOAA

Copy link
Copy Markdown
Collaborator

@jaymes-kenyon I tested your changes and here is my run directory on Ursa:
/scratch4/NCEPDEV/stmp/Benjamin.Blake/mpas_2024052700

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?

@jaymes-kenyon

Copy link
Copy Markdown
Contributor Author

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

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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 branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MPASSIT proposes changing PHB from geopotential height to geopotential

3 participants