1 | ! |
---|
2 | ! $Header$ |
---|
3 | ! |
---|
4 | SUBROUTINE newmicro (paprs, pplay,ok_newmicro, |
---|
5 | . t, pqlwp, pclc, pcltau, pclemi, |
---|
6 | . pch, pcl, pcm, pct, pctlwp, |
---|
7 | s xflwp, xfiwp, xflwc, xfiwc, |
---|
8 | e ok_aie, |
---|
9 | e sulfate, sulfate_pi, |
---|
10 | e bl95_b0, bl95_b1, |
---|
11 | s cldtaupi, re, fl) |
---|
12 | IMPLICIT none |
---|
13 | c====================================================================== |
---|
14 | c Auteur(s): Z.X. Li (LMD/CNRS) date: 19930910 |
---|
15 | c Objet: Calculer epaisseur optique et emmissivite des nuages |
---|
16 | c====================================================================== |
---|
17 | c Arguments: |
---|
18 | c t-------input-R-temperature |
---|
19 | c pqlwp---input-R-eau liquide nuageuse dans l'atmosphere (kg/kg) |
---|
20 | c pclc----input-R-couverture nuageuse pour le rayonnement (0 a 1) |
---|
21 | c |
---|
22 | c ok_aie--input-L-apply aerosol indirect effect or not |
---|
23 | c sulfate-input-R-sulfate aerosol mass concentration [um/m^3] |
---|
24 | c sulfate_pi-input-R-dito, pre-industrial value |
---|
25 | c bl95_b0-input-R-a parameter, may be varied for tests (s-sea, l-land) |
---|
26 | c bl95_b1-input-R-a parameter, may be varied for tests ( -"- ) |
---|
27 | c |
---|
28 | c cldtaupi-output-R-pre-industrial value of cloud optical thickness, |
---|
29 | c needed for the diagnostics of the aerosol indirect |
---|
30 | c radiative forcing (see radlwsw) |
---|
31 | c re------output-R-Cloud droplet effective radius multiplied by fl [um] |
---|
32 | c fl------output-R-Denominator to re, introduced to avoid problems in |
---|
33 | c the averaging of the output. fl is the fraction of liquid |
---|
34 | c water clouds within a grid cell |
---|
35 | c pcltau--output-R-epaisseur optique des nuages |
---|
36 | c pclemi--output-R-emissivite des nuages (0 a 1) |
---|
37 | c====================================================================== |
---|
38 | C |
---|
39 | #include "YOMCST.h" |
---|
40 | c |
---|
41 | #include "dimensions.h" |
---|
42 | #include "dimphy.h" |
---|
43 | #include "nuage.h" |
---|
44 | REAL paprs(klon,klev+1), pplay(klon,klev) |
---|
45 | REAL t(klon,klev) |
---|
46 | c |
---|
47 | REAL pclc(klon,klev) |
---|
48 | REAL pqlwp(klon,klev) |
---|
49 | REAL pcltau(klon,klev), pclemi(klon,klev) |
---|
50 | c |
---|
51 | REAL pct(klon), pctlwp(klon), pch(klon), pcl(klon), pcm(klon) |
---|
52 | c |
---|
53 | LOGICAL lo |
---|
54 | c |
---|
55 | REAL cetahb, cetamb |
---|
56 | PARAMETER (cetahb = 0.45, cetamb = 0.80) |
---|
57 | C |
---|
58 | INTEGER i, k |
---|
59 | cIM: 091003 REAL zflwp, zradef, zfice, zmsac |
---|
60 | REAL zflwp(klon), zradef, zfice, zmsac |
---|
61 | cIM: 091003 rajout |
---|
62 | REAL xflwp(klon), xfiwp(klon) |
---|
63 | REAL xflwc(klon,klev), xfiwc(klon,klev) |
---|
64 | c |
---|
65 | REAL radius, rad_chaud |
---|
66 | cc PARAMETER (rad_chau1=13.0, rad_chau2=9.0, rad_froid=35.0) |
---|
67 | ccc PARAMETER (rad_chaud=15.0, rad_froid=35.0) |
---|
68 | c sintex initial PARAMETER (rad_chaud=10.0, rad_froid=30.0) |
---|
69 | REAL coef, coef_froi, coef_chau |
---|
70 | PARAMETER (coef_chau=0.13, coef_froi=0.09) |
---|
71 | REAL seuil_neb, t_glace |
---|
72 | PARAMETER (seuil_neb=0.001, t_glace=273.0-15.0) |
---|
73 | INTEGER nexpo ! exponentiel pour glace/eau |
---|
74 | PARAMETER (nexpo=6) |
---|
75 | ccc PARAMETER (nexpo=1) |
---|
76 | |
---|
77 | c -- sb: |
---|
78 | logical ok_newmicro |
---|
79 | c parameter (ok_newmicro=.FALSE.) |
---|
80 | cIM: 091003 real rel, tc, rei, zfiwp |
---|
81 | real rel, tc, rei, zfiwp(klon) |
---|
82 | real k_liq, k_ice0, k_ice, DF |
---|
83 | parameter (k_liq=0.0903, k_ice0=0.005) ! units=m2/g |
---|
84 | parameter (DF=1.66) ! diffusivity factor |
---|
85 | c sb -- |
---|
86 | cjq for the aerosol indirect effect |
---|
87 | cjq introduced by Johannes Quaas (quaas@lmd.jussieu.fr), 27/11/2003 |
---|
88 | cjq |
---|
89 | LOGICAL ok_aie ! Apply AIE or not? |
---|
90 | LOGICAL ok_a1lwpdep ! a1 LWP dependent? |
---|
91 | |
---|
92 | REAL sulfate(klon, klev) ! sulfate aerosol mass concentration [ug m-3] |
---|
93 | REAL cdnc(klon, klev) ! cloud droplet number concentration [m-3] |
---|
94 | REAL re(klon, klev) ! cloud droplet effective radius [um] |
---|
95 | REAL sulfate_pi(klon, klev) ! sulfate aerosol mass concentration [ug m-3] (pre-industrial value) |
---|
96 | REAL cdnc_pi(klon, klev) ! cloud droplet number concentration [m-3] (pi value) |
---|
97 | REAL re_pi(klon, klev) ! cloud droplet effective radius [um] (pi value) |
---|
98 | |
---|
99 | REAL fl(klon, klev) ! xliq * rneb (denominator to re; fraction of liquid water clouds within the grid cell) |
---|
100 | |
---|
101 | REAL bl95_b0, bl95_b1 ! Parameter in B&L 95-Formula |
---|
102 | |
---|
103 | REAL cldtaupi(klon, klev) ! pre-industrial cloud opt thickness for diag |
---|
104 | cjq-end |
---|
105 | c |
---|
106 | c Calculer l'epaisseur optique et l'emmissivite des nuages |
---|
107 | c |
---|
108 | cIM inversion des DO |
---|
109 | DO i = 1, klon |
---|
110 | xflwp(i)=0. |
---|
111 | xfiwp(i)=0. |
---|
112 | DO k = 1, klev |
---|
113 | c |
---|
114 | xflwc(i,k)=0. |
---|
115 | xfiwc(i,k)=0. |
---|
116 | c |
---|
117 | rad_chaud = rad_chau1 |
---|
118 | IF (k.LE.3) rad_chaud = rad_chau2 |
---|
119 | pclc(i,k) = MAX(pclc(i,k), seuil_neb) |
---|
120 | zflwp(i) = 1000.*pqlwp(i,k)/RG/pclc(i,k) |
---|
121 | . *(paprs(i,k)-paprs(i,k+1)) |
---|
122 | zfice = 1.0 - (t(i,k)-t_glace) / (273.13-t_glace) |
---|
123 | zfice = MIN(MAX(zfice,0.0),1.0) |
---|
124 | zfice = zfice**nexpo |
---|
125 | radius = rad_chaud * (1.-zfice) + rad_froid * zfice |
---|
126 | coef = coef_chau * (1.-zfice) + coef_froi * zfice |
---|
127 | pcltau(i,k) = 3.0/2.0 * zflwp(i) / radius |
---|
128 | pclemi(i,k) = 1.0 - EXP( - coef * zflwp(i)) |
---|
129 | |
---|
130 | if (ok_newmicro) then |
---|
131 | |
---|
132 | c -- liquid/ice cloud water paths: |
---|
133 | |
---|
134 | zfice = 1.0 - (t(i,k)-t_glace) / (273.13-t_glace) |
---|
135 | zfice = MIN(MAX(zfice,0.0),1.0) |
---|
136 | |
---|
137 | zflwp(i) = 1000.*(1.-zfice)*pqlwp(i,k)/pclc(i,k) |
---|
138 | : *(paprs(i,k)-paprs(i,k+1))/RG |
---|
139 | zfiwp(i) = 1000.*zfice*pqlwp(i,k)/pclc(i,k) |
---|
140 | : *(paprs(i,k)-paprs(i,k+1))/RG |
---|
141 | |
---|
142 | xflwp(i) = xflwp(i)+ (1.-zfice)*pqlwp(i,k) |
---|
143 | : *(paprs(i,k)-paprs(i,k+1))/RG |
---|
144 | xfiwp(i) = xfiwp(i)+ zfice*pqlwp(i,k) |
---|
145 | : *(paprs(i,k)-paprs(i,k+1))/RG |
---|
146 | |
---|
147 | cIM Total Liquid/Ice water content |
---|
148 | xflwc(i,k) = xflwc(i,k)+(1.-zfice)*pqlwp(i,k) |
---|
149 | xfiwc(i,k) = xfiwc(i,k)+zfice*pqlwp(i,k) |
---|
150 | cIM In-Cloud Liquid/Ice water content |
---|
151 | c xflwc(i,k) = xflwc(i,k)+(1.-zfice)*pqlwp(i,k)/pclc(i,k) |
---|
152 | c xfiwc(i,k) = xfiwc(i,k)+zfice*pqlwp(i,k)/pclc(i,k) |
---|
153 | |
---|
154 | c -- effective cloud droplet radius (microns): |
---|
155 | |
---|
156 | c for liquid water clouds: |
---|
157 | IF (ok_aie) THEN |
---|
158 | ! Formula "D" of Boucher and Lohmann, Tellus, 1995 |
---|
159 | ! |
---|
160 | cdnc(i,k) = 10.**(bl95_b0+bl95_b1* |
---|
161 | . log(MAX(sulfate(i,k),1.e-4))/log(10.))*1.e6 !-m-3 |
---|
162 | ! Cloud droplet number concentration (CDNC) is restricted |
---|
163 | ! to be within [20, 1000 cm^3] |
---|
164 | ! |
---|
165 | cdnc(i,k)=MIN(1000.e6,MAX(20.e6,cdnc(i,k))) |
---|
166 | ! |
---|
167 | ! |
---|
168 | cdnc_pi(i,k) = 10.**(bl95_b0+bl95_b1* |
---|
169 | . log(MAX(sulfate_pi(i,k),1.e-4))/log(10.))*1.e6 !-m-3 |
---|
170 | cdnc_pi(i,k)=MIN(1000.e6,MAX(20.e6,cdnc_pi(i,k))) |
---|
171 | ! |
---|
172 | ! |
---|
173 | ! air density: pplay(i,k) / (RD * zT(i,k)) |
---|
174 | ! factor 1.1: derive effective radius from volume-mean radius |
---|
175 | ! factor 1000 is the water density |
---|
176 | ! _chaud means that this is the CDR for liquid water clouds |
---|
177 | ! |
---|
178 | rad_chaud = |
---|
179 | . 1.1 * ( (pqlwp(i,k) * pplay(i,k) / (RD * T(i,k)) ) |
---|
180 | . / (4./3. * RPI * 1000. * cdnc(i,k)) )**(1./3.) |
---|
181 | ! |
---|
182 | ! Convert to um. CDR shall be at least 3 um. |
---|
183 | ! |
---|
184 | c rad_chaud = MAX(rad_chaud*1.e6, 3.) |
---|
185 | rad_chaud = MAX(rad_chaud*1.e6, 5.) |
---|
186 | |
---|
187 | ! Pre-industrial cloud opt thickness |
---|
188 | ! |
---|
189 | ! "radius" is calculated as rad_chaud above (plus the |
---|
190 | ! ice cloud contribution) but using cdnc_pi instead of |
---|
191 | ! cdnc. |
---|
192 | radius = |
---|
193 | . 1.1 * ( (pqlwp(i,k) * pplay(i,k) / (RD * T(i,k)) ) |
---|
194 | . / (4./3. * RPI * 1000. * cdnc_pi(i,k)) )**(1./3.) |
---|
195 | radius = MAX(radius*1.e6, 5.) |
---|
196 | |
---|
197 | tc = t(i,k)-273.15 |
---|
198 | rei = 0.71*tc + 61.29 |
---|
199 | if (tc.le.-81.4) rei = 3.5 |
---|
200 | if (zflwp(i).eq.0.) radius = 1. |
---|
201 | if (zfiwp(i).eq.0. .or. rei.le.0.) rei = 1. |
---|
202 | cldtaupi(i,k) = 3.0/2.0 * zflwp(i) / radius |
---|
203 | . + zfiwp(i) * (3.448e-03 + 2.431/rei) |
---|
204 | ENDIF ! ok_aie |
---|
205 | ! For output diagnostics |
---|
206 | ! |
---|
207 | ! Cloud droplet effective radius [um] |
---|
208 | ! |
---|
209 | ! we multiply here with f * xl (fraction of liquid water |
---|
210 | ! clouds in the grid cell) to avoid problems in the |
---|
211 | ! averaging of the output. |
---|
212 | ! In the output of IOIPSL, derive the real cloud droplet |
---|
213 | ! effective radius as re/fl |
---|
214 | ! |
---|
215 | fl(i,k) = pclc(i,k)*(1.-zfice) |
---|
216 | re(i,k) = rad_chaud*fl(i,k) |
---|
217 | |
---|
218 | c-jq end |
---|
219 | |
---|
220 | rel = rad_chaud |
---|
221 | c for ice clouds: as a function of the ambiant temperature |
---|
222 | c [formula used by Iacobellis and Somerville (2000), with an |
---|
223 | c asymptotical value of 3.5 microns at T<-81.4 C added to be |
---|
224 | c consistent with observations of Heymsfield et al. 1986]: |
---|
225 | tc = t(i,k)-273.15 |
---|
226 | rei = 0.71*tc + 61.29 |
---|
227 | if (tc.le.-81.4) rei = 3.5 |
---|
228 | |
---|
229 | c -- cloud optical thickness : |
---|
230 | |
---|
231 | c [for liquid clouds, traditional formula, |
---|
232 | c for ice clouds, Ebert & Curry (1992)] |
---|
233 | |
---|
234 | if (zflwp(i).eq.0.) rel = 1. |
---|
235 | if (zfiwp(i).eq.0. .or. rei.le.0.) rei = 1. |
---|
236 | pcltau(i,k) = 3.0/2.0 * ( zflwp(i)/rel ) |
---|
237 | . + zfiwp(i) * (3.448e-03 + 2.431/rei) |
---|
238 | |
---|
239 | c -- cloud infrared emissivity: |
---|
240 | |
---|
241 | c [the broadband infrared absorption coefficient is parameterized |
---|
242 | c as a function of the effective cld droplet radius] |
---|
243 | |
---|
244 | c Ebert and Curry (1992) formula as used by Kiehl & Zender (1995): |
---|
245 | k_ice = k_ice0 + 1.0/rei |
---|
246 | |
---|
247 | pclemi(i,k) = 1.0 |
---|
248 | . - EXP( - coef_chau*zflwp(i) - DF*k_ice*zfiwp(i) ) |
---|
249 | |
---|
250 | endif ! ok_newmicro |
---|
251 | |
---|
252 | lo = (pclc(i,k) .LE. seuil_neb) |
---|
253 | IF (lo) pclc(i,k) = 0.0 |
---|
254 | IF (lo) pcltau(i,k) = 0.0 |
---|
255 | IF (lo) pclemi(i,k) = 0.0 |
---|
256 | |
---|
257 | IF (lo) cldtaupi(i,k) = 0.0 |
---|
258 | IF (.NOT.ok_aie) cldtaupi(i,k)=pcltau(i,k) |
---|
259 | ENDDO |
---|
260 | ENDDO |
---|
261 | ccc DO k = 1, klev |
---|
262 | ccc DO i = 1, klon |
---|
263 | ccc t(i,k) = t(i,k) |
---|
264 | ccc pclc(i,k) = MAX( 1.e-5 , pclc(i,k) ) |
---|
265 | ccc lo = pclc(i,k) .GT. (2.*1.e-5) |
---|
266 | ccc zflwp = pqlwp(i,k)*1000.*(paprs(i,k)-paprs(i,k+1)) |
---|
267 | ccc . /(rg*pclc(i,k)) |
---|
268 | ccc zradef = 10.0 + (1.-sigs(k))*45.0 |
---|
269 | ccc pcltau(i,k) = 1.5 * zflwp / zradef |
---|
270 | ccc zfice=1.0-MIN(MAX((t(i,k)-263.)/(273.-263.),0.0),1.0) |
---|
271 | ccc zmsac = 0.13*(1.0-zfice) + 0.08*zfice |
---|
272 | ccc pclemi(i,k) = 1.-EXP(-zmsac*zflwp) |
---|
273 | ccc if (.NOT.lo) pclc(i,k) = 0.0 |
---|
274 | ccc if (.NOT.lo) pcltau(i,k) = 0.0 |
---|
275 | ccc if (.NOT.lo) pclemi(i,k) = 0.0 |
---|
276 | ccc ENDDO |
---|
277 | ccc ENDDO |
---|
278 | cccccc print*, 'pas de nuage dans le rayonnement' |
---|
279 | cccccc DO k = 1, klev |
---|
280 | cccccc DO i = 1, klon |
---|
281 | cccccc pclc(i,k) = 0.0 |
---|
282 | cccccc pcltau(i,k) = 0.0 |
---|
283 | cccccc pclemi(i,k) = 0.0 |
---|
284 | cccccc ENDDO |
---|
285 | cccccc ENDDO |
---|
286 | C |
---|
287 | C COMPUTE CLOUD LIQUID PATH AND TOTAL CLOUDINESS |
---|
288 | C |
---|
289 | DO i = 1, klon |
---|
290 | pct(i)=1.0 |
---|
291 | pch(i)=1.0 |
---|
292 | pcm(i) = 1.0 |
---|
293 | pcl(i) = 1.0 |
---|
294 | pctlwp(i) = 0.0 |
---|
295 | ENDDO |
---|
296 | C |
---|
297 | DO k = klev, 1, -1 |
---|
298 | DO i = 1, klon |
---|
299 | pctlwp(i) = pctlwp(i) |
---|
300 | . + pqlwp(i,k)*(paprs(i,k)-paprs(i,k+1))/RG |
---|
301 | pct(i) = pct(i)*(1.0-pclc(i,k)) |
---|
302 | if (pplay(i,k).LE.cetahb*paprs(i,1)) |
---|
303 | . pch(i) = pch(i)*(1.0-pclc(i,k)) |
---|
304 | if (pplay(i,k).GT.cetahb*paprs(i,1) .AND. |
---|
305 | . pplay(i,k).LE.cetamb*paprs(i,1)) |
---|
306 | . pcm(i) = pcm(i)*(1.0-pclc(i,k)) |
---|
307 | if (pplay(i,k).GT.cetamb*paprs(i,1)) |
---|
308 | . pcl(i) = pcl(i)*(1.0-pclc(i,k)) |
---|
309 | ENDDO |
---|
310 | ENDDO |
---|
311 | C |
---|
312 | DO i = 1, klon |
---|
313 | pct(i)=1.-pct(i) |
---|
314 | pch(i)=1.-pch(i) |
---|
315 | pcm(i)=1.-pcm(i) |
---|
316 | pcl(i)=1.-pcl(i) |
---|
317 | ENDDO |
---|
318 | C |
---|
319 | RETURN |
---|
320 | END |
---|