1 | SUBROUTINE SRTM_CMBGB23 |
---|
2 | |
---|
3 | ! BAND 23: 8050-12850 cm-1 (low - H2O; high - nothing) |
---|
4 | !----------------------------------------------------------------------- |
---|
5 | |
---|
6 | USE PARKIND1 ,ONLY : JPIM , JPRB |
---|
7 | USE YOMHOOK ,ONLY : LHOOK, DR_HOOK, JPHOOK |
---|
8 | |
---|
9 | USE YOESRTM , ONLY : NGN |
---|
10 | USE YOESRTWN , ONLY : NGC, NGS, RWGT |
---|
11 | !USE YOESRTWN , ONLY : NGC, NGS, NGN, RWGT |
---|
12 | USE YOESRTA23, ONLY : KA, SELFREF, FORREF, SFLUXREF, RAYL, & |
---|
13 | & KAC, SELFREFC, FORREFC, SFLUXREFC, RAYLC |
---|
14 | |
---|
15 | IMPLICIT NONE |
---|
16 | |
---|
17 | ! Local variables |
---|
18 | INTEGER(KIND=JPIM) :: JT, JP, IGC, IPR, IPRSM |
---|
19 | REAL(KIND=JPRB) :: ZSUMK, ZSUMF1, ZSUMF2 |
---|
20 | |
---|
21 | REAL(KIND=JPHOOK) :: ZHOOK_HANDLE |
---|
22 | ! ------------------------------------------------------------------ |
---|
23 | IF (LHOOK) CALL DR_HOOK('SRTM_CMBGB23',0,ZHOOK_HANDLE) |
---|
24 | |
---|
25 | DO JT = 1,5 |
---|
26 | DO JP = 1,13 |
---|
27 | IPRSM = 0 |
---|
28 | DO IGC = 1,NGC(8) |
---|
29 | ZSUMK = 0. |
---|
30 | DO IPR = 1, NGN(NGS(7)+IGC) |
---|
31 | IPRSM = IPRSM + 1 |
---|
32 | ZSUMK = ZSUMK + KA(JT,JP,IPRSM)*RWGT(IPRSM+112) |
---|
33 | ENDDO |
---|
34 | KAC(JT,JP,IGC) = ZSUMK |
---|
35 | ENDDO |
---|
36 | ENDDO |
---|
37 | ENDDO |
---|
38 | |
---|
39 | DO JT = 1,10 |
---|
40 | IPRSM = 0 |
---|
41 | DO IGC = 1,NGC(8) |
---|
42 | ZSUMK = 0. |
---|
43 | DO IPR = 1, NGN(NGS(7)+IGC) |
---|
44 | IPRSM = IPRSM + 1 |
---|
45 | ZSUMK = ZSUMK + SELFREF(JT,IPRSM)*RWGT(IPRSM+112) |
---|
46 | ENDDO |
---|
47 | SELFREFC(JT,IGC) = ZSUMK |
---|
48 | ENDDO |
---|
49 | ENDDO |
---|
50 | |
---|
51 | DO JT = 1,3 |
---|
52 | IPRSM = 0 |
---|
53 | DO IGC = 1,NGC(8) |
---|
54 | ZSUMK = 0. |
---|
55 | DO IPR = 1, NGN(NGS(7)+IGC) |
---|
56 | IPRSM = IPRSM + 1 |
---|
57 | ZSUMK = ZSUMK + FORREF(JT,IPRSM)*RWGT(IPRSM+112) |
---|
58 | ENDDO |
---|
59 | FORREFC(JT,IGC) = ZSUMK |
---|
60 | ENDDO |
---|
61 | ENDDO |
---|
62 | |
---|
63 | IPRSM = 0 |
---|
64 | DO IGC = 1,NGC(8) |
---|
65 | ZSUMF1 = 0. |
---|
66 | ZSUMF2 = 0. |
---|
67 | DO IPR = 1, NGN(NGS(7)+IGC) |
---|
68 | IPRSM = IPRSM + 1 |
---|
69 | ZSUMF1 = ZSUMF1 + SFLUXREF(IPRSM) |
---|
70 | ZSUMF2 = ZSUMF2 + RAYL(IPRSM)*RWGT(IPRSM+112) |
---|
71 | ENDDO |
---|
72 | SFLUXREFC(IGC) = ZSUMF1 |
---|
73 | RAYLC(IGC) = ZSUMF2 |
---|
74 | ENDDO |
---|
75 | |
---|
76 | ! ----------------------------------------------------------------- |
---|
77 | IF (LHOOK) CALL DR_HOOK('SRTM_CMBGB23',1,ZHOOK_HANDLE) |
---|
78 | END SUBROUTINE SRTM_CMBGB23 |
---|
79 | |
---|