Ignore:
Timestamp:
Sep 7, 2011, 12:57:29 PM (13 years ago)
Author:
aslmd
Message:

LMDZ.MARS:

AS: J'ai fait ce commit et fait a la main un merge avec les modifications entre temps

24/08/11 == TN

Attempts to tune the water cycle by adding outliers

+ A few structural changes !!

  • watercap.h is now obsolete and removed -- all is in surfdat.h
  • watercaptag initialized in surfini.F (up to 7 areas defined) instead of initracer.F
    • settings proposed by AS commented
    • experiments by TN decommented. use with caution.
  • water ice albedo and thermal inertia in callphys.def and inifis.F
  • water ice albedo in surfini.F
  • water ice albedo computation in albedocaps.F90
  • alb_surfice is now obsolete in physiq.F, albedo_h2o_ice is used instead
  • frost_albedo_threshold defined in surfdat.h
  • water ice thermal inertia in soil.F

TODO: * calibrate thermal inertia and ice albedo

  • have a look at subgrid-scale ice with dryness ?
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/initracer.F

    r171 r283  
    4343#include "advtrac.h"
    4444#include "comgeomfi.h"
    45 #include "watercap.h"
    4645#include "chimiedata.h"
    4746
     
    5049      real qsurf(ngridmx,nqmx)       ! tracer on surface (e.g.  kg.m-2)
    5150      real co2ice(ngridmx)           ! co2 ice mass on surface (e.g.  kg.m-2)
    52       integer iq,ig,count, yeyey
     51      integer iq,ig,count
    5352      real r0_lift , reff_lift, nueff_lift
    5453c     Ratio of small over large dust particles (used when both
     
    436435       
    437436
    438 
    439437      enddo ! of do iq=1,nqmx
    440438!      count=count+nbqchem
     
    587585         alpha_lift(igcm_h2o_vap) =0.
    588586         alpha_devil(igcm_h2o_vap)=0.
    589 
    590 c       "Dryness coefficient" controlling the evaporation and
    591 c        sublimation from the ground water ice (close to 1)
    592 c        HERE, the goal is to correct for the fact
    593 c        that the simulated permanent water ice polar caps
    594 c        is larger than the actual cap and the atmospheric
    595 c        opacity not always realistic.
    596 
    597          do ig=1,ngridmx
    598            if (ngridmx.ne.1) watercaptag(ig)=.false.
    599            dryness(ig) = 1.
    600          enddo
    601 
    602          IF (caps) THEN
    603 c Perennial H20 north cap defined by watercaptag=true (allows surface to be
    604 c hollowed by sublimation in vdifc).
    605          yeyey = 0
    606          do ig=1,ngridmx
    607 !          !!! TESTS TESTS outliers
    608 !          !!! TESTS TESTS outliers
    609 !          if ( ( lati(ig)*180./pi      .ge.  75 ) .and.
    610 !     .         ( lati(ig)*180./pi      .le.  77 ) .and.
    611 !     .         ( ( ( long(ig)*180./pi .ge. 000. ) .and.
    612 !     .              ( long(ig)*180./pi .le. 120. ) )
    613 !     .             .or.
    614 !     .             ( ( long(ig)*180./pi .ge. -130. ) .and.
    615 !     .             ( long(ig)*180./pi .le. -115. ) ) ) ) then
    616 !             if (yeyey .eq. 0) then  !!! 1/2 en 64x48 sinon trop large en lat
    617 !              write(*,*) "outliers ", lati(ig)*180./pi, long(ig)*180./pi
    618 !              if (ngridmx.ne.1) watercaptag(ig)=.true.
    619 !              dryness(ig) = 1.
    620 !              albedodat(ig) = 0.45 !! comme alb_surfice
    621 !              yeyey = 1
    622 !             else
    623 !              yeyey = 0
    624 !             endif
    625 !          endif
    626 !          !!! TESTS TESTS outliers
    627 !          !!! TESTS TESTS outliers
    628 !
    629 !          !!! TESTS TESTS addcap
    630 !          !!! TESTS TESTS addcap     
    631 !          if ( ( lati(ig)*180./pi      .ge.  82 ) .and.
    632 !     .         ( lati(ig)*180./pi      .le.  84 ) .and.
    633 !     .         ( ( long(ig)*180./pi .gt. -030. ) .and.
    634 !     .              ( long(ig)*180./pi .lt. 090. ) ) ) then
    635 !              write(*,*) "capadd ", lati(ig)*180./pi, long(ig)*180./pi
    636 !              if (ngridmx.ne.1) watercaptag(ig)=.true.
    637 !              albedodat(ig) = 0.45 !! comme alb_surfice
    638 !              dryness(ig) = 1.
    639 !          endif
    640 !          !!! TESTS TESTS addcap
    641 !          !!! TESTS TESTS addcap
    642    
    643            if (lati(ig)*180./pi.gt.84) then
    644              if (ngridmx.ne.1) watercaptag(ig)=.true.
    645              dryness(ig) = 1.
    646 c Use the following cap definition for high spatial resolution (latitudinal bin <= 5 deg)
    647 c             if (lati(ig)*180./pi.lt.85.and.long(ig).ge.0) then
    648 c               if (ngridmx.ne.1) watercaptag(ig)=.true.
    649 c               dryness(ig) = 1.
    650 c             endif
    651 c             if (lati(ig)*180./pi.ge.85) then
    652 c               if (ngridmx.ne.1) watercaptag(ig)=.true.
    653 c               dryness(ig) = 1.
    654 c             endif
    655            endif  ! (lati>80 deg)
    656          end do ! (ngridmx)
    657         ENDIF ! (caps)
    658 
    659587         if(water.and.(nqmx.ge.2)) then
    660588           radius(igcm_h2o_ice)=3.e-6
Note: See TracChangeset for help on using the changeset viewer.