Updated the calculation of the 2-meter temperature, potential temperature, and specfic humidity over seaice points #1147
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In MPAS-v8.0.1, the 2-meter temperature (t2m), potential temperature (th2m), and specific humidity (q2) are computed in subroutine sfcdiags which is called immediately after the call to seaice_noah in subroutine driver_lsm (see mpas_atmphys_driver_lsm.F). This implies that the input variables in subroutine sfcdiags have not yet been weighted by the seaice fraction which in turn impacts the calculation of the 2-meter diagnostics.
In order to have t2m, th2m, and q2 to depend on the seaice fraction, we moved the correction of local variables as functions of the seaice fraction and call to subroutine sfcdiags at the top of subroutine lsm_to_MPAS.