stats_init_xytavg_temp Subroutine

private subroutine stats_init_xytavg_temp()

Arguments

None

Calls

proc~~stats_init_xytavg_temp~~CallsGraph proc~stats_init_xytavg_temp stats_init_xytavg_temp proc~ncinfo ncinfo proc~stats_init_xytavg_temp->proc~ncinfo

Called by

proc~~stats_init_xytavg_temp~~CalledByGraph proc~stats_init_xytavg_temp stats_init_xytavg_temp proc~stats_prepare stats_prepare proc~stats_prepare->proc~stats_init_xytavg_temp proc~stats_main stats_main proc~stats_main->proc~stats_prepare program~udales uDALES program~udales->proc~stats_main

Source Code

    subroutine stats_init_xytavg_temp
      implicit none
      allocate(thlxyt(kb:ke+kh))
      allocate(tempxyt(kb:ke+kh))
      allocate(wpthlpxytk(kb:ke+kh))
      allocate(wthlxytk(kb:ke+kh))
      allocate(thlpthlpxyt(kb:ke+kh))
      allocate(thlsgsxyt(kb:ke+kh))
      call ncinfo( xytVars(ctrxyt+ 1,:), 'thl'      , 'Liquid water potential temperature', 'K'         , 'tt' )
      call ncinfo( xytVars(ctrxyt+ 2,:), 'wpthlp'   , 'Turbulent heat flux'      , 'K m/s'     , 'mt' )
      call ncinfo( xytVars(ctrxyt+ 3,:), 'wthl'     , 'Dispersive heat flux'     , 'K m/s'     , 'mt' )
      call ncinfo( xytVars(ctrxyt+ 4,:), 'thlpthlp' , 'Temp. variance'           , 'K^2'       , 'tt' )
      call ncinfo( xytVars(ctrxyt+ 5,:), 'thlsgs'   , 'SGS heat flux'            , 'K m/s'     , 'mt' )
      call ncinfo( xytVars(ctrxyt+ 6,:), 'tha'      , 'Air temperature'          , 'K'         , 'tt' )
      ctrxyt = ctrxyt+6
    end subroutine stats_init_xytavg_temp