1 | ! This subroutine calculates the emissions of SEA SALT and DUST, part of |
---|
2 | ! which goes to tracer 2 and other part to tracer 3. |
---|
3 | SUBROUTINE coarsemission(pctsrf,pdtphys, & |
---|
4 | t_seri,pmflxr,pmflxs,prfl,psfl, & |
---|
5 | xlat,xlon,debutphy, & |
---|
6 | zu10m,zv10m,wstar,ale_bl,ale_wake, & |
---|
7 | scale_param_ssacc,scale_param_sscoa, & |
---|
8 | scale_param_dustacc,scale_param_dustcoa, & |
---|
9 | scale_param_dustsco, & |
---|
10 | nbreg_dust, & |
---|
11 | iregion_dust,dust_ec, & |
---|
12 | param_wstarBLperregion,param_wstarWAKEperregion, & |
---|
13 | nbreg_wstardust, & |
---|
14 | iregion_wstardust, & |
---|
15 | lmt_sea_salt,qmin,qmax, & |
---|
16 | flux_sparam_ddfine,flux_sparam_ddcoa, & |
---|
17 | flux_sparam_ddsco, & |
---|
18 | flux_sparam_ssfine,flux_sparam_sscoa, & |
---|
19 | id_prec,id_fine,id_coss,id_codu,id_scdu, & |
---|
20 | ok_chimeredust, & |
---|
21 | source_tr,flux_tr) |
---|
22 | ! . wth,cly,zprecipinsoil,lmt_sea_salt, |
---|
23 | |
---|
24 | ! CALL dustemission( debutphy, xlat, xlon, pctsrf, |
---|
25 | ! . zu10m zv10m,wstar,ale_bl,ale_wake) |
---|
26 | ! |
---|
27 | |
---|
28 | USE dimphy |
---|
29 | USE indice_sol_mod |
---|
30 | USE infotrac |
---|
31 | USE dustemission_mod, ONLY : dustemission |
---|
32 | ! USE phytracr_spl_mod, ONLY : nbreg_dust, nbreg_ind, nbreg_bb |
---|
33 | USE dimensions_mod, ONLY: iim, jjm, llm, ndm |
---|
34 | USE paramet_mod_h |
---|
35 | USE yomcst_mod_h |
---|
36 | IMPLICIT NONE |
---|
37 | |
---|
38 | |
---|
39 | INCLUDE "chem.h" |
---|
40 | INCLUDE "chem_spla.h" |
---|
41 | |
---|
42 | |
---|
43 | |
---|
44 | !============================== INPUT ================================== |
---|
45 | INTEGER :: nbjour |
---|
46 | LOGICAL :: ok_chimeredust |
---|
47 | REAL :: pdtphys ! pas d'integration pour la physique (seconde) |
---|
48 | REAL :: t_seri(klon,klev) ! temperature |
---|
49 | REAL :: pctsrf(klon,nbsrf) |
---|
50 | REAL :: pmflxr(klon,klev+1), pmflxs(klon,klev+1) !--convection |
---|
51 | ! REAL pmflxr(klon,klev), pmflxs(klon,klev) !--convection |
---|
52 | REAL :: prfl(klon,klev+1), psfl(klon,klev+1) !--large-scale |
---|
53 | ! REAL prfl(klon,klev), psfl(klon,klev) !--large-scale |
---|
54 | LOGICAL :: debutphy, lafinphy |
---|
55 | REAL, intent(in) :: xlat(klon) ! latitudes pour chaque point |
---|
56 | REAL, intent(in) :: xlon(klon) ! longitudes pour chaque point |
---|
57 | REAL,DIMENSION(klon),INTENT(IN) :: zu10m |
---|
58 | REAL,DIMENSION(klon),INTENT(IN) :: zv10m |
---|
59 | REAL,DIMENSION(klon),INTENT(IN) :: wstar,Ale_bl,ale_wake |
---|
60 | |
---|
61 | ! |
---|
62 | !------------------------- Scaling Parameters -------------------------- |
---|
63 | ! |
---|
64 | INTEGER :: iregion_dust(klon) !Defines dust regions |
---|
65 | REAL :: scale_param_ssacc !Scaling parameter for Fine Sea Salt |
---|
66 | REAL :: scale_param_sscoa !Scaling parameter for Coarse Sea Salt |
---|
67 | REAL :: scale_param_dustacc(nbreg_dust) !Scaling parameter for Fine Dust |
---|
68 | REAL :: scale_param_dustcoa(nbreg_dust) !Scaling parameter for Coarse Dust |
---|
69 | REAL :: scale_param_dustsco(nbreg_dust) !Scaling parameter for SCoarse Dust |
---|
70 | !JE20141124<< |
---|
71 | INTEGER :: iregion_wstardust(klon) !Defines dust regions in terms of wstar |
---|
72 | REAL :: param_wstarBLperregion(nbreg_wstardust) ! |
---|
73 | REAL :: param_wstarWAKEperregion(nbreg_wstardust) ! |
---|
74 | REAL :: param_wstarBL(klon) !parameter for surface wind correction.. |
---|
75 | REAL :: param_wstarWAKE(klon) !parameter for surface wind correction.. |
---|
76 | INTEGER :: nbreg_wstardust |
---|
77 | !JE20141124>> |
---|
78 | INTEGER :: nbreg_dust |
---|
79 | INTEGER, INTENT(IN) :: id_prec,id_fine,id_coss,id_codu,id_scdu |
---|
80 | !============================== OUTPUT ================================= |
---|
81 | REAL :: source_tr(klon,nbtr) |
---|
82 | REAL :: flux_tr(klon,nbtr) |
---|
83 | REAL :: flux_sparam_ddfine(klon), flux_sparam_ddcoa(klon) |
---|
84 | REAL :: flux_sparam_ddsco(klon) |
---|
85 | REAL :: flux_sparam_ssfine(klon), flux_sparam_sscoa(klon) |
---|
86 | !=========================== LOCAL VARIABLES =========================== |
---|
87 | INTEGER :: i, j |
---|
88 | REAL :: pct_ocean(klon) |
---|
89 | ! REAL zprecipinsoil(klon) |
---|
90 | ! REAL cly(klon), wth(klon) |
---|
91 | REAL :: clyfac, avgdryrate, drying |
---|
92 | |
---|
93 | !---------------------------- SEA SALT emissions ------------------------ |
---|
94 | REAL :: lmt_sea_salt(klon,ss_bins) !Sea salt 0.03-8.0 um |
---|
95 | ! |
---|
96 | !--------vent 10 m CEPMMT |
---|
97 | ! |
---|
98 | REAL :: dust_ec(klon) |
---|
99 | |
---|
100 | real :: tmp_var2(klon,nbtr) ! auxiliary variable to replace source |
---|
101 | REAL :: qmin, qmax |
---|
102 | !----------------------DUST Sahara --------------- |
---|
103 | REAL, DIMENSION(klon) :: dustsourceacc,dustsourcecoa,dustsourcesco |
---|
104 | INTEGER, DIMENSION(klon) :: maskd |
---|
105 | !*********************** DUST EMMISSIONS ******************************* |
---|
106 | ! |
---|
107 | |
---|
108 | ! avgdryrate=300./365.*pdtphys/86400. |
---|
109 | ! |
---|
110 | ! DO i=1, klon |
---|
111 | ! |
---|
112 | ! IF (cly(i).LT.9990..AND.wth(i).LT.9990.) THEN |
---|
113 | ! zprecipinsoil(i)=zprecipinsoil(i) + |
---|
114 | ! . (pmflxr(i,1)+pmflxs(i,1)+prfl(i,1)+psfl(i,1))*pdtphys |
---|
115 | ! |
---|
116 | ! clyfac=MIN(16., cly(i)*0.4+8.) ![mm] max amount of water hold in top soil |
---|
117 | ! drying=avgdryrate*exp(0.03905491* |
---|
118 | ! . exp(0.17446*(t_seri(i,1)-273.15))) ! [mm] |
---|
119 | ! zprecipinsoil(i)=min(max(0.,zprecipinsoil(i)-drying),clyfac) ! [mm] |
---|
120 | ! |
---|
121 | ! ENDIF |
---|
122 | ! |
---|
123 | ! ENDDO |
---|
124 | ! |
---|
125 | ! ==================== CALCULATING DUST EMISSIONS ====================== |
---|
126 | ! |
---|
127 | ! IF (lminmax) THEN |
---|
128 | DO j=1,nbtr |
---|
129 | DO i=1,klon |
---|
130 | tmp_var2(i,j)=source_tr(i,j) |
---|
131 | ENDDO |
---|
132 | ENDDO |
---|
133 | CALL minmaxsource(tmp_var2,qmin,qmax,'src: before DD emiss') |
---|
134 | ! print *,'Source = ',SUM(source_tr),MINVAL(source_tr), |
---|
135 | ! . MAXVAL(source_tr) |
---|
136 | ! ENDIF |
---|
137 | |
---|
138 | ! |
---|
139 | IF (.NOT. ok_chimeredust) THEN |
---|
140 | DO i=1, klon |
---|
141 | !! IF (cly(i).GE.9990..OR.wth(i).GE.9990..OR. |
---|
142 | !! . t_seri(i,1).LE.273.15.OR.zprecipinsoil(i).GT.1.e-8) THEN |
---|
143 | !! dust_ec(i)=0.0 |
---|
144 | !! ENDIF |
---|
145 | !c Corresponds to dust_emission.EQ.3 |
---|
146 | !!!!!!!****************AQUIIIIIIIIIIIIIIIIIIIIIIIIIIII |
---|
147 | !! Original line (4 tracers) |
---|
148 | !JE<< old 4 tracer(nhl scheme) source_tr(i,id_fine)=scale_param_dustacc(iregion_dust(i))* |
---|
149 | ! . dust_ec(i)*1.e3*0.093 ! g/m2/s |
---|
150 | ! source_tr(i,id_codu)=scale_param_dustcoa(iregion_dust(i))* |
---|
151 | ! . dust_ec(i)*1.e3*0.905 ! g/m2/s bin 0.5-10um |
---|
152 | !! Original line (4 tracers) |
---|
153 | ! flux_tr(i,id_fine)=scale_param_dustacc(iregion_dust(i))* |
---|
154 | ! . dust_ec(i)*1.e3*0.093*1.e3 !mg/m2/s |
---|
155 | ! flux_tr(i,id_codu)=scale_param_dustcoa(iregion_dust(i))* |
---|
156 | ! . dust_ec(i)*1.e3*0.905*1.e3 !mg/m2/s bin 0.5-10um |
---|
157 | ! flux_sparam_ddfine(i)=scale_param_dustacc(iregion_dust(i)) * |
---|
158 | ! . dust_ec(i)*1.e3*0.093*1.e3 |
---|
159 | ! flux_sparam_ddcoa(i)=scale_param_dustcoa(iregion_dust(i)) * |
---|
160 | ! . dust_ec(i)*1.e3*0.905*1.e3 |
---|
161 | IF(id_fine>0) source_tr(i,id_fine)= & |
---|
162 | scale_param_dustacc(iregion_dust(i))* & |
---|
163 | dust_ec(i)*1.e3*0.093 ! g/m2/s |
---|
164 | IF(id_codu>0) source_tr(i,id_codu)= & |
---|
165 | scale_param_dustcoa(iregion_dust(i))* & |
---|
166 | dust_ec(i)*1.e3*0.905 ! g/m2/s bin 0.5-10um |
---|
167 | IF(id_scdu>0) source_tr(i,id_scdu)=0. ! no supercoarse |
---|
168 | ! Original line (4 tracers) |
---|
169 | IF(id_fine>0) flux_tr(i,id_fine)= & |
---|
170 | scale_param_dustacc(iregion_dust(i))* & |
---|
171 | dust_ec(i)*1.e3*0.093*1.e3 !mg/m2/s |
---|
172 | IF(id_codu>0) flux_tr(i,id_codu)= & |
---|
173 | scale_param_dustcoa(iregion_dust(i))* & |
---|
174 | dust_ec(i)*1.e3*0.905*1.e3 !mg/m2/s bin 0.5-10um |
---|
175 | IF(id_scdu>0) flux_tr(i,id_scdu)=0. |
---|
176 | |
---|
177 | flux_sparam_ddfine(i)=scale_param_dustacc(iregion_dust(i)) * & |
---|
178 | dust_ec(i)*1.e3*0.093*1.e3 |
---|
179 | flux_sparam_ddcoa(i)=scale_param_dustcoa(iregion_dust(i)) * & |
---|
180 | dust_ec(i)*1.e3*0.905*1.e3 |
---|
181 | flux_sparam_ddsco(i)=0. |
---|
182 | ENDDO |
---|
183 | ENDIF |
---|
184 | !*****************NEW CHIMERE DUST EMISSION Sahara***** |
---|
185 | ! je 20140522 |
---|
186 | IF(ok_chimeredust) THEN |
---|
187 | print *,'MIX- NEW SAHARA DUST SOURCE SCHEME...' |
---|
188 | |
---|
189 | DO i=1,klon |
---|
190 | param_wstarBL(i) =param_wstarBLperregion(iregion_wstardust(i)) |
---|
191 | param_wstarWAKE(i)=param_wstarWAKEperregion(iregion_wstardust(i)) |
---|
192 | ENDDO |
---|
193 | |
---|
194 | |
---|
195 | CALL dustemission( debutphy, xlat, xlon, pctsrf, & |
---|
196 | zu10m,zv10m,wstar,ale_bl,ale_wake, & |
---|
197 | param_wstarBL, param_wstarWAKE, & |
---|
198 | dustsourceacc,dustsourcecoa, & |
---|
199 | dustsourcesco,maskd) |
---|
200 | |
---|
201 | DO i=1,klon |
---|
202 | if (maskd(i).gt.0) then |
---|
203 | IF(id_fine>0) source_tr(i,id_fine)= & |
---|
204 | scale_param_dustacc(iregion_dust(i))* & |
---|
205 | dustsourceacc(i)*1.e3 ! g/m2/s bin 0.03-0.5 |
---|
206 | IF(id_codu>0) source_tr(i,id_codu)= & |
---|
207 | scale_param_dustcoa(iregion_dust(i))* & |
---|
208 | dustsourcecoa(i)*1.e3 ! g/m2/s bin 0.5-3um |
---|
209 | IF(id_scdu>0) source_tr(i,id_scdu)= & |
---|
210 | scale_param_dustsco(iregion_dust(i))* & |
---|
211 | dustsourcesco(i)*1.e3 ! g/m2/s bin 3-15um |
---|
212 | ! Original line (4 tracers) |
---|
213 | IF(id_fine>0) flux_tr(i,id_fine)= & |
---|
214 | scale_param_dustacc(iregion_dust(i))* & |
---|
215 | dustsourceacc(i)*1.e3*1.e3 !mg/m2/s |
---|
216 | IF(id_codu>0) flux_tr(i,id_codu)= & |
---|
217 | scale_param_dustcoa(iregion_dust(i))* & |
---|
218 | dustsourcecoa(i)*1.e3*1.e3 !mg/m2/s bin 0.5-3um |
---|
219 | IF(id_scdu>0) flux_tr(i,id_scdu)= & |
---|
220 | scale_param_dustsco(iregion_dust(i))* & |
---|
221 | dustsourcesco(i)*1.e3*1.e3 !mg/m2/s bin 3-15um |
---|
222 | flux_sparam_ddfine(i)=scale_param_dustacc(iregion_dust(i)) * & |
---|
223 | dustsourceacc(i)*1.e3*1.e3 |
---|
224 | flux_sparam_ddcoa(i)=scale_param_dustcoa(iregion_dust(i)) * & |
---|
225 | dustsourcecoa(i)*1.e3*1.e3 |
---|
226 | flux_sparam_ddsco(i)=scale_param_dustsco(iregion_dust(i)) * & |
---|
227 | dustsourcesco(i)*1.e3*1.e3 |
---|
228 | else |
---|
229 | IF(id_fine>0) source_tr(i,id_fine)= & |
---|
230 | scale_param_dustacc(iregion_dust(i))* & |
---|
231 | dust_ec(i)*1.e3*0.114 ! g/m2/s |
---|
232 | IF(id_codu>0) source_tr(i,id_codu)= & |
---|
233 | scale_param_dustcoa(iregion_dust(i))* & |
---|
234 | dust_ec(i)*1.e3*0.108 ! g/m2/s bin 0.5-3um |
---|
235 | IF(id_scdu>0) source_tr(i,id_scdu)= & |
---|
236 | scale_param_dustsco(iregion_dust(i))* & |
---|
237 | dust_ec(i)*1.e3*0.778 ! g/m2/s bin 3-15um |
---|
238 | ! Original line (4 tracers) |
---|
239 | IF(id_fine>0) flux_tr(i,id_fine)= & |
---|
240 | scale_param_dustacc(iregion_dust(i))* & |
---|
241 | dust_ec(i)*1.e3*0.114*1.e3 !mg/m2/s |
---|
242 | IF(id_codu>0) flux_tr(i,id_codu)= & |
---|
243 | scale_param_dustcoa(iregion_dust(i))* & |
---|
244 | dust_ec(i)*1.e3*0.108*1.e3 !mg/m2/s bin 0.5-3um |
---|
245 | IF(id_scdu>0) flux_tr(i,id_scdu)= & |
---|
246 | scale_param_dustsco(iregion_dust(i))* & |
---|
247 | dust_ec(i)*1.e3*0.778*1.e3 !mg/m2/s bin 0.5-3um |
---|
248 | |
---|
249 | flux_sparam_ddfine(i)=scale_param_dustacc(iregion_dust(i)) * & |
---|
250 | dust_ec(i)*1.e3*0.114*1.e3 |
---|
251 | flux_sparam_ddcoa(i)=scale_param_dustcoa(iregion_dust(i)) * & |
---|
252 | dust_ec(i)*1.e3*0.108*1.e3 |
---|
253 | flux_sparam_ddsco(i)=scale_param_dustsco(iregion_dust(i)) * & |
---|
254 | dust_ec(i)*1.e3*0.778*1.e3 |
---|
255 | |
---|
256 | endif |
---|
257 | ENDDO |
---|
258 | |
---|
259 | |
---|
260 | |
---|
261 | |
---|
262 | |
---|
263 | ENDIF |
---|
264 | !***************************************************** |
---|
265 | !******************* SEA SALT EMMISSIONS ******************************* |
---|
266 | DO i=1,klon |
---|
267 | pct_ocean(i)=pctsrf(i,is_oce) |
---|
268 | ENDDO |
---|
269 | ! |
---|
270 | ! IF (lminmax) THEN |
---|
271 | DO j=1,nbtr |
---|
272 | DO i=1,klon |
---|
273 | tmp_var2(i,j)=source_tr(i,j) |
---|
274 | ENDDO |
---|
275 | ENDDO |
---|
276 | CALL minmaxsource(tmp_var2,qmin,qmax,'src: before SS emiss') |
---|
277 | IF(id_coss>0) then |
---|
278 | print *,'Source = ',SUM(source_tr(:,id_coss)), & |
---|
279 | MINVAL(source_tr(:,id_coss)), MAXVAL(source_tr(:,id_coss)) |
---|
280 | ENDIF |
---|
281 | ! |
---|
282 | DO i=1,klon |
---|
283 | ! Original line (4 tracers) |
---|
284 | IF(id_fine>0) source_tr(i,id_fine)= & |
---|
285 | source_tr(i,id_fine)+scale_param_ssacc* & |
---|
286 | lmt_sea_salt(i,1)*1.e4 !g/m2/s |
---|
287 | |
---|
288 | ! Original line (4 tracers) |
---|
289 | IF(id_fine>0) flux_tr(i,id_fine)= & |
---|
290 | flux_tr(i,id_fine)+scale_param_ssacc & |
---|
291 | *lmt_sea_salt(i,1)*1.e4*1.e3 !mg/m2/s |
---|
292 | ! |
---|
293 | IF(id_coss>0) source_tr(i,id_coss)= & |
---|
294 | scale_param_sscoa*lmt_sea_salt(i,2)*1.e4 !g/m2/s |
---|
295 | IF(id_coss>0) flux_tr(i,id_coss)= & |
---|
296 | scale_param_sscoa*lmt_sea_salt(i,2)*1.e4*1.e3 !mg/m2/s |
---|
297 | ! |
---|
298 | flux_sparam_ssfine(i)=scale_param_ssacc * & |
---|
299 | lmt_sea_salt(i,1)*1.e4*1.e3 |
---|
300 | flux_sparam_sscoa(i)=scale_param_sscoa * & |
---|
301 | lmt_sea_salt(i,2)*1.e4*1.e3 |
---|
302 | ENDDO |
---|
303 | ! IF (lminmax) THEN |
---|
304 | DO j=1,nbtr |
---|
305 | DO i=1,klon |
---|
306 | tmp_var2(i,j)=source_tr(i,j) |
---|
307 | ENDDO |
---|
308 | ENDDO |
---|
309 | CALL minmaxsource(tmp_var2,qmin,qmax,'src: after SS emiss') |
---|
310 | IF(id_coss>0) then |
---|
311 | print *,'Source = ',SUM(source_tr(:,id_coss)), & |
---|
312 | MINVAL(source_tr(:,id_coss)), MAXVAL(source_tr(:,id_coss)) |
---|
313 | ENDIF |
---|
314 | ! |
---|
315 | |
---|
316 | END SUBROUTINE coarsemission |
---|