CAM
stats_clubb_utilities Module Reference

Functions/Subroutines

subroutine, public stats_init (iunit, fname_prefix, fdir, l_stats_in, stats_fmt_in, stats_tsamp_in, stats_tout_in, fnamelist, nzmax, nlon, nlat, gzt, gzm, nnrad_zt, grad_zt, nnrad_zm, grad_zm, day, month, year, rlon, rlat, time_current, delt, l_silhs_out_in)
 
subroutine, private stats_zero (ii, jj, kk, nn, x, n, l_in_update)
 
subroutine, private stats_avg (ii, jj, kk, nn, x, n)
 
subroutine, public stats_begin_timestep (itime, stats_nsamp, stats_nout)
 
subroutine, public stats_end_timestep ()
 
subroutine, public stats_accumulate (um, vm, upwp, vpwp, up2, vp2, thlm, rtm, wprtp, wpthlp, wp2, wp3, rtp2, thlp2, rtpthlp, p_in_Pa, exner, rho, rho_zm, rho_ds_zm, rho_ds_zt, thv_ds_zm, thv_ds_zt, wm_zt, wm_zm, rcm, wprcp, rc_coef, rcm_zm, rtm_zm, thlm_zm, cloud_frac, ice_supersat_frac, cloud_frac_zm, ice_supersat_frac_zm, rcm_in_layer, cloud_cover, sigma_sqd_w, pdf_params, sclrm, sclrp2, sclrprtp, sclrpthlp, sclrm_forcing, wpsclrp, edsclrm, edsclrm_forcing)
 
subroutine, public stats_accumulate_hydromet (hydromet, rho_ds_zt)
 
subroutine, public stats_accumulate_lh_tend (lh_hydromet_mc, lh_Ncm_mc, lh_thlm_mc, lh_rvm_mc, lh_rcm_mc)
 
subroutine, public stats_finalize ()
 
subroutine, private stats_check_num_samples (stats_grid, l_error)
 

Function/Subroutine Documentation

◆ stats_accumulate()

subroutine, public stats_clubb_utilities::stats_accumulate ( real( kind = core_rknd ), dimension(gr%nz), intent(in)  um,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  vm,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  upwp,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  vpwp,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  up2,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  vp2,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  thlm,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  rtm,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  wprtp,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  wpthlp,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  wp2,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  wp3,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  rtp2,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  thlp2,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  rtpthlp,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  p_in_Pa,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  exner,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  rho,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  rho_zm,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  rho_ds_zm,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  rho_ds_zt,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  thv_ds_zm,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  thv_ds_zt,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  wm_zt,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  wm_zm,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  rcm,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  wprcp,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  rc_coef,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  rcm_zm,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  rtm_zm,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  thlm_zm,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  cloud_frac,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  ice_supersat_frac,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  cloud_frac_zm,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  ice_supersat_frac_zm,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  rcm_in_layer,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  cloud_cover,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  sigma_sqd_w,
type(pdf_parameter), dimension(gr%nz), intent(in)  pdf_params,
real( kind = core_rknd ), dimension(gr%nz,sclr_dim), intent(in)  sclrm,
real( kind = core_rknd ), dimension(gr%nz,sclr_dim), intent(in)  sclrp2,
real( kind = core_rknd ), dimension(gr%nz,sclr_dim), intent(in)  sclrprtp,
real( kind = core_rknd ), dimension(gr%nz,sclr_dim), intent(in)  sclrpthlp,
real( kind = core_rknd ), dimension(gr%nz,sclr_dim), intent(in)  sclrm_forcing,
real( kind = core_rknd ), dimension(gr%nz,sclr_dim), intent(in)  wpsclrp,
real( kind = core_rknd ), dimension(gr%nz,edsclr_dim), intent(in)  edsclrm,
real( kind = core_rknd ), dimension(gr%nz,edsclr_dim), intent(in)  edsclrm_forcing 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ stats_accumulate_hydromet()

subroutine, public stats_clubb_utilities::stats_accumulate_hydromet ( real( kind = core_rknd ), dimension(gr%nz,hydromet_dim), intent(in)  hydromet,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  rho_ds_zt 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ stats_accumulate_lh_tend()

subroutine, public stats_clubb_utilities::stats_accumulate_lh_tend ( real( kind = core_rknd ), dimension(gr%nz,hydromet_dim), intent(in)  lh_hydromet_mc,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  lh_Ncm_mc,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  lh_thlm_mc,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  lh_rvm_mc,
real( kind = core_rknd ), dimension(gr%nz), intent(in)  lh_rcm_mc 
)
Here is the call graph for this function:

◆ stats_avg()

subroutine, private stats_clubb_utilities::stats_avg ( integer, intent(in)  ii,
integer, intent(in)  jj,
integer, intent(in)  kk,
integer, intent(in)  nn,
real(kind=stat_rknd), dimension(ii,jj,kk,nn), intent(inout)  x,
integer(kind=stat_nknd), dimension(ii,jj,kk,nn), intent(in)  n 
)
private
Here is the caller graph for this function:

◆ stats_begin_timestep()

subroutine, public stats_clubb_utilities::stats_begin_timestep ( integer, intent(in)  itime,
integer, intent(in)  stats_nsamp,
integer, intent(in)  stats_nout 
)
Here is the caller graph for this function:

◆ stats_check_num_samples()

subroutine, private stats_clubb_utilities::stats_check_num_samples ( type (stats), intent(in)  stats_grid,
logical, intent(inout)  l_error 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ stats_end_timestep()

subroutine, public stats_clubb_utilities::stats_end_timestep ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ stats_finalize()

subroutine, public stats_clubb_utilities::stats_finalize ( )
Here is the caller graph for this function:

◆ stats_init()

subroutine, public stats_clubb_utilities::stats_init ( integer, intent(in)  iunit,
character(len=*), intent(in)  fname_prefix,
character(len=*), intent(in)  fdir,
logical, intent(in)  l_stats_in,
character(len=*), intent(in)  stats_fmt_in,
real( kind = core_rknd ), intent(in)  stats_tsamp_in,
real( kind = core_rknd ), intent(in)  stats_tout_in,
character(len=*), intent(in)  fnamelist,
integer, intent(in)  nzmax,
integer, intent(in)  nlon,
integer, intent(in)  nlat,
real( kind = core_rknd ), dimension(nzmax), intent(in)  gzt,
real( kind = core_rknd ), dimension(nzmax), intent(in)  gzm,
integer, intent(in)  nnrad_zt,
real( kind = core_rknd ), dimension(nnrad_zt), intent(in)  grad_zt,
integer, intent(in)  nnrad_zm,
real( kind = core_rknd ), dimension(nnrad_zm), intent(in)  grad_zm,
integer, intent(in)  day,
integer, intent(in)  month,
integer, intent(in)  year,
real( kind = core_rknd ), dimension(nlon), intent(in)  rlon,
real( kind = core_rknd ), dimension(nlat), intent(in)  rlat,
real( kind = time_precision ), intent(in)  time_current,
real( kind = core_rknd ), intent(in)  delt,
logical, intent(in)  l_silhs_out_in 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ stats_zero()

subroutine, private stats_clubb_utilities::stats_zero ( integer, intent(in)  ii,
integer, intent(in)  jj,
integer, intent(in)  kk,
integer, intent(in)  nn,
real(kind=stat_rknd), dimension(ii,jj,kk,nn), intent(out)  x,
integer(kind=stat_nknd), dimension(ii,jj,kk,nn), intent(out)  n,
logical, dimension(ii,jj,kk,nn), intent(out)  l_in_update 
)
private
Here is the caller graph for this function: