[3908] | 1 | !*************************************************************************** |
---|
| 2 | SUBROUTINE RRTM_CMBGB9 |
---|
| 3 | !*************************************************************************** |
---|
| 4 | |
---|
| 5 | ! BAND 9: 1180-1390 cm-1 (low - H2O,CH4; high - CH4) |
---|
| 6 | ! ABozzo 201306 updated to rrtmg v4.85 |
---|
| 7 | ! band 9: 1180-1390 cm-1 (low key - h2o,ch4; low minor - n2o) |
---|
| 8 | ! (high key - ch4; high minor - n2o)! |
---|
| 9 | !*************************************************************************** |
---|
| 10 | |
---|
| 11 | ! Parameters |
---|
| 12 | USE PARKIND1 ,ONLY : JPIM ,JPRB |
---|
| 13 | USE YOMHOOK ,ONLY : LHOOK, DR_HOOK |
---|
| 14 | |
---|
| 15 | USE YOERRTO9 , ONLY : KAO ,KBO ,SELFREFO, FORREFO ,FRACREFAO ,& |
---|
| 16 | & FRACREFBO, kao_mn2o, kbo_mn2o |
---|
| 17 | USE YOERRTA9 , ONLY : KA ,KB ,SELFREF, FORREF ,FRACREFA ,& |
---|
| 18 | & FRACREFB , ka_mn2o, kb_mn2o |
---|
| 19 | USE YOERRTRWT, ONLY : RWGT |
---|
| 20 | USE YOERRTFTR, ONLY : NGC ,NGS ,NGN |
---|
| 21 | |
---|
| 22 | IMPLICIT NONE |
---|
| 23 | |
---|
| 24 | INTEGER(KIND=JPIM) :: IGC, IPR, IPRSM, JN, JP, JT |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | REAL(KIND=JPRB) :: Z_SUMF, Z_SUMK |
---|
| 28 | REAL(KIND=JPRB) :: ZHOOK_HANDLE |
---|
| 29 | |
---|
| 30 | IF (LHOOK) CALL DR_HOOK('RRTM_CMBGB9',0,ZHOOK_HANDLE) |
---|
| 31 | DO JN = 1,9 |
---|
| 32 | DO JT = 1,5 |
---|
| 33 | DO JP = 1,13 |
---|
| 34 | IPRSM = 0 |
---|
| 35 | DO IGC = 1,NGC(9) |
---|
| 36 | Z_SUMK = 0.0_JPRB |
---|
| 37 | DO IPR = 1, NGN(NGS(8)+IGC) |
---|
| 38 | IPRSM = IPRSM + 1 |
---|
| 39 | |
---|
| 40 | Z_SUMK = Z_SUMK + KAO(JN,JT,JP,IPRSM)*RWGT(IPRSM+128) |
---|
| 41 | ENDDO |
---|
| 42 | |
---|
| 43 | KA(JN,JT,JP,IGC) = Z_SUMK |
---|
| 44 | ENDDO |
---|
| 45 | ENDDO |
---|
| 46 | ENDDO |
---|
| 47 | ENDDO |
---|
| 48 | |
---|
| 49 | DO JT = 1,5 |
---|
| 50 | DO JP = 13,59 |
---|
| 51 | IPRSM = 0 |
---|
| 52 | DO IGC = 1,NGC(9) |
---|
| 53 | Z_SUMK = 0.0_JPRB |
---|
| 54 | DO IPR = 1, NGN(NGS(8)+IGC) |
---|
| 55 | IPRSM = IPRSM + 1 |
---|
| 56 | |
---|
| 57 | Z_SUMK = Z_SUMK + KBO(JT,JP,IPRSM)*RWGT(IPRSM+128) |
---|
| 58 | ENDDO |
---|
| 59 | |
---|
| 60 | KB(JT,JP,IGC) = Z_SUMK |
---|
| 61 | ENDDO |
---|
| 62 | ENDDO |
---|
| 63 | ENDDO |
---|
| 64 | |
---|
| 65 | DO JN = 1,9 |
---|
| 66 | DO JT = 1,19 |
---|
| 67 | IPRSM = 0 |
---|
| 68 | DO IGC = 1,NGC(9) |
---|
| 69 | Z_SUMK = 0.0_JPRB |
---|
| 70 | DO IPR = 1, NGN(NGS(8)+IGC) |
---|
| 71 | IPRSM = IPRSM + 1 |
---|
| 72 | Z_SUMK = Z_SUMK + KAO_MN2O(JN,JT,IPRSM)*RWGT(IPRSM+128) |
---|
| 73 | ENDDO |
---|
| 74 | KA_MN2O(JN,JT,IGC) = Z_SUMK |
---|
| 75 | ENDDO |
---|
| 76 | ENDDO |
---|
| 77 | ENDDO |
---|
| 78 | |
---|
| 79 | DO JT = 1,19 |
---|
| 80 | IPRSM = 0 |
---|
| 81 | DO IGC = 1,NGC(9) |
---|
| 82 | Z_SUMK = 0.0_JPRB |
---|
| 83 | DO IPR = 1, NGN(NGS(8)+IGC) |
---|
| 84 | IPRSM = IPRSM + 1 |
---|
| 85 | Z_SUMK = Z_SUMK + KBO_MN2O(JT,IPRSM)*RWGT(IPRSM+128) |
---|
| 86 | ENDDO |
---|
| 87 | KB_MN2O(JT,IGC) = Z_SUMK |
---|
| 88 | ENDDO |
---|
| 89 | ENDDO |
---|
| 90 | |
---|
| 91 | |
---|
| 92 | |
---|
| 93 | DO JT = 1,10 |
---|
| 94 | IPRSM = 0 |
---|
| 95 | DO IGC = 1,NGC(9) |
---|
| 96 | Z_SUMK = 0.0_JPRB |
---|
| 97 | DO IPR = 1, NGN(NGS(8)+IGC) |
---|
| 98 | IPRSM = IPRSM + 1 |
---|
| 99 | |
---|
| 100 | Z_SUMK = Z_SUMK + SELFREFO(JT,IPRSM)*RWGT(IPRSM+128) |
---|
| 101 | ENDDO |
---|
| 102 | |
---|
| 103 | SELFREF(JT,IGC) = Z_SUMK |
---|
| 104 | ENDDO |
---|
| 105 | ENDDO |
---|
| 106 | |
---|
| 107 | DO JT = 1,4 |
---|
| 108 | IPRSM = 0 |
---|
| 109 | DO IGC = 1,NGC(9) |
---|
| 110 | Z_SUMK = 0.0_JPRB |
---|
| 111 | DO IPR = 1, NGN(NGS(8)+IGC) |
---|
| 112 | IPRSM = IPRSM + 1 |
---|
| 113 | Z_SUMK = Z_SUMK + FORREFO(JT,IPRSM)*RWGT(IPRSM+128) |
---|
| 114 | ENDDO |
---|
| 115 | FORREF(JT,IGC) = Z_SUMK |
---|
| 116 | ENDDO |
---|
| 117 | ENDDO |
---|
| 118 | |
---|
| 119 | |
---|
| 120 | DO JP = 1,9 |
---|
| 121 | IPRSM = 0 |
---|
| 122 | DO IGC = 1,NGC(9) |
---|
| 123 | Z_SUMF = 0.0_JPRB |
---|
| 124 | DO IPR = 1, NGN(NGS(8)+IGC) |
---|
| 125 | IPRSM = IPRSM + 1 |
---|
| 126 | |
---|
| 127 | Z_SUMF = Z_SUMF + FRACREFAO(IPRSM,JP) |
---|
| 128 | ENDDO |
---|
| 129 | |
---|
| 130 | FRACREFA(IGC,JP) = Z_SUMF |
---|
| 131 | ENDDO |
---|
| 132 | ENDDO |
---|
| 133 | |
---|
| 134 | IPRSM = 0 |
---|
| 135 | DO IGC = 1,NGC(9) |
---|
| 136 | Z_SUMF = 0.0_JPRB |
---|
| 137 | DO IPR = 1, NGN(NGS(8)+IGC) |
---|
| 138 | IPRSM = IPRSM + 1 |
---|
| 139 | |
---|
| 140 | Z_SUMF = Z_SUMF + FRACREFBO(IPRSM) |
---|
| 141 | ENDDO |
---|
| 142 | |
---|
| 143 | FRACREFB(IGC) = Z_SUMF |
---|
| 144 | ENDDO |
---|
| 145 | |
---|
| 146 | |
---|
| 147 | IF (LHOOK) CALL DR_HOOK('RRTM_CMBGB9',1,ZHOOK_HANDLE) |
---|
| 148 | END SUBROUTINE RRTM_CMBGB9 |
---|