Changeset 1224 for trunk/LMDZ.MARS/libf/phymars/aeropacity.F
- Timestamp:
- Apr 15, 2014, 4:57:48 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/aeropacity.F
r1208 r1224 6 6 USE ioipsl_getincom, only: getin 7 7 use tracer_mod, only: noms, igcm_h2o_ice, igcm_dust_mass, 8 & igcm_dust_submicron, rho_dust, rho_ice 9 use comgeomfi_h, only: lati ! grid point latitudes (rad) 8 & igcm_dust_submicron, rho_dust, rho_ice, 9 & nqdust 10 use comgeomfi_h, only: lati, sinlat ! grid point latitudes (rad) 10 11 use yomaer_h, only: tauvis 11 12 IMPLICIT NONE … … 111 112 ! Qabs instead of Qext 112 113 ! (direct comparison with TES) 114 REAL topdust0(ngrid) 113 115 114 116 c local saved variables 115 117 c --------------------- 116 117 REAL,SAVE,ALLOCATABLE :: topdust0(:)118 118 119 119 c Level under which the dust mixing ratio is held constant … … 126 126 127 127 ! indexes of water ice and dust tracers: 128 INTEGER,ALLOCATABLE,SAVE :: nqdust(:) ! to store the indexes of dust tracers129 128 INTEGER,SAVE :: i_ice=0 ! water ice 130 129 real,parameter :: odpref=610. ! DOD reference pressure (Pa) … … 140 139 141 140 IF (firstcall) THEN 142 ! allocate local saved arrays143 allocate(nqdust(nq))144 allocate(topdust0(ngrid))145 146 141 ! identify scatterers that are dust 147 142 naerdust=0 … … 167 162 write(*,*) "aeropacity: i_ice=",i_ice 168 163 ENDIF 169 170 c altitude of the top of the aerosol layer (km) at Ls=2.76rad:171 c in the Viking year scenario172 DO ig=1,ngrid173 topdust0(ig)=60. -22.*SIN(lati(ig))**2174 END DO175 164 176 165 c typical profile of solsir and (1-w)^(-1): … … 295 284 else if (iddist.eq.2) then ! "Viking" scenario 296 285 do ig=1,ngrid 286 ! altitude of the top of the aerosol layer (km) at Ls=2.76rad: 287 ! in the Viking year scenario 288 topdust0(ig)=60. -22.*sinlat(ig)**2 297 289 topdust(ig)=topdust0(ig)+18.*zlsconst 298 290 end do
Note: See TracChangeset
for help on using the changeset viewer.