stats_init_xyavg_moist Subroutine

private subroutine stats_init_xyavg_moist()

Arguments

None

Calls

proc~~stats_init_xyavg_moist~~CallsGraph proc~stats_init_xyavg_moist stats_init_xyavg_moist proc~ncinfo ncinfo proc~stats_init_xyavg_moist->proc~ncinfo

Called by

proc~~stats_init_xyavg_moist~~CalledByGraph proc~stats_init_xyavg_moist stats_init_xyavg_moist proc~stats_prepare stats_prepare proc~stats_prepare->proc~stats_init_xyavg_moist 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_moist
      implicit none
      allocate(qtxy(kb:ke+kh))
      allocate(qlxy(kb:ke+kh))
      allocate(wpqtpxyk(kb:ke+kh))
      allocate(wqtxyk(kb:ke+kh))
      allocate(qtxyk(kb:ke+kh))
      allocate(qtsgsxy(kb:ke+kh))
      call ncinfo( xyVars(ctrxy+ 1,:), 'qt'       , 'Total water specific humidity', 'kg/kg'     , 'tt' )
      call ncinfo( xyVars(ctrxy+ 2,:), 'wpqtp'    , 'Turbulent moisture flux'      , 'kg m/kg s' , 'mt' )
      call ncinfo( xyVars(ctrxy+ 3,:), 'wqt'      , 'Advective moisture flux'      , 'kg m/kg s' , 'mt' )
      call ncinfo( xyVars(ctrxy+ 4,:), 'qtsgs'    , 'SGS moisture flux'            , 'kg m/kg s' , 'mt' )
      call ncinfo( xyVars(ctrxy+ 5,:), 'ql'       , 'Liquid-water specific humidity', 'kg/kg'    , 'tt' )
      ctrxy = ctrxy+5
    end subroutine stats_init_xyavg_moist