diagnose_convection Subroutine

private subroutine diagnose_convection(psa, se, qa, qsat, itop, qdif)

Uses

  • proc~~diagnose_convection~~UsesGraph proc~diagnose_convection diagnose_convection module~physical_constants physical_constants proc~diagnose_convection->module~physical_constants module~params params module~physical_constants->module~params

Diagnose convectively unstable gridboxes

Convection is activated in gridboxes with conditional instability. This is diagnosed by checking for any tropopsheric half level where the saturation moist static energy is lower than in the boundary-layer level. In gridboxes where this is true, convection is activated if either: there is convective instability - the actual moist static energy at the tropospheric level is lower than in the boundary-layer level, or, the relative humidity in the boundary-layer level and lowest tropospheric level exceed a set threshold (rhbl).

Arguments

Type IntentOptional AttributesName
real, intent(in) :: psa(ix,il)

Normalised surface pressure [p/p0]

real, intent(in) :: se(ix,il,kx)

Dry static energy [c_p.T + g.z]

real, intent(in) :: qa(ix,il,kx)

Specific humidity [g/kg]

real, intent(in) :: qsat(ix,il,kx)

Saturation specific humidity [g/kg]

integer, intent(out) :: itop(ix,il)

Top of convection (layer index)

real, intent(out) :: qdif(ix,il)

Excess humidity in convective gridboxes


Called by

proc~~diagnose_convection~~CalledByGraph proc~diagnose_convection diagnose_convection proc~get_convection_tendencies get_convection_tendencies proc~get_convection_tendencies->proc~diagnose_convection proc~get_physical_tendencies get_physical_tendencies proc~get_physical_tendencies->proc~get_convection_tendencies

Contents

None