Changeset 607


Ignore:
Timestamp:
Mar 30, 2012, 3:45:49 PM (13 years ago)
Author:
emillour
Message:

Mars GCM:

Updated model so that 1) reference pressure for opacity is now 610 Pa (and
not 700 Pa anymore) and 2) the new MY24-MY30 dust scenarios (input files
dust_MY24.nc, dust_MY25.nc, ..., dust_MY30.nc) can be used
(when setting iaervar=24,25,...,30 in callphys.def): changed
"readtesassim.F90" into "read_dust_scenario.F90" and apadpted aeropacity.F.
one can still use the "old" MY24-MY25-MY26 (input files dust_tes_MY24.nc,
dust_tes_MY25.nc and dust_tes_MY26.nc) scenarios by setting
iaervar=124, 125 or 126 in callphys.def.

EM

Location:
trunk/LMDZ.MARS
Files:
1 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/README

    r606 r607  
    15781578>> Update vertical grid resolution for diffusion.
    15791579 
     1580== 30/03/12 == EM
     1581>> Updated model so that 1) reference pressure for opacity is now 610 Pa (and
     1582   not 700 Pa anymore) and 2) the new MY24-MY30 dust scenarios (input files
     1583   dust_MY24.nc, dust_MY25.nc, ..., dust_MY30.nc) can be used
     1584   (when setting iaervar=24,25,...,30 in callphys.def): changed
     1585   "readtesassim.F90" into "read_dust_scenario.F90" and apadpted aeropacity.F.
     1586   one can still use the "old" MY24-MY25-MY26 (input files dust_tes_MY24.nc,
     1587   dust_tes_MY25.nc and dust_tes_MY26.nc) scenarios by setting
     1588   iaervar=124, 125 or 126 in callphys.def.
     1589   
  • trunk/LMDZ.MARS/libf/phymars/aeropacity.F

    r520 r607  
    1919c       - dustopacity transferred from physiq.F to callradite.F,
    2020c           and renamed into aeropacity.F;
     21c   update E. Millour, march 2012:
     22c         - reference pressure is now set to 610Pa (not 700Pa)
    2123c   
    2224c   input:
     
    3739c   output:
    3840c   -------
    39 c   tauref       Prescribed mean column optical depth at 700 Pa
     41c   tauref       Prescribed mean column optical depth at 610 Pa
    4042c   tau          Column total visible dust optical depth at each point
    4143c   aerosol      aerosol(ig,l,1) is the dust optical
     
    114116      INTEGER, PARAMETER :: cstdustlevel = 7
    115117
    116       LOGICAL firstcall
    117       DATA firstcall/.true./
    118       SAVE firstcall
     118      LOGICAL,SAVE :: firstcall=.true.
    119119
    120120! indexes of water ice and dust tracers:
    121121      INTEGER,SAVE :: nqdust(nqmx) ! to store the indexes of dust tracers
    122122      INTEGER,SAVE :: i_ice=0  ! water ice
     123      real,parameter :: odpref=610. ! DOD reference pressure (Pa)
    123124      CHARACTER(LEN=20) :: txt ! to temporarly store text
    124125      CHARACTER(LEN=1) :: txt2 ! to temporarly store text
     
    192193      END IF
    193194
    194 c     Vertical column optical depth at 700.Pa
    195 c     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     195c     Vertical column optical depth at "odpref" Pa
     196c     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    196197      IF(iaervar.eq.1) THEN
    197198         do ig=1, ngridmx
     
    224225     &    (taueq-tauS)*0.5*(1+tanh((45+lati(ig)*180./pi)*6/60))
    225226        end do
    226       ELSE IF ((iaervar.eq.4).or.
    227      &        ((iaervar.ge.24).and.(iaervar.le.26)))
    228      &     THEN  ! << "TES assimilated dust scenarios >>
    229         call readtesassim(ngrid,nlayer,zday,pplev,tauref)
    230 
    231227      ELSE IF (iaervar.eq.5) THEN   ! << Escalier Scenario>>
    232228c         tauref(1) = 0.2
     
    240236          tauref(ig) = tauref(1)
    241237        end do
     238      ELSE IF ((iaervar.ge.24).and.(iaervar.le.30))
     239     &     THEN  ! << MY... dust scenarios >>
     240        call read_dust_scenario(ngrid,nlayer,zday,pplev,tauref)
     241      ELSE IF ((iaervar.eq.4).or.
     242     &         ((iaervar.ge.124).and.(iaervar.le.126))) THEN
     243       ! "old" TES assimation dust scenario (values at 700Pa in files!)
     244        call read_dust_scenario(ngrid,nlayer,zday,pplev,tauref)
    242245      ELSE
    243246        stop 'problem with iaervar in aeropacity.F'
     
    284287            DO ig=1,ngrid
    285288c             Typical mixing ratio profile
    286               if(pplay(ig,l).gt.700.
     289              if(pplay(ig,l).gt.odpref
    287290     $                        /(988.**(topdust(ig)/70.))) then
    288                 zp=(700./pplay(ig,l))**(70./topdust(ig))
     291                zp=(odpref/pplay(ig,l))**(70./topdust(ig))
    289292                 expfactor=max(exp(0.007*(1.-max(zp,1.))),1.e-3)
    290293              else   
     
    302305          DO l=1,nlayer
    303306             DO ig=1,ngrid
    304                 zp=700./pplay(ig,l)
    305                 aerosol(ig,l,1)= tauref(ig)/700. *
     307                zp=odpref/pplay(ig,l)
     308                aerosol(ig,l,1)= tauref(ig)/odpref *
    306309     s           (pplev(ig,l)-pplev(ig,l+1))
    307310     s           *max( exp(.03*(1.-max(zp,1.))) , 1.E-3 )
     
    409412c Rescaling each layer to reproduce the choosen (or assimilated)
    410413c   dust extinction opacity at visible reference wavelength, which
    411 c   is originally scaled to an equivalent 700Pa pressure surface.
     414c   is originally scaled to an equivalent odpref Pa pressure surface.
    412415c -----------------------------------------------------------------
    413416
     
    427430      DO ig=1,ngrid
    428431          tauscaling(ig) = tauref(ig) *
    429      &                     pplev(ig,1) / 700.E0 / taudusttmp(ig)
     432     &                     pplev(ig,1) / odpref / taudusttmp(ig)
    430433c          tauscaling(ig) = 1.e-4
    431434      ENDDO
Note: See TracChangeset for help on using the changeset viewer.