1 subroutine da_lcl(p0, z0, t0, q0, plcl, zlcl, tlcl, qlcl)
3 !-----------------------------------------------------------------------
5 !-----------------------------------------------------------------------
9 real, intent(in) :: p0, z0, t0, q0
10 real, intent(out) :: plcl, zlcl, tlcl, qlcl
14 if (trace_use) call da_trace_entry("da_lcl")
20 tlcl=t0*((plcl/p0)**0.286)
22 call da_qfrmrh(plcl, tlcl, 100.0, qs)
27 zlcl=(1004.0/gravity)*(t0-tlcl)+z0
29 if (trace_use) call da_trace_exit("da_lcl")
38 if (trace_use) call da_trace_exit("da_lcl")
44 if (trace_use) call da_trace_exit("da_lcl")