Standard usage of the RHmin parameter #1201
ChristopherHill-NOAA
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The RHmin parameter exists within the UPP suite - under
ncep_post.fd/params.F- as a standardized minimum possible value of relative humidity (RH), available for use throughout the code to prevent illegal mathematical calculation of a formula that could otherwise involve a zero- or negative-value representation of RH. The RHmin parameter predates the UPP suite and derives from the development of the CALRH subroutine within legacy post-processing code. The RHmin parameter is known to be used in some of the more commonly called routines underncep_post.fd:FDLVL.f,MDL2P.f,MDL2THANDPV.f,MISCLN.f, andUPP_PHYSICS.f(which now stores CALRH and system-specific derivations).The generation of this discussion was instigated by a review of the RHmin parameter value setting through PRs #1181 and #1186. As the GFS model now features a top vertical level of 80 km (mesopause), increased analytical scrutiny of formulaic calculations representing stratospheric physics requires a revision of the RHmin value setting from 1E-6 to a more representative value of 1E-7, as provided in #1181. The abovelisted routines referencing RHmin will make use of the new value.
Elsewhere in the UPP suite, there exist other routines that make use of similar logic to compare RH values to a minimum value, but do not use RHmin itself. Just as analysis of model output through UPP led to the RHmin value revision, so could additional analysis eventually warrant a standardization of the use of the RHmin parameter (and perhaps other parameters) in more routines. UPP routines employing alternate representations of a minimum RH value (as 0.01, except where noted) are provided below, and are intended for reference in any future issue or PR:
MDL2SIGMA.f: lines 233-236, 265-268, 518-521, 603-606, and 705MDL2SIGMA2.f: lines 234-237LFMFLD.f: lines 126-129NGMFLD.f: lines 164-167GFIP3.fline 123 (value 1E-6 is hard-coded here)Beta Was this translation helpful? Give feedback.
All reactions