anchor.diff:                                                       conv_dt_tg,  conv_dt_qg,       &
                                                            r_w1, r_w2, r_b1, r_b2, &
                                                            xscale_mean, xscale_stnd, yscale_absmax, raindebug, conv_dt_qgdebug)
  +
  +! Call dargan-bettsmiller scheme as a debugging check on the neural scheme
  + rain_dbm = 0.0; snow = 0.0 
  +   call dargan_bettsmiller (                            delta_t,              tg(:,:,:,previous),        &
  +                              grid_tracers(:,:,:,previous,nhum),                          p_full,        &
  +                                                         p_half,                           coldT,        &
  +                                                           rain_dbm,                            snow,        &
  +                                                     conv_dt_tg_dbm,                      conv_dt_qg_dbm,        &
  +                                                          q_ref,                          bmflag,        &
  +                                                          klzbs,                            cape,        &
  +                                                          cin,                             t_ref,        &
  +                                                          invtau_bm_t,               invtau_bm_q,        &
  +                                                          capeflag)
   
   endif
   
  
positive.code:      conv_dt_tg,           &   ! temperature tendency from convection
       conv_dt_qg,           &   ! moisture tendency from convection
       conv_dt_qgdebug,           &   ! moisture tendency from convection
       cond_dt_tg,           &   ! temperature tendency from condensation
       cond_dt_qg,           &   ! moisture tendency from condensation
       t_intermed,           &   ! temperature before convection
  
negative.code: coldT = .false.
  rain = 0.0; snow = 0.0
  raindebug = 0.0
  rain_dbm = 0.0
                                                                                  
  ! end POG additions
  
  