1 | !*************************************************************************** |
---|
2 | SUBROUTINE RRTM_CMBGB15 |
---|
3 | !*************************************************************************** |
---|
4 | |
---|
5 | ! BAND 15: 2380-2600 cm-1 (low - N2O,CO2; high - nothing) |
---|
6 | ! ABozzo 2001306 updated to rrtmg v4.85 |
---|
7 | ! band 15: 2380-2600 cm-1 (low - n2o,co2; low minor - n2) |
---|
8 | ! (high - nothing) |
---|
9 | !*************************************************************************** |
---|
10 | |
---|
11 | ! Parameters |
---|
12 | USE PARKIND1 ,ONLY : JPIM ,JPRB |
---|
13 | USE YOMHOOK ,ONLY : LHOOK, DR_HOOK, JPHOOK |
---|
14 | |
---|
15 | USE YOERRTO15, ONLY : KAO ,KAO_MN2,SELFREFO,FORREFO ,FRACREFAO |
---|
16 | USE YOERRTA15, ONLY : KA ,KA_MN2,SELFREF,FORREF ,FRACREFA |
---|
17 | USE YOERRTRWT, ONLY : RWGT |
---|
18 | USE YOERRTFTR, ONLY : NGC ,NGS ,NGN |
---|
19 | |
---|
20 | IMPLICIT NONE |
---|
21 | |
---|
22 | INTEGER(KIND=JPIM) :: IGC, IPR, IPRSM, JN, JP, JT |
---|
23 | |
---|
24 | REAL(KIND=JPRB) :: Z_SUMF, Z_SUMK |
---|
25 | REAL(KIND=JPHOOK) :: ZHOOK_HANDLE |
---|
26 | |
---|
27 | IF (LHOOK) CALL DR_HOOK('RRTM_CMBGB15',0,ZHOOK_HANDLE) |
---|
28 | DO JN = 1,9 |
---|
29 | DO JT = 1,5 |
---|
30 | DO JP = 1,13 |
---|
31 | IPRSM = 0 |
---|
32 | DO IGC = 1,NGC(15) |
---|
33 | Z_SUMK = 0.0_JPRB |
---|
34 | DO IPR = 1, NGN(NGS(14)+IGC) |
---|
35 | IPRSM = IPRSM + 1 |
---|
36 | |
---|
37 | Z_SUMK = Z_SUMK + KAO(JN,JT,JP,IPRSM)*RWGT(IPRSM+224) |
---|
38 | ENDDO |
---|
39 | |
---|
40 | KA(JN,JT,JP,IGC) = Z_SUMK |
---|
41 | ENDDO |
---|
42 | ENDDO |
---|
43 | ENDDO |
---|
44 | ENDDO |
---|
45 | |
---|
46 | DO JN = 1,9 |
---|
47 | DO JT = 1,19 |
---|
48 | IPRSM = 0 |
---|
49 | DO IGC = 1,NGC(15) |
---|
50 | Z_SUMK = 0.0_JPRB |
---|
51 | DO IPR = 1, NGN(NGS(14)+IGC) |
---|
52 | IPRSM = IPRSM + 1 |
---|
53 | Z_SUMK = Z_SUMK + KAO_MN2(JN,JT,IPRSM)*RWGT(IPRSM+224) |
---|
54 | ENDDO |
---|
55 | KA_MN2(JN,JT,IGC) = Z_SUMK |
---|
56 | ENDDO |
---|
57 | ENDDO |
---|
58 | ENDDO |
---|
59 | |
---|
60 | DO JT = 1,10 |
---|
61 | IPRSM = 0 |
---|
62 | DO IGC = 1,NGC(15) |
---|
63 | Z_SUMK = 0.0_JPRB |
---|
64 | DO IPR = 1, NGN(NGS(14)+IGC) |
---|
65 | IPRSM = IPRSM + 1 |
---|
66 | |
---|
67 | Z_SUMK = Z_SUMK + SELFREFO(JT,IPRSM)*RWGT(IPRSM+224) |
---|
68 | ENDDO |
---|
69 | |
---|
70 | SELFREF(JT,IGC) = Z_SUMK |
---|
71 | ENDDO |
---|
72 | ENDDO |
---|
73 | |
---|
74 | DO JT = 1,4 |
---|
75 | IPRSM = 0 |
---|
76 | DO IGC = 1,NGC(15) |
---|
77 | Z_SUMK = 0.0_JPRB |
---|
78 | DO IPR = 1, NGN(NGS(14)+IGC) |
---|
79 | IPRSM = IPRSM + 1 |
---|
80 | Z_SUMK = Z_SUMK + FORREFO(JT,IPRSM)*RWGT(IPRSM+224) |
---|
81 | ENDDO |
---|
82 | FORREF(JT,IGC) = Z_SUMK |
---|
83 | ENDDO |
---|
84 | ENDDO |
---|
85 | |
---|
86 | DO JP = 1,9 |
---|
87 | IPRSM = 0 |
---|
88 | DO IGC = 1,NGC(15) |
---|
89 | Z_SUMF = 0.0_JPRB |
---|
90 | DO IPR = 1, NGN(NGS(14)+IGC) |
---|
91 | IPRSM = IPRSM + 1 |
---|
92 | |
---|
93 | Z_SUMF = Z_SUMF + FRACREFAO(IPRSM,JP) |
---|
94 | ENDDO |
---|
95 | |
---|
96 | FRACREFA(IGC,JP) = Z_SUMF |
---|
97 | ENDDO |
---|
98 | ENDDO |
---|
99 | |
---|
100 | |
---|
101 | IF (LHOOK) CALL DR_HOOK('RRTM_CMBGB15',1,ZHOOK_HANDLE) |
---|
102 | END SUBROUTINE RRTM_CMBGB15 |
---|