16 INTEGER(KIND=JPIM) :: IGC, IGCSM, IBND, IG, IND, IPR, IPRSM
 
   17 REAL(KIND=JPRB)    :: ZWTSUM
 
   19 REAL(KIND=JPRB) :: ZHOOK_HANDLE
 
   21 #include "susrtm.intfb.h" 
   22 #include "srtm_kgb16.intfb.h" 
   23 #include "srtm_kgb17.intfb.h" 
   24 #include "srtm_kgb18.intfb.h" 
   25 #include "srtm_kgb19.intfb.h" 
   26 #include "srtm_kgb20.intfb.h" 
   27 #include "srtm_kgb21.intfb.h" 
   28 #include "srtm_kgb22.intfb.h" 
   29 #include "srtm_kgb23.intfb.h" 
   30 #include "srtm_kgb24.intfb.h" 
   31 #include "srtm_kgb25.intfb.h" 
   32 #include "srtm_kgb26.intfb.h" 
   33 #include "srtm_kgb27.intfb.h" 
   34 #include "srtm_kgb28.intfb.h" 
   35 #include "srtm_kgb29.intfb.h" 
   38 #include "srtm_cmbgb16.intfb.h" 
   39 #include "srtm_cmbgb17.intfb.h" 
   40 #include "srtm_cmbgb18.intfb.h" 
   41 #include "srtm_cmbgb19.intfb.h" 
   42 #include "srtm_cmbgb20.intfb.h" 
   43 #include "srtm_cmbgb21.intfb.h" 
   44 #include "srtm_cmbgb22.intfb.h" 
   45 #include "srtm_cmbgb23.intfb.h" 
   46 #include "srtm_cmbgb24.intfb.h" 
   47 #include "srtm_cmbgb25.intfb.h" 
   48 #include "srtm_cmbgb26.intfb.h" 
   49 #include "srtm_cmbgb27.intfb.h" 
   50 #include "srtm_cmbgb28.intfb.h" 
   51 #include "srtm_cmbgb29.intfb.h" 
   98       DO ipr = 1, 
ngn(igcsm)
 
  100         zwtsum = zwtsum + 
wt(iprsm)
 
  105     DO ig = 1,
ng(ibnd+15)
 
  106       ind = (ibnd-1)*
jpg + ig
 
  110     DO ig = 1,
ng(ibnd+15)
 
  112       ind = (ibnd-1)*
jpg + ig
 
integer(kind=jpim), parameter jpsw
 
integer(kind=jpim), dimension(112) ngn
 
integer(kind=jpim), dimension(224) ngm
 
real(kind=jprb), dimension(16) wt
 
real(kind=jprb), dimension(224) rwgt
 
subroutine dr_hook(CDNAME, KSWITCH, PKEY)
 
integer(kind=jpim), dimension(16:29) ng
 
real(kind=jprb), dimension(16) wtsm
 
integer(kind=jpim), parameter jpg
 
integer(kind=jpim), dimension(14) ngc