stats_init_yavg_temp Subroutine

private subroutine stats_init_yavg_temp()

Arguments

None

Calls

proc~~stats_init_yavg_temp~~CallsGraph proc~stats_init_yavg_temp stats_init_yavg_temp proc~ncinfo ncinfo proc~stats_init_yavg_temp->proc~ncinfo

Called by

proc~~stats_init_yavg_temp~~CalledByGraph proc~stats_init_yavg_temp stats_init_yavg_temp proc~stats_prepare stats_prepare proc~stats_prepare->proc~stats_init_yavg_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_yavg_temp
      implicit none
      allocate(thly(ib:ie,kb:ke))
      allocate(tempy(ib:ie,kb:ke))
      allocate(wpthlpyk(ib:ie,kb:ke))
      allocate(wthlyk(ib:ie,kb:ke))
      allocate(thlyk(ib:ie,kb:ke))
      allocate(thlsgsy(ib:ie,kb:ke))
      call ncinfo( yVars(ctry+ 1,:), 'thl'      , 'Liquid water potential temperature', 'K'         , 't0tt' )
      call ncinfo( yVars(ctry+ 2,:), 'wpthlp'   , 'Turbulent heat flux'      , 'K m/s'     , 't0mt' )
      call ncinfo( yVars(ctry+ 3,:), 'wthl'     , 'Advective heat flux'      , 'K m/s'     , 't0mt' )
      call ncinfo( yVars(ctry+ 4,:), 'thlsgs'   , 'SGS heat flux'            , 'K m/s'     , 't0mt' )
      call ncinfo( yVars(ctry+ 5,:), 'tha'      , 'Air temperature'          , 'K'         , 't0tt' )
      ctry = ctry+5
    end subroutine stats_init_yavg_temp