Changeset 485


Ignore:
Timestamp:
Dec 20, 2011, 6:08:32 PM (14 years ago)
Author:
aslmd
Message:

LMDZ.MARS: added keyword tituscap. MESOSCALE: corrected a nasty bug in initializing surface deposits (no effect thus far because is set to 0 in surfini). also corrected mars=12 for ccn tracers NOT to be passed through boundaries. UTIL/PYTHON minor fix for redope.

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/README

    r480 r485  
    13561356>> new option in newstart: 'ini_h2osurf', water ice surface initialisation to keep seasonal frost
    13571357   but get rid of polar cap positive or negative values.
     1358
     1359== 20/12/2011 == AS
     1360>> new option possible in callphys.def: tituscap [logical]
     1361.true. will call functions geticecover to yield a nice evolving CO2 cap as measured by Titus (mostly useful for mesoscale)
     1362.false. is the default option, so this change is transparent to the casual user
  • trunk/LMDZ.MARS/libf/phymars/callkeys.h

    r414 r485  
    1313     &   ,lifting,callddevil,scavenging,sedimentation,activice,water    &
    1414     &   ,microphys,caps,photochem,calltherm,outptherm,callrichsl       &
    15      &   ,callslope
     15     &   ,callslope,tituscap
    1616     
    1717      COMMON/callkeys_i/iradia,iaervar,iddist,ilwd,ilwb,ilwn,ncouche    &
     
    2525     &   ,callnirco2,callnlte,callthermos,callconduct,                  &
    2626     &    calleuv,callmolvis,callmoldiff,thermochem,thermoswater        &
    27      &   ,calltherm,outptherm,callrichsl,callslope
     27     &   ,calltherm,outptherm,callrichsl,callslope,tituscap
    2828
    2929
  • trunk/LMDZ.MARS/libf/phymars/inifis.F

    r455 r485  
    504504     &            frost_albedo_threshold
    505505
     506! call Titus crocus line -- DEFAULT IS NONE
     507         write(*,*) "Titus crocus line ?"
     508         tituscap=.false.  ! default value
     509         call getin("tituscap",tituscap)
     510         write(*,*) "tituscap",tituscap
     511
    506512!!!!!!!!!!!!!!!! TEMP !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    507513!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!     
  • trunk/LMDZ.MARS/libf/phymars/physiq.F

    r481 r485  
    904904c   -------------------------------------------
    905905
    906 #ifdef MESOSCALE
    907       !!! get the actual co2 seasonal cap from Titus observations
    908       CALL geticecover( ngrid, 180.*zls/pi,
     906      IF (tituscap) THEN
     907         !!! get the actual co2 seasonal cap from Titus observations
     908         CALL geticecover( ngrid, 180.*zls/pi,
    909909     .                  180.*long/pi, 180.*lati/pi, co2ice )
    910       co2ice = co2ice * 10000.
    911 #endif
     910         co2ice = co2ice * 10000.
     911      ENDIF
    912912
    913913      IF (callcond) THEN
     
    16641664     &                      'kg.m-2',2,
    16651665     &                       qsurf(1:ngridmx,igcm_h2o_ice))
     1666            if (photochem) then
     1667              do iq = 1,nq
     1668               call writediagfi( ngrid,trim(noms(iq)),
     1669     $                           'mix rat','units',
     1670     $                           3,zq(1:ngridmx,1:nlayermx,iq) )
     1671              enddo
     1672            endif
    16661673#endif
    16671674
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/dyn_em/solve_em.F

    r481 r485  
    27092709! .OR. ( (config_flags%mars .eq. 11) .AND. (is .EQ. 2) ) &    !! 11  pass only water vapor
    27102710 .OR. (  config_flags%mars .eq. 11                    ) &    !! 11  pass EVERYTHING
    2711  .OR. (  config_flags%mars .eq. 12                    ) &    !! 12  pass EVERYTHING
     2711 .OR. (  (config_flags%mars .eq. 12) .AND. (is .LE. 5) ) &    !! 12  pass EVERYTHING except 2 ccn tracers
    27122712 .OR. config_flags%nested ) THEN                             !! *   pass all tracers if nested
    27132713         CALL relax_bdy_scalar ( scalar_tend(ims,kms,jms,is),            &
     
    27702770!IF (      ((config_flags%mars .eq. 1 ) .and. (is .ne. 2))  &   
    27712771!     .OR. ((config_flags%mars .eq. 11) .and. (is .ne. 2))  ) THEN
    2772 IF ( config_flags%mars .gt. 50 ) THEN
     2772IF  ( ((config_flags%mars .eq. 12 ) .and. (is .ge. 6)) &
     2773      .OR. ( config_flags%mars .gt. 50 ) ) THEN
    27732774
    27742775     !!! YOU HAVE TO ADD A CONDITION HERE IF YOU ADD A mars OPTION in REGISTRY  !!!
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F

    r481 r485  
    927927    CASE(3)
    928928    qsurf_val(:)=0.                !!! temporaire, a definir           
    929     CASE(11-12)
     929    CASE(11)
    930930    qsurf_val(1)=0.
    931931    qsurf_val(2)=MARS_WICE(i,j)    !! logique avec wtnom(2) = 'h2o_ice' defini ci-dessus
    932932    qsurf_val(3)=0.                !! not coupled with lifting for the moment [non remobilise]
     933    qsurf_val(4)=0.
     934    CASE(12)   
     935    qsurf_val(1)=0.
     936    qsurf_val(2)=MARS_WICE(i,j)    !! logique avec wtnom(2) = 'h2o_ice' defini ci-dessus
     937    qsurf_val(3)=0.                !! not coupled with lifting for the moment [non remobilise]
     938    qsurf_val(4)=0.
     939    qsurf_val(5)=0.
     940    qsurf_val(6)=0.
    933941    CASE(20)
    934942    qsurf_val(:)=0.
  • trunk/UTIL/PYTHON/planetoplot.py

    r483 r485  
    487487            ### dans le nouveau systeme time=ls,sol,lt cette ligne pourrait ne servir a rien (ou deplacer au dessus)
    488488            if addchar and indextime is not None:   [addchar,gogol,gogol2] = getlschar ( all_namefile[index_f] )  ;  plottitle = plottitle + addchar
    489             if ltst is not None and ( (mapmode == 0) or (proj in ["lcc","laea","merc","nsper"]) ):  plottitle = plottitle + "_LT" + str(ltst)
     489            ### en fait redope is None doit etre remplace par : n'est ni maxt ni mint
     490            if redope is None and ltst is not None and ( (mapmode == 0) or (proj in ["lcc","laea","merc","nsper"]) ):  plottitle = plottitle + "_LT" + str(ltst)
    490491       else:
    491492            if fileref is not None:
Note: See TracChangeset for help on using the changeset viewer.