<p><b>laura@ucar.edu</b> 2013-02-11 15:35:53 -0700 (Mon, 11 Feb 2013)</p><p>Added the initialization of the outputs xkzh and xkzm, and local variables xkzhl and xkzml, to avoid outputs of spurious values of the vertical diffusion coefficients in the upper model layers where those variables do not always need to be calculated.<br>
</p><hr noshade><pre><font color="gray">Modified: branches/atmos_physics/src/core_atmos_physics/physics_wrf/module_bl_ysu.F
===================================================================
--- branches/atmos_physics/src/core_atmos_physics/physics_wrf/module_bl_ysu.F        2013-02-08 21:16:24 UTC (rev 2458)
+++ branches/atmos_physics/src/core_atmos_physics/physics_wrf/module_bl_ysu.F        2013-02-11 22:35:53 UTC (rev 2459)
@@ -639,6 +639,17 @@
      delta(i)  = 0.0
    enddo
 !
+!... ldf:
+   do k = kts,kte
+   do i = its,ite
+      xkzh(i,k)  = 0.0
+      xkzm(i,k)  = 0.0
+      xkzhl(i,k) = 0.0
+      xkzml(i,k) = 0.0
+   enddo
+   enddo
+!... end ldf.
+!
    do k = kts,klpbl
      do i = its,ite
        wscalek(i,k) = 0.0

</font>
</pre>