1 | SUBROUTINE SRTM_CMBGB29 |
---|
2 | |
---|
3 | ! BAND 29: 820-2600 cm-1 (low - H2O; high - CO2) |
---|
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 YOESRTA29, ONLY : KA, KB, SELFREF, FORREF, SFLUXREF, & |
---|
13 | & ABSH2O, ABSCO2, & |
---|
14 | & KAC, KBC, SELFREFC, FORREFC, SFLUXREFC, & |
---|
15 | & ABSH2OC, ABSCO2C |
---|
16 | |
---|
17 | IMPLICIT NONE |
---|
18 | |
---|
19 | ! Local variables |
---|
20 | INTEGER(KIND=JPIM) :: JT, JP, IGC, IPR, IPRSM |
---|
21 | REAL(KIND=JPRB) :: ZSUMK, ZSUMF1, ZSUMF2, ZSUMF3 |
---|
22 | |
---|
23 | REAL(KIND=JPHOOK) :: ZHOOK_HANDLE |
---|
24 | ! ------------------------------------------------------------------ |
---|
25 | IF (LHOOK) CALL DR_HOOK('SRTM_CMBGB29',0,ZHOOK_HANDLE) |
---|
26 | |
---|
27 | DO JT = 1,5 |
---|
28 | DO JP = 1,13 |
---|
29 | IPRSM = 0 |
---|
30 | DO IGC = 1,NGC(14) |
---|
31 | ZSUMK = 0. |
---|
32 | DO IPR = 1, NGN(NGS(13)+IGC) |
---|
33 | IPRSM = IPRSM + 1 |
---|
34 | ZSUMK = ZSUMK + KA(JT,JP,IPRSM)*RWGT(IPRSM+208) |
---|
35 | ENDDO |
---|
36 | KAC(JT,JP,IGC) = ZSUMK |
---|
37 | ENDDO |
---|
38 | ENDDO |
---|
39 | |
---|
40 | DO JP = 13,59 |
---|
41 | IPRSM = 0 |
---|
42 | DO IGC = 1,NGC(14) |
---|
43 | ZSUMK = 0. |
---|
44 | DO IPR = 1, NGN(NGS(13)+IGC) |
---|
45 | IPRSM = IPRSM + 1 |
---|
46 | ZSUMK = ZSUMK + KB(JT,JP,IPRSM)*RWGT(IPRSM+208) |
---|
47 | ENDDO |
---|
48 | KBC(JT,JP,IGC) = ZSUMK |
---|
49 | ENDDO |
---|
50 | ENDDO |
---|
51 | ENDDO |
---|
52 | |
---|
53 | DO JT = 1,10 |
---|
54 | IPRSM = 0 |
---|
55 | DO IGC = 1,NGC(14) |
---|
56 | ZSUMK = 0. |
---|
57 | DO IPR = 1, NGN(NGS(13)+IGC) |
---|
58 | IPRSM = IPRSM + 1 |
---|
59 | ZSUMK = ZSUMK + SELFREF(JT,IPRSM)*RWGT(IPRSM+208) |
---|
60 | ENDDO |
---|
61 | SELFREFC(JT,IGC) = ZSUMK |
---|
62 | ENDDO |
---|
63 | ENDDO |
---|
64 | |
---|
65 | DO JT = 1,4 |
---|
66 | IPRSM = 0 |
---|
67 | DO IGC = 1,NGC(14) |
---|
68 | ZSUMK = 0. |
---|
69 | DO IPR = 1, NGN(NGS(13)+IGC) |
---|
70 | IPRSM = IPRSM + 1 |
---|
71 | ZSUMK = ZSUMK + FORREF(JT,IPRSM)*RWGT(IPRSM+208) |
---|
72 | ENDDO |
---|
73 | FORREFC(JT,IGC) = ZSUMK |
---|
74 | ENDDO |
---|
75 | ENDDO |
---|
76 | |
---|
77 | IPRSM = 0 |
---|
78 | DO IGC = 1,NGC(14) |
---|
79 | ZSUMF1 = 0. |
---|
80 | ZSUMF2 = 0. |
---|
81 | ZSUMF3 = 0. |
---|
82 | DO IPR = 1, NGN(NGS(13)+IGC) |
---|
83 | IPRSM = IPRSM + 1 |
---|
84 | ZSUMF1 = ZSUMF1 + SFLUXREF(IPRSM) |
---|
85 | ZSUMF2 = ZSUMF2 + ABSCO2(IPRSM)*RWGT(IPRSM+208) |
---|
86 | ZSUMF3 = ZSUMF3 + ABSH2O(IPRSM)*RWGT(IPRSM+208) |
---|
87 | ENDDO |
---|
88 | SFLUXREFC(IGC) = ZSUMF1 |
---|
89 | ABSCO2C(IGC) = ZSUMF2 |
---|
90 | ABSH2OC(IGC) = ZSUMF3 |
---|
91 | ENDDO |
---|
92 | |
---|
93 | ! ----------------------------------------------------------------- |
---|
94 | IF (LHOOK) CALL DR_HOOK('SRTM_CMBGB29',1,ZHOOK_HANDLE) |
---|
95 | END SUBROUTINE SRTM_CMBGB29 |
---|
96 | |
---|