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