subroutine stats_init_ytavg_temp implicit none allocate(thlyt(ib:ie,kb:ke)) allocate(tempyt(ib:ie,kb:ke)) allocate(wpthlpytk(ib:ie,kb:ke)) allocate(wthlytk(ib:ie,kb:ke)) allocate(thlpthlpyt(ib:ie,kb:ke)) allocate(thlsgsyt(ib:ie,kb:ke)) call ncinfo( ytVars(ctryt+ 1,:), 'thl' , 'Liquid water potential temperature', 'K' , 't0tt' ) call ncinfo( ytVars(ctryt+ 2,:), 'wpthlp' , 'Turbulent heat flux' , 'K m/s' , 't0mt' ) call ncinfo( ytVars(ctryt+ 3,:), 'wthl' , 'Dispersive heat flux' , 'K m/s' , 't0mt' ) call ncinfo( ytVars(ctryt+ 4,:), 'thlpthlp' , 'Temp. variance' , 'K^2' , 't0tt' ) call ncinfo( ytVars(ctryt+ 5,:), 'thlsgs' , 'SGS heat flux' , 'K m/s' , 't0mt' ) call ncinfo( ytVars(ctryt+ 6,:), 'tha' , 'Air temperature' , 'K' , 't0tt' ) ctryt = ctryt+6 end subroutine stats_init_ytavg_temp