1 |
|
|
SUBROUTINE SRTM_CMBGB20 |
2 |
|
|
|
3 |
|
|
! BAND 20: 5150-6150 cm-1 (low - H2O; high - H2O) |
4 |
|
|
!----------------------------------------------------------------------- |
5 |
|
|
|
6 |
|
|
USE PARKIND1 ,ONLY : JPIM , JPRB |
7 |
|
|
USE YOMHOOK ,ONLY : LHOOK, DR_HOOK |
8 |
|
|
|
9 |
|
|
USE YOESRTWN , ONLY : NGC, NGS, NGN, RWGT |
10 |
|
|
USE YOESRTA20, ONLY : KA, KB, SELFREF, FORREF, ABSCH4, SFLUXREF, & |
11 |
|
|
& KAC, KBC, SELFREFC, FORREFC, ABSCH4C, SFLUXREFC |
12 |
|
|
|
13 |
|
|
IMPLICIT NONE |
14 |
|
|
|
15 |
|
|
! Local variables |
16 |
|
|
INTEGER(KIND=JPIM) :: JT, JP, IGC, IPR, IPRSM |
17 |
|
|
REAL(KIND=JPRB) :: ZSUMK, ZSUMF1, ZSUMF2 |
18 |
|
|
|
19 |
|
|
REAL(KIND=JPRB) :: ZHOOK_HANDLE |
20 |
|
|
! ------------------------------------------------------------------ |
21 |
|
|
IF (LHOOK) CALL DR_HOOK('SRTM_CMBGB20',0,ZHOOK_HANDLE) |
22 |
|
|
|
23 |
|
|
DO JT = 1,5 |
24 |
|
|
DO JP = 1,13 |
25 |
|
|
IPRSM = 0 |
26 |
|
|
DO IGC = 1,NGC(5) |
27 |
|
|
ZSUMK = 0. |
28 |
|
|
DO IPR = 1, NGN(NGS(4)+IGC) |
29 |
|
|
IPRSM = IPRSM + 1 |
30 |
|
|
ZSUMK = ZSUMK + KA(JT,JP,IPRSM)*RWGT(IPRSM+64) |
31 |
|
|
ENDDO |
32 |
|
|
KAC(JT,JP,IGC) = ZSUMK |
33 |
|
|
ENDDO |
34 |
|
|
ENDDO |
35 |
|
|
|
36 |
|
|
DO JP = 13,59 |
37 |
|
|
IPRSM = 0 |
38 |
|
|
DO IGC = 1,NGC(5) |
39 |
|
|
ZSUMK = 0. |
40 |
|
|
DO IPR = 1, NGN(NGS(4)+IGC) |
41 |
|
|
IPRSM = IPRSM + 1 |
42 |
|
|
ZSUMK = ZSUMK + KB(JT,JP,IPRSM)*RWGT(IPRSM+64) |
43 |
|
|
ENDDO |
44 |
|
|
KBC(JT,JP,IGC) = ZSUMK |
45 |
|
|
ENDDO |
46 |
|
|
ENDDO |
47 |
|
|
ENDDO |
48 |
|
|
|
49 |
|
|
DO JT = 1,10 |
50 |
|
|
IPRSM = 0 |
51 |
|
|
DO IGC = 1,NGC(5) |
52 |
|
|
ZSUMK = 0. |
53 |
|
|
DO IPR = 1, NGN(NGS(4)+IGC) |
54 |
|
|
IPRSM = IPRSM + 1 |
55 |
|
|
ZSUMK = ZSUMK + SELFREF(JT,IPRSM)*RWGT(IPRSM+64) |
56 |
|
|
ENDDO |
57 |
|
|
SELFREFC(JT,IGC) = ZSUMK |
58 |
|
|
ENDDO |
59 |
|
|
ENDDO |
60 |
|
|
|
61 |
|
|
DO JT = 1,4 |
62 |
|
|
IPRSM = 0 |
63 |
|
|
DO IGC = 1,NGC(5) |
64 |
|
|
ZSUMK = 0. |
65 |
|
|
DO IPR = 1, NGN(NGS(4)+IGC) |
66 |
|
|
IPRSM = IPRSM + 1 |
67 |
|
|
ZSUMK = ZSUMK + FORREF(JT,IPRSM)*RWGT(IPRSM+64) |
68 |
|
|
ENDDO |
69 |
|
|
FORREFC(JT,IGC) = ZSUMK |
70 |
|
|
ENDDO |
71 |
|
|
ENDDO |
72 |
|
|
|
73 |
|
|
IPRSM = 0 |
74 |
|
|
DO IGC = 1,NGC(5) |
75 |
|
|
ZSUMF1 = 0. |
76 |
|
|
ZSUMF2 = 0. |
77 |
|
|
DO IPR = 1, NGN(NGS(4)+IGC) |
78 |
|
|
IPRSM = IPRSM + 1 |
79 |
|
|
ZSUMF1 = ZSUMF1 + SFLUXREF(IPRSM) |
80 |
|
|
ZSUMF2 = ZSUMF2 + ABSCH4(IPRSM)*RWGT(IPRSM+64) |
81 |
|
|
ENDDO |
82 |
|
|
SFLUXREFC(IGC) = ZSUMF1 |
83 |
|
|
ABSCH4C(IGC) = ZSUMF2 |
84 |
|
|
ENDDO |
85 |
|
|
|
86 |
|
|
! ----------------------------------------------------------------- |
87 |
|
|
IF (LHOOK) CALL DR_HOOK('SRTM_CMBGB20',1,ZHOOK_HANDLE) |
88 |
|
|
END SUBROUTINE SRTM_CMBGB20 |
89 |
|
|
|