subroutine stats_init_ytavg_vel implicit none allocate(uyt(ib:ie,kb:ke)) allocate(vyt(ib:ie,kb:ke)) allocate(wyt(ib:ie,kb:ke)) allocate(pyt(ib:ie,kb:ke)) allocate(upwpytik(ib:ie,kb:ke)) allocate(uwytik(ib:ie,kb:ke)) allocate(upupytc(ib:ie,kb:ke)) allocate(vpvpytc(ib:ie,kb:ke)) allocate(wpwpytc(ib:ie,kb:ke)) allocate(usgsyt(ib:ie,kb:ke)) allocate(wsgsyt(ib:ie,kb:ke)) call ncinfo( ytVars(ctryt+ 1,:), 'u' , 'Streamwise velocity' , 'm/s' , 'm0tt' ) call ncinfo( ytVars(ctryt+ 2,:), 'v' , 'Spanwise velocity' , 'm/s' , 't0tt' ) call ncinfo( ytVars(ctryt+ 3,:), 'w' , 'Vertical velocity' , 'm/s' , 't0mt' ) call ncinfo( ytVars(ctryt+ 4,:), 'p' , 'Kinematic Pressure' , 'm^2/s^2' , 't0tt' ) call ncinfo( ytVars(ctryt+ 5,:), 'upwp' , 'Turbulent mom. flux' , 'm^2/s^2' , 'm0mt' ) call ncinfo( ytVars(ctryt+ 6,:), 'uw' , 'Dispersive mom. flux' , 'm^2/s^2' , 'm0mt' ) call ncinfo( ytVars(ctryt+ 7,:), 'upup' , 'u variance - cell centered' , 'm^2/s^2' , 't0tt' ) call ncinfo( ytVars(ctryt+ 8,:), 'vpvp' , 'v variance - cell centered' , 'm^2/s^2' , 't0tt' ) call ncinfo( ytVars(ctryt+ 9,:), 'wpwp' , 'w variance - cell centered' , 'm^2/s^2' , 't0tt' ) call ncinfo( ytVars(ctryt+10,:), 'usgs' , 'SGS mom. flux' , 'm^2/s^2' , 'm0mt' ) call ncinfo( ytVars(ctryt+11,:), 'wsgs' , 'SGS normal stress' , 'm^2/s^2' , 't0tt' ) call ncinfo( ytVars(ctryt+12,:), 'pabs' , 'Hydrostatic absolute pressure', 'Pa' , 't0tt' ) ctryt = ctryt+12 end subroutine stats_init_ytavg_vel