1 | !OPTIONS XOPT(NOEVAL) |
---|
2 | SUBROUTINE SUSW15 |
---|
3 | |
---|
4 | !**** *SUSW15* - INITIALIZE COMMON YOMSW15 |
---|
5 | !**** FROZEN VERSION (CYCLE 15) OF SUSW |
---|
6 | |
---|
7 | ! PURPOSE. |
---|
8 | ! -------- |
---|
9 | ! INITIALIZE YOMSW15, THE COMMON THAT CONTAINS COEFFICIENTS |
---|
10 | ! NEEDED TO RUN THE SHORTWAVE RADIATION SUBROUTINES |
---|
11 | |
---|
12 | !** INTERFACE. |
---|
13 | ! ---------- |
---|
14 | ! *CALL* *SUSW15 |
---|
15 | |
---|
16 | ! EXPLICIT ARGUMENTS : |
---|
17 | ! -------------------- |
---|
18 | ! NONE |
---|
19 | |
---|
20 | ! IMPLICIT ARGUMENTS : |
---|
21 | ! -------------------- |
---|
22 | ! COMMON YOMSW15 |
---|
23 | |
---|
24 | ! METHOD. |
---|
25 | ! ------- |
---|
26 | ! SEE DOCUMENTATION |
---|
27 | |
---|
28 | ! EXTERNALS. |
---|
29 | ! ---------- |
---|
30 | |
---|
31 | ! REFERENCE. |
---|
32 | ! ---------- |
---|
33 | ! ECMWF RESEARCH DEPARTMENT DOCUMENTATION OF THE IFS |
---|
34 | |
---|
35 | ! AUTHOR. |
---|
36 | ! ------- |
---|
37 | ! 96-11: Ph. Dandin. Meteo-France |
---|
38 | ! ORIGINAL : 88-12-15 BY JEAN-JACQUES MORCRETTE *ECMWF* |
---|
39 | |
---|
40 | ! MODIFICATIONS. |
---|
41 | ! -------------- |
---|
42 | ! M.Hamrud 01-Oct-2003 CY28 Cleaning |
---|
43 | |
---|
44 | ! ------------------------------------------------------------------ |
---|
45 | |
---|
46 | USE PARKIND1 ,ONLY : JPIM ,JPRB |
---|
47 | USE YOMHOOK ,ONLY : LHOOK, DR_HOOK |
---|
48 | |
---|
49 | USE YOMCST , ONLY : RG |
---|
50 | USE YOMSW15 , ONLY : APAD15 ,BPAD15 ,RRAY15 ,RSUN15 ,& |
---|
51 | & RPDH115 ,RPDU115 ,RPNH15 ,RPNU15 ,RSWCE15 ,& |
---|
52 | & RSWCP15 ,RTDH2O15 ,RTDUMG15 ,RTH2O15 ,RTUMG15 ,D15 |
---|
53 | |
---|
54 | ! ---------------------------------------------------------------- |
---|
55 | |
---|
56 | !* 1. SET VALUES. |
---|
57 | ! ----------- |
---|
58 | |
---|
59 | IMPLICIT NONE |
---|
60 | REAL(KIND=JPRB),SAVE :: ZPDH2O=0.8_JPRB |
---|
61 | REAL(KIND=JPRB),SAVE :: ZPDUMG=0.75_JPRB |
---|
62 | REAL(KIND=JPRB),SAVE :: ZPRH2O=30000._JPRB |
---|
63 | REAL(KIND=JPRB),SAVE :: ZPRUMG=30000._JPRB |
---|
64 | |
---|
65 | !$OMP THREADPRIVATE(zpdh2o,zpdumg,zprh2o,zprumg) |
---|
66 | |
---|
67 | REAL(KIND=JPRB) :: ZH2O, ZUMG |
---|
68 | REAL(KIND=JPRB) :: ZHOOK_HANDLE |
---|
69 | |
---|
70 | IF (LHOOK) CALL DR_HOOK('SUSW15',0,ZHOOK_HANDLE) |
---|
71 | RPDH115=ZPDH2O+1.0_JPRB |
---|
72 | RPDU115=ZPDUMG+1.0_JPRB |
---|
73 | ZH2O=1.0_JPRB/( 10._JPRB* RG * RPDH115 ) |
---|
74 | ZUMG=1.0_JPRB/( 10._JPRB* RG * RPDU115 ) |
---|
75 | RPNU15 = ZUMG/(ZPRUMG**ZPDUMG) |
---|
76 | RPNH15 = ZH2O/(ZPRH2O**ZPDH2O) |
---|
77 | |
---|
78 | RSWCP15=0.002_JPRB*RSWCE15 |
---|
79 | |
---|
80 | RTDH2O15 = 0.40_JPRB |
---|
81 | RTDUMG15 = 0.375_JPRB |
---|
82 | RTH2O15 = 240._JPRB |
---|
83 | RTUMG15 = 240._JPRB |
---|
84 | RSWCE15 = 0._JPRB |
---|
85 | RSWCP15 = 0._JPRB |
---|
86 | |
---|
87 | RSUN15(1) = 0.441676_JPRB |
---|
88 | D15(1,:) = (/ 0.00_JPRB, 0.00_JPRB, 0.00_JPRB /) |
---|
89 | !* DERIVED FROM HITRAN APRIL 1991 |
---|
90 | ! H2O: Pref=300 hPa, Tref=240K, Pdep=0.8 |
---|
91 | ! O3 : unchanged |
---|
92 | |
---|
93 | APAD15(1,1:3,1:7) = RESHAPE((/& |
---|
94 | & 0.912418292E+05_JPRB, 0.000000000E-00_JPRB, 0.925887084E-04_JPRB,& |
---|
95 | & 0.723613782E+05_JPRB, 0.000000000E-00_JPRB, 0.129353723E-01_JPRB,& |
---|
96 | & 0.596037057E+04_JPRB, 0.000000000E-00_JPRB, 0.800821928E+00_JPRB,& |
---|
97 | & 0.000000000E-00_JPRB, 0.000000000E-00_JPRB, 0.242715973E+02_JPRB,& |
---|
98 | & 0.000000000E-00_JPRB, 0.000000000E-00_JPRB, 0.878331486E+02_JPRB,& |
---|
99 | & 0.000000000E-00_JPRB, 0.000000000E-00_JPRB, 0.191559725E+02_JPRB,& |
---|
100 | & 0.000000000E-00_JPRB, 0.000000000E-00_JPRB, 0.000000000E+00_JPRB /)& |
---|
101 | & ,(/3,7/)) |
---|
102 | |
---|
103 | BPAD15(1,1:3,1:7) = RESHAPE((/& |
---|
104 | & 0.912418292E+05_JPRB, 0.000000000E-00_JPRB, 0.925887084E-04_JPRB,& |
---|
105 | & 0.724555318E+05_JPRB, 0.000000000E-00_JPRB, 0.131812683E-01_JPRB,& |
---|
106 | & 0.602593328E+04_JPRB, 0.000000000E-00_JPRB, 0.812706117E+00_JPRB,& |
---|
107 | & 0.100000000E+01_JPRB, 0.000000000E-00_JPRB, 0.249863591E+02_JPRB,& |
---|
108 | & 0.000000000E-00_JPRB, 0.000000000E-00_JPRB, 0.931071925E+02_JPRB,& |
---|
109 | & 0.000000000E-00_JPRB, 0.000000000E-00_JPRB, 0.252233437E+02_JPRB,& |
---|
110 | & 0.000000000E-00_JPRB, 0.000000000E-00_JPRB, 0.100000000E+01_JPRB /)& |
---|
111 | & ,(/3,7/)) |
---|
112 | |
---|
113 | RRAY15(1,1:6) = (/& |
---|
114 | & .428937E-01_JPRB, .890743E+00_JPRB,-.288555E+01_JPRB,& |
---|
115 | & .522744E+01_JPRB,-.469173E+01_JPRB, .161645E+01_JPRB/) |
---|
116 | |
---|
117 | RSUN15(2) = 0.558324_JPRB |
---|
118 | |
---|
119 | D15(2,1:3) = (/ 0.000000000_JPRB, 0.000000000_JPRB, 0.800000000_JPRB /) |
---|
120 | |
---|
121 | !* INTERVAL 2: 0.68 - 4.00 MICRONS |
---|
122 | !* DERIVED FROM HITRAN APRIL 1991 |
---|
123 | ! H2O: Pref=300 hPa, Tref=240K, Pdep=0.80 |
---|
124 | ! UMG: Pref=300 hPa, Tref=240K, Pdep=0.75 (CO2+O2+CH4+N2O+CO) |
---|
125 | ! O3 : unchanged |
---|
126 | |
---|
127 | APAD15(2,1:3,1:7) = RESHAPE((/& |
---|
128 | & 0.376655383E-08_JPRB, 0.739646016E-08_JPRB, 0.410177786E+03_JPRB,& |
---|
129 | & 0.978576773E-04_JPRB, 0.131849595E-03_JPRB, 0.672595424E+02_JPRB,& |
---|
130 | & 0.387714006E+00_JPRB, 0.437772681E+00_JPRB, 0.000000000E-00_JPRB,& |
---|
131 | & 0.118461660E+03_JPRB, 0.151345118E+03_JPRB, 0.000000000E-00_JPRB,& |
---|
132 | & 0.119079797E+04_JPRB, 0.233628890E+04_JPRB, 0.000000000E-00_JPRB,& |
---|
133 | & 0.293353397E+03_JPRB, 0.797219934E+03_JPRB, 0.000000000E-00_JPRB,& |
---|
134 | & 0.000000000E+00_JPRB, 0.000000000E+00_JPRB, 0.000000000E+00_JPRB /)& |
---|
135 | & ,(/3,7/)) |
---|
136 | |
---|
137 | BPAD15(2,1:3,1:7) = RESHAPE((/& |
---|
138 | & 0.376655383E-08_JPRB, 0.739646016E-08_JPRB, 0.410177786E+03_JPRB,& |
---|
139 | & 0.979023421E-04_JPRB, 0.131861712E-03_JPRB, 0.731185438E+02_JPRB,& |
---|
140 | & 0.388611139E+00_JPRB, 0.437949001E+00_JPRB, 0.100000000E+01_JPRB,& |
---|
141 | & 0.120291383E+03_JPRB, 0.151692730E+03_JPRB, 0.000000000E+00_JPRB,& |
---|
142 | & 0.130531005E+04_JPRB, 0.237071130E+04_JPRB, 0.000000000E+00_JPRB,& |
---|
143 | & 0.415049409E+03_JPRB, 0.867914360E+03_JPRB, 0.000000000E+00_JPRB,& |
---|
144 | & 0.100000000E+01_JPRB, 0.100000000E+01_JPRB, 0.000000000E+00_JPRB /)& |
---|
145 | & ,(/3,7/)) |
---|
146 | |
---|
147 | RRAY15(2,1:6) = (/& |
---|
148 | & .697200E-02_JPRB, .173297E-01_JPRB,-.850903E-01_JPRB,& |
---|
149 | & .248261E+00_JPRB,-.302031E+00_JPRB, .129662E+00_JPRB/) |
---|
150 | IF (LHOOK) CALL DR_HOOK('SUSW15',1,ZHOOK_HANDLE) |
---|
151 | END SUBROUTINE SUSW15 |
---|