GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: phylmd/rrtm/srtm_cmbgb26.F90 Lines: 0 11 0.0 %
Date: 2023-06-30 12:51:15 Branches: 0 8 0.0 %

Line Branch Exec Source
1
SUBROUTINE SRTM_CMBGB26
2
3
!     BAND 26:  22650-29000 cm-1 (low - nothing; high - nothing)
4
!-----------------------------------------------------------------------
5
6
USE PARKIND1  ,ONLY : JPIM , JPRB
7
USE YOMHOOK   ,ONLY : LHOOK, DR_HOOK
8
9
USE YOESRTWN , ONLY : NGC, NGS, NGN, RWGT
10
USE YOESRTA26, ONLY : SFLUXREF, RAYL, &
11
                    & SFLUXREFC, RAYLC
12
13
IMPLICIT NONE
14
15
! Local variables
16
INTEGER(KIND=JPIM) :: IGC, IPR, IPRSM
17
REAL(KIND=JPRB)    :: ZSUMF1, ZSUMF2
18
19
REAL(KIND=JPRB) :: ZHOOK_HANDLE
20
!     ------------------------------------------------------------------
21
IF (LHOOK) CALL DR_HOOK('SRTM_CMBGB26',0,ZHOOK_HANDLE)
22
23
IPRSM = 0
24
DO IGC = 1,NGC(11)
25
  ZSUMF1 = 0.
26
  ZSUMF2 = 0.
27
  DO IPR = 1, NGN(NGS(10)+IGC)
28
    IPRSM = IPRSM + 1
29
    ZSUMF1 = ZSUMF1 + RAYL(IPRSM)*RWGT(IPRSM+160)
30
    ZSUMF2 = ZSUMF2 + SFLUXREF(IPRSM)
31
  ENDDO
32
  RAYLC(IGC) = ZSUMF1
33
  SFLUXREFC(IGC) = ZSUMF2
34
ENDDO
35
36
!     -----------------------------------------------------------------
37
IF (LHOOK) CALL DR_HOOK('SRTM_CMBGB26',1,ZHOOK_HANDLE)
38
END SUBROUTINE SRTM_CMBGB26
39