1 | SUBROUTINE SRTM_CMBGB27 |
---|
2 | |
---|
3 | ! BAND 27: 29000-38000 cm-1 (low - O3; high - O3) |
---|
4 | !----------------------------------------------------------------------- |
---|
5 | |
---|
6 | USE PARKIND1 ,ONLY : JPIM , JPRB |
---|
7 | USE YOMHOOK ,ONLY : LHOOK, DR_HOOK |
---|
8 | |
---|
9 | USE YOESRTM , ONLY : NGN |
---|
10 | USE YOESRTWN , ONLY : NGC, NGS, RWGT |
---|
11 | !USE YOESRTWN , ONLY : NGC, NGS, NGN, RWGT |
---|
12 | USE YOESRTA27, ONLY : KA, KB, SFLUXREF, RAYL, & |
---|
13 | & KAC, KBC, 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=JPRB) :: ZHOOK_HANDLE |
---|
22 | ! ------------------------------------------------------------------ |
---|
23 | IF (LHOOK) CALL DR_HOOK('SRTM_CMBGB27',0,ZHOOK_HANDLE) |
---|
24 | |
---|
25 | DO JT = 1,5 |
---|
26 | DO JP = 1,13 |
---|
27 | IPRSM = 0 |
---|
28 | DO IGC = 1,NGC(12) |
---|
29 | ZSUMK = 0. |
---|
30 | DO IPR = 1, NGN(NGS(11)+IGC) |
---|
31 | IPRSM = IPRSM + 1 |
---|
32 | ZSUMK = ZSUMK + KA(JT,JP,IPRSM)*RWGT(IPRSM+176) |
---|
33 | ENDDO |
---|
34 | KAC(JT,JP,IGC) = ZSUMK |
---|
35 | ENDDO |
---|
36 | ENDDO |
---|
37 | |
---|
38 | DO JP = 13,59 |
---|
39 | IPRSM = 0 |
---|
40 | DO IGC = 1,NGC(12) |
---|
41 | ZSUMK = 0. |
---|
42 | DO IPR = 1, NGN(NGS(11)+IGC) |
---|
43 | IPRSM = IPRSM + 1 |
---|
44 | ZSUMK = ZSUMK + KB(JT,JP,IPRSM)*RWGT(IPRSM+176) |
---|
45 | ENDDO |
---|
46 | KBC(JT,JP,IGC) = ZSUMK |
---|
47 | ENDDO |
---|
48 | ENDDO |
---|
49 | ENDDO |
---|
50 | |
---|
51 | IPRSM = 0 |
---|
52 | DO IGC = 1,NGC(12) |
---|
53 | ZSUMF1 = 0. |
---|
54 | ZSUMF2 = 0. |
---|
55 | DO IPR = 1, NGN(NGS(11)+IGC) |
---|
56 | IPRSM = IPRSM + 1 |
---|
57 | ZSUMF1 = ZSUMF1 + SFLUXREF(IPRSM) |
---|
58 | ZSUMF2 = ZSUMF2 + RAYL(IPRSM)*RWGT(IPRSM+176) |
---|
59 | ENDDO |
---|
60 | SFLUXREFC(IGC) = ZSUMF1 |
---|
61 | RAYLC(IGC) = ZSUMF2 |
---|
62 | ENDDO |
---|
63 | |
---|
64 | ! ----------------------------------------------------------------- |
---|
65 | IF (LHOOK) CALL DR_HOOK('SRTM_CMBGB27',1,ZHOOK_HANDLE) |
---|
66 | END SUBROUTINE SRTM_CMBGB27 |
---|
67 | |
---|