[4773] | 1 | SUBROUTINE SRTM_CMBGB17 |
---|
| 2 | |
---|
| 3 | ! BAND 17: 3250-4000 cm-1 (low - H2O,CO2; high - H2O,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 YOESRTA17, 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_CMBGB17',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(2) |
---|
| 30 | ZSUMK = 0. |
---|
| 31 | DO IPR = 1, NGN(NGS(1)+IGC) |
---|
| 32 | IPRSM = IPRSM + 1 |
---|
| 33 | ZSUMK = ZSUMK + KA(JN,JT,JP,IPRSM)*RWGT(IPRSM+16) |
---|
| 34 | ENDDO |
---|
| 35 | KAC(JN,JT,JP,IGC) = ZSUMK |
---|
| 36 | ENDDO |
---|
| 37 | ENDDO |
---|
| 38 | ENDDO |
---|
| 39 | ENDDO |
---|
| 40 | |
---|
| 41 | DO JN = 1,5 |
---|
| 42 | DO JT = 1,5 |
---|
| 43 | DO JP = 13,59 |
---|
| 44 | IPRSM = 0 |
---|
| 45 | DO IGC = 1,NGC(2) |
---|
| 46 | ZSUMK = 0. |
---|
| 47 | DO IPR = 1, NGN(NGS(1)+IGC) |
---|
| 48 | IPRSM = IPRSM + 1 |
---|
| 49 | ZSUMK = ZSUMK + KB(JN,JT,JP,IPRSM)*RWGT(IPRSM+16) |
---|
| 50 | ENDDO |
---|
| 51 | KBC(JN,JT,JP,IGC) = ZSUMK |
---|
| 52 | ENDDO |
---|
| 53 | ENDDO |
---|
| 54 | ENDDO |
---|
| 55 | ENDDO |
---|
| 56 | |
---|
| 57 | DO JT = 1,10 |
---|
| 58 | IPRSM = 0 |
---|
| 59 | DO IGC = 1,NGC(2) |
---|
| 60 | ZSUMK = 0. |
---|
| 61 | DO IPR = 1, NGN(NGS(1)+IGC) |
---|
| 62 | IPRSM = IPRSM + 1 |
---|
| 63 | ZSUMK = ZSUMK + SELFREF(JT,IPRSM)*RWGT(IPRSM+16) |
---|
| 64 | ENDDO |
---|
| 65 | SELFREFC(JT,IGC) = ZSUMK |
---|
| 66 | ENDDO |
---|
| 67 | ENDDO |
---|
| 68 | |
---|
| 69 | DO JT = 1,4 |
---|
| 70 | IPRSM = 0 |
---|
| 71 | DO IGC = 1,NGC(2) |
---|
| 72 | ZSUMK = 0. |
---|
| 73 | DO IPR = 1, NGN(NGS(1)+IGC) |
---|
| 74 | IPRSM = IPRSM + 1 |
---|
| 75 | ZSUMK = ZSUMK + FORREF(JT,IPRSM)*RWGT(IPRSM+16) |
---|
| 76 | ENDDO |
---|
| 77 | FORREFC(JT,IGC) = ZSUMK |
---|
| 78 | ENDDO |
---|
| 79 | ENDDO |
---|
| 80 | |
---|
| 81 | DO JP = 1,5 |
---|
| 82 | IPRSM = 0 |
---|
| 83 | DO IGC = 1,NGC(2) |
---|
| 84 | ZSUMF = 0. |
---|
| 85 | DO IPR = 1, NGN(NGS(1)+IGC) |
---|
| 86 | IPRSM = IPRSM + 1 |
---|
| 87 | ZSUMF = ZSUMF + SFLUXREF(IPRSM,JP) |
---|
| 88 | ENDDO |
---|
| 89 | SFLUXREFC(IGC,JP) = ZSUMF |
---|
| 90 | ENDDO |
---|
| 91 | ENDDO |
---|
| 92 | |
---|
| 93 | ! ----------------------------------------------------------------- |
---|
| 94 | IF (LHOOK) CALL DR_HOOK('SRTM_CMBGB17',1,ZHOOK_HANDLE) |
---|
| 95 | END SUBROUTINE SRTM_CMBGB17 |
---|
| 96 | |
---|