Changeset 2226
- Timestamp:
- Jan 24, 2020, 3:55:19 PM (5 years ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/README
r2225 r2226 2842 2842 Further cleanup of nonorographic gravity waves drag parametrization east_gwstress 2843 2843 and west_gwstress need be initialized and are better as module variables. 2844 2845 == 24/01/2020 == EM 2846 Bug fix in rocketduststorm & topmons routines; "tauscaling" sould not be a local 2847 (moreover uninitialized) variable. Added it to the arguments of the routines. -
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r2225 r2226 1063 1063 & clearatm,icount,zday,zls, 1064 1064 & tsurf,igout,totstormfract, 1065 & tauscaling, 1065 1066 c input sub-grid scale cloud 1066 1067 & clearsky,totcloudfrac, … … 1128 1129 & zzlay,zdtsw,zdtlw, 1129 1130 & icount,zday,zls,tsurf,igout,aerosol, 1130 & t otstormfract,clearatm,dsords,1131 & tauscaling,totstormfract,clearatm,dsords, 1131 1132 & clearsky,totcloudfrac, 1132 1133 & nohmons,hsummit, -
trunk/LMDZ.MARS/libf/phymars/rocketduststorm_mod.F90
r2201 r2226 24 24 clearatm,icount,zday,zls, & 25 25 tsurf,igout,totstormfract, & 26 tauscaling, & 26 27 ! input sub-grid scale cloud 27 28 clearsky,totcloudfrac, & … … 39 40 USE comsaison_h, only: dist_sol,mu0,fract 40 41 USE surfdat_h, only: emis,co2ice,zmea, zstd, zsig, hmons 41 USE callradite_mod 42 USE callradite_mod, only: callradite 42 43 IMPLICIT NONE 43 44 … … 75 76 INTEGER, INTENT(IN) :: igout 76 77 REAL, INTENT(IN) :: totstormfract(ngrid) 78 REAL, INTENT(INOUT) :: tauscaling(ngrid) 77 79 78 80 ! sbgrid scale water ice clouds … … 160 162 REAL tau(ngrid,naerkind) 161 163 REAL aerosol(ngrid,nlayer,naerkind) 162 REAL tauscaling(ngrid)163 164 REAL taucloudtes(ngrid) 164 165 REAL rdust(ngrid,nlayer) -
trunk/LMDZ.MARS/libf/phymars/topmons_mod.F90
r2199 r2226 24 24 ! input for radiative transfer 25 25 icount,zday,zls,tsurf,igout,aerosol, & 26 tauscaling, & 26 27 ! input sub-grid scale rocket dust storm 27 28 totstormfract,clearatm,dsords, & … … 41 42 USE comsaison_h, only: dist_sol,mu0,fract 42 43 USE surfdat_h, only: emis,co2ice,hmons,summit 43 USE callradite_mod 44 USE callradite_mod, only: callradite 44 45 45 46 IMPLICIT NONE … … 74 75 REAL, INTENT(IN) :: tsurf(ngrid) 75 76 INTEGER, INTENT(IN) :: igout 77 REAL, INTENT(INOUT) :: tauscaling(ngrid) 76 78 ! input sub-grid scale rocket dust storm 77 79 LOGICAL, INTENT(IN) :: clearatm … … 113 115 REAL fluxtop_sw1(ngrid,2) 114 116 REAL tau(ngrid,naerkind) 115 REAL tauscaling(ngrid)116 117 REAL taucloudtes(ngrid) 117 118 REAL rdust(ngrid,nlayer) … … 292 293 zdtsw_lev(ig,1)=0. 293 294 ztlev(ig,1)=zt(ig,1) 295 t_top_lev(ig,1)=tsurf(ig) 296 294 297 DO l=1,nlayer-1 295 298 !! Calculation for the background dust AND the concentrated topdust … … 317 320 t_top(ig,l+1)*(pzlev(ig,l+1)-pzlay(ig,l))) / & 318 321 (pzlay(ig,l+1)-pzlay(ig,l)) 319 320 322 ENDDO ! DO l=1,nlayer-1 321 323 !! ********************************************************************** … … 372 374 ELSE 373 375 newzt(ig,l)=newzt(ig,l-1)+ & 374 ( (deltahr(ig,l)/ -wfin(ig,l))-g/cpp )* &376 ( (deltahr(ig,l)/(-wfin(ig,l)))-g/cpp )* & 375 377 ( pzlay(ig,l)-pzlay(ig,l-1) ) 376 378 ENDIF ! (zdtvert(ig,l) .lt. -g/cpp)
Note: See TracChangeset
for help on using the changeset viewer.