CCPP SciDoc for UFS-SRW v3.0.0  SRW v3.0.0
Common Community Physics Package Developed at DTC
 
Loading...
Searching...
No Matches

◆ gfs_stochastics_run()

subroutine gfs_stochastics::gfs_stochastics_run ( integer, intent(in)  im,
integer, intent(in)  km,
integer, intent(in)  kdt,
real(kind_phys), intent(in)  delt,
logical, intent(in)  do_sppt,
logical, intent(in)  pert_mp,
logical, intent(in)  use_zmtnblck,
logical, intent(in)  do_shum,
logical, intent(in)  do_skeb,
logical, intent(in)  do_ca,
logical, intent(in)  ca_global,
real(kind_phys), dimension(:), intent(in)  ca1,
real(kind_phys), dimension(:), intent(in)  vfact_ca,
real(kind_phys), dimension(:), intent(in)  zmtnblck,
real(kind_phys), dimension(:,:), intent(inout)  sppt_wts,
real(kind_phys), dimension(:,:), intent(in)  skebu_wts,
real(kind_phys), dimension(:,:), intent(in)  skebv_wts,
real(kind_phys), dimension(:,:), intent(in)  shum_wts,
real(kind_phys), dimension(:,:), intent(in)  diss_est,
real(kind_phys), dimension(:,:), intent(in)  ugrs,
real(kind_phys), dimension(:,:), intent(in)  vgrs,
real(kind_phys), dimension(:,:), intent(in)  tgrs,
real(kind_phys), dimension(:,:), intent(in)  qgrs_wv,
real(kind_phys), dimension(:,:), intent(in)  qgrs_cw,
real(kind_phys), dimension(:,:), intent(in)  qgrs_rw,
real(kind_phys), dimension(:,:), intent(in)  qgrs_sw,
real(kind_phys), dimension(:,:), intent(in)  qgrs_iw,
real(kind_phys), dimension(:,:), intent(in)  qgrs_gl,
real(kind_phys), dimension(:,:), intent(inout)  gu0,
real(kind_phys), dimension(:,:), intent(inout)  gv0,
real(kind_phys), dimension(:,:), intent(inout)  gt0,
real(kind_phys), dimension(:,:), intent(inout)  gq0_wv,
real(kind_phys), dimension(:,:), intent(inout)  dtdtnp,
real(kind_phys), dimension(:,:), intent(inout)  gq0_cw,
real(kind_phys), dimension(:,:), intent(inout)  gq0_rw,
real(kind_phys), dimension(:,:), intent(inout)  gq0_sw,
real(kind_phys), dimension(:,:), intent(inout)  gq0_iw,
real(kind_phys), dimension(:,:), intent(inout)  gq0_gl,
real(kind_phys), dimension(:), intent(in)  rain,
real(kind_phys), dimension(:), intent(in)  rainc,
real(kind_phys), dimension(:), intent(inout)  tprcp,
real(kind_phys), dimension(:), intent(inout)  totprcp,
real(kind_phys), dimension(:), intent(inout)  cnvprcp,
real(kind_phys), dimension(:), intent(inout)  totprcpb,
real(kind_phys), dimension(:), intent(inout)  cnvprcpb,
logical, intent(in)  cplflx,
logical, intent(in)  cpllnd,
real(kind_phys), dimension(:), intent(inout)  rain_cpl,
real(kind_phys), dimension(:), intent(inout)  snow_cpl,
real(kind_phys), dimension(:), intent(in)  drain_cpl,
real(kind_phys), dimension(:), intent(in)  dsnow_cpl,
integer, intent(in)  ntcw,
integer, intent(in)  ntrw,
integer, intent(in)  ntsw,
integer, intent(in)  ntiw,
integer, intent(in)  ntgl,
character(len=*), intent(out)  errmsg,
integer, intent(out)  errflg 
)

Argument Table

GFS_stochastics_run General Algorithm

This is the GFS stochastic physics driver. Routines are called prior to radiation and physics steps to handle:

  1. sets up various time/date variables
  2. sets up various triggers
  3. defines random seed indices for radiation (in a reproducible way)
  4. interpolates coefficients for prognostic ozone calculation
  5. performs surface data cycling via the GFS gcycle routine