Changeset 1974 for trunk/LMDZ.MARS/libf/phymars/callradite_mod.F
- Timestamp:
- Jul 18, 2018, 4:48:34 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/callradite_mod.F
r1969 r1974 7 7 SUBROUTINE callradite(icount,ngrid,nlayer,nq,zday,ls,pq,albedo, 8 8 $ emis,mu0,pplev,pplay,pt,tsurf,fract,dist_sol,igout, 9 $ dtlw,dtsw,fluxsurf_lw,fluxsurf_sw,fluxtop_lw,fluxtop_sw, 10 & tauref,tau,aerosol,dsodust,tauscaling,taucloudtes,rdust,rice, 11 & nuice,co2ice,clearsky,totcloudfrac) 9 $ dtlw,dtsw,fluxsurf_lw,fluxsurf_sw,fluxtop_lw, 10 $ fluxtop_sw,tauref,tau,aerosol,dsodust,tauscaling, 11 $ taucloudtes,rdust,rice,nuice,co2ice,rstormdust, 12 $ totstormfract,clearatm,dsords, 13 $ clearsky,totcloudfrac) 12 14 13 15 use aeropacity_mod, only: aeropacity … … 16 18 use dimradmars_mod, only: naerkind, name_iaer, 17 19 & iaer_dust_conrath,iaer_dust_doubleq, 18 & iaer_dust_submicron,iaer_h2o_ice 20 & iaer_dust_submicron,iaer_h2o_ice, 21 & iaer_stormdust_doubleq 19 22 use yomlw_h, only: gcp, nlaylte 20 23 use comcstfi_h, only: g,cpp … … 154 157 c the "naerkind" kind of aerosol optical 155 158 c properties. 156 157 159 c======================================================================= 158 160 c … … 160 162 c ------------- 161 163 c 162 #include "callkeys.h"164 include "callkeys.h" 163 165 164 166 c----------------------------------------------------------------------- … … 170 172 171 173 REAL,INTENT(IN) :: pq(ngrid,nlayer,nq) 172 REAL,INTENT(IN ) :: tauscaling(ngrid) ! Conversion factor for174 REAL,INTENT(INOUT) :: tauscaling(ngrid) ! Conversion factor for 173 175 ! qdust and Ndust 174 176 REAL,INTENT(IN) :: albedo(ngrid,2),emis(ngrid) … … 194 196 REAL,INTENT(OUT) :: nuice(ngrid,nlayer) ! Estimated effective variance 195 197 REAL,INTENT(IN) :: co2ice(ngrid) ! co2 ice surface layer (kg.m-2) 198 199 c rocket dust storm 200 LOGICAL,INTENT(IN) :: clearatm ! true for background dust 201 REAL,INTENT(IN) :: totstormfract(ngrid) ! dust storm mesh fraction 202 REAL,INTENT(OUT) :: rstormdust(ngrid,nlayer) ! Storm dust geometric mean radius (m) 203 REAL dsords(ngrid,nlayer) ! density scaled opacity for rocket dust storm dust 204 196 205 c sub-grid scale water ice clouds 197 real,intent(out) :: totcloudfrac(ngrid)198 logical,intent(in) :: clearsky206 LOGICAL,INTENT(IN) :: clearsky 207 REAL,INTENT(IN) :: totcloudfrac(ngrid) 199 208 200 209 c … … 292 301 iaer_dust_submicron=0 293 302 iaer_h2o_ice=0 303 iaer_stormdust_doubleq=0 294 304 295 305 aer_count=0 … … 326 336 enddo 327 337 endif 338 if (rdstorm.AND.active) then 339 do iaer=1,naerkind 340 if (name_iaer(iaer).eq."stormdust_doubleq") then 341 iaer_stormdust_doubleq = iaer 342 aer_count = aer_count + 1 343 endif 344 enddo 345 end if 328 346 329 347 c Check that we identified all tracers: … … 372 390 c Updating aerosol size distributions: 373 391 CALL updatereffrad(ngrid,nlayer, 374 & rdust,r ice,nuice,392 & rdust,rstormdust,rice,nuice, 375 393 & reffrad,nueffrad, 376 394 & pq,tauscaling,tau,pplay) … … 385 403 c Computing aerosol optical depth in each layer: 386 404 CALL aeropacity(ngrid,nlayer,nq,zday,pplay,pplev,ls, 387 & pq,tauscaling,tauref,tau,taucloudtes,aerosol,dsodust,reffrad, 388 & nueffrad,QREFvis3d,QREFir3d,omegaREFvis3d,omegaREFir3d, 389 & clearsky,totcloudfrac) 405 & pq,tauscaling,tauref,tau,taucloudtes,aerosol,dsodust,reffrad, 406 & QREFvis3d,QREFir3d,omegaREFir3d, 407 & totstormfract,clearatm,dsords, 408 & clearsky,totcloudfrac) 390 409 391 410 c Starting loop on sub-domain
Note: See TracChangeset
for help on using the changeset viewer.