stats_init_xyavg_temp Subroutine

private subroutine stats_init_xyavg_temp()

Arguments

None

Calls

proc~~stats_init_xyavg_temp~~CallsGraph proc~stats_init_xyavg_temp stats_init_xyavg_temp proc~ncinfo ncinfo proc~stats_init_xyavg_temp->proc~ncinfo

Called by

proc~~stats_init_xyavg_temp~~CalledByGraph proc~stats_init_xyavg_temp stats_init_xyavg_temp proc~stats_prepare stats_prepare proc~stats_prepare->proc~stats_init_xyavg_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_xyavg_temp
      implicit none
      allocate(thlxy(kb:ke+kh))
      allocate(tempxy(kb:ke+kh))
      allocate(wpthlpxyk(kb:ke+kh))
      allocate(wthlxyk(kb:ke+kh))
      allocate(thlxyk(kb:ke+kh))
      allocate(thlsgsxy(kb:ke+kh))
      call ncinfo( xyVars(ctrxy+ 1,:), 'thl'      , 'Liquid water potential temperature', 'K'         , 'tt' )
      call ncinfo( xyVars(ctrxy+ 2,:), 'wpthlp'   , 'Turbulent heat flux'      , 'K m/s'     , 'mt' )
      call ncinfo( xyVars(ctrxy+ 3,:), 'wthl'     , 'Advective heat flux'      , 'K m/s'     , 'mt' )
      call ncinfo( xyVars(ctrxy+ 4,:), 'thlsgs'   , 'SGS heat flux'            , 'K m/s'     , 'mt' )
      call ncinfo( xyVars(ctrxy+ 5,:), 'tha'      , 'Air temperature'          , 'K'         , 'tt' )
      ctrxy = ctrxy+5
    end subroutine stats_init_xyavg_temp