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