Ignore:
Timestamp:
Sep 8, 2011, 1:59:47 AM (13 years ago)
Author:
aslmd
Message:

08/09/11 == AS

LMDZ.MARS + MESOSCALE.
---> Setting up a more realistic water ice source at the poles (notably outliers)

surfini.F ?
Main changes and bug fixes

  • reference to comcstfi.h was wrong. big problem because e.g. pi was not known.
  • commented about a problem to be fixed, due to surfini being called before initracer.
  • MESOSCALE: put the mesoscale north cap definition into a precompiling flag #MESOSCALE

for the moment: if [alb_mean_TES > 0.26 and lat > 70] then outliers
(previously done in meso_inc_caps.F)

inifis.F ?
Just changed a comment with wrong formatting

--> below, only MESOSCALE

soil.F ?
if somewhere IT > IT_outliers, then makes it = IT_outliers

physiq.F ?
meso_inc/meso_inc_caps.F ?
meso_inc/meso_inc_ini.F ?
meso_inc_caps no longer called. keep for reference for the moment.

meso_inc/meso_inc_var.F ?
deleted lines with *_lim variables, now useless

Location:
trunk/LMDZ.MARS/libf/phymars/meso_inc
Files:
3 edited

Legend:

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

    r283 r285  
    1 
    2       !!!! see meso_inc_ini
    3       ! alb_lim = 0.26
    4       ! lat_lim = 70.
    5       ! inertie_lim = 800.
    6 
    71      !!! This has to go after initracer which change dryness and watercaptag
    82
     
    2317      !!!!
    2418      !IF ( caps .and. (igcm_h2o_ice .ne. 0) ) THEN
     19
    2520      IF ( caps .and. water ) THEN
    2621          PRINT *, 'OVERWRITING watercaptag DEFINITION in INITRACER'
     
    3126          do ig=1,ngridmx
    3227            qsurf(ig,igcm_h2o_ice)=0.  !! on jette les inputs GCM
    33             if ( ( lati(ig)*180./pi .gt. lat_lim ) .and.
    34      .           ( albedodat(ig) .ge. alb_lim    ) )  then
     28            if ( ( lati(ig)*180./pi .gt. 70. ) .and.
     29     .           ( albedodat(ig) .ge. 0.26   ) )  then
    3530                    watercaptag(ig)  = .true.
    3631                    dryness(ig)      = 1.
     
    4439          print *,'caps=T avec water=F ????'
    4540      ENDIF ! (caps)
    46       !!!!!! TEST TEST TEST TEST  AS+JBM 28/02/11
    47       !!!!!! TEST TEST TEST TEST  AS+JBM 28/02/11
    48       !!!!!! TEST TEST TEST TEST  AS+JBM 28/02/11
  • trunk/LMDZ.MARS/libf/phymars/meso_inc/meso_inc_ini.F

    r283 r285  
    6969ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
    7070
    71       !!! see meso_inc_caps
    72       !!! this is a test to change outliers' albedo and thermal inertia
    73       alb_lim = 0.26
    74       lat_lim = 70.
    75       inertie_lim = 800.
    76       PRINT *, 'lat_lim ',lat_lim
    77       PRINT *, 'alb_lim ',alb_lim
    78       PRINT *, 'inertie_lim ',inertie_lim
    79       !!!
    80       !!!
    81       IF ( caps .and. water ) THEN
    82           do ig=1,ngridmx
    83             if ( lati(ig)*180./pi .gt. lat_lim ) then
    84                if ( albedodat(ig) .ge. alb_lim ) then
    85                     albedodat(ig) = alb_surfice
    86                     inertiedat(ig,1) = inertie_lim 
    87                endif
    88                if (inertiedat(ig,1) .ge. inertie_lim ) then
    89                     inertiedat(ig,1) = inertie_lim
    90                endif
    91             endif  ! (lati, albedodat)
    92           end do ! (ngridmx)
    93       ENDIF ! (caps)
     71      !!!! see meso_inc_caps
     72      !!!! this is a test to change outliers' albedo and thermal inertia
     73      !alb_lim = 0.26
     74      !lat_lim = 70.
     75      !inertie_lim = 800.
     76      !PRINT *, 'lat_lim ',lat_lim
     77      !PRINT *, 'alb_lim ',alb_lim
     78      !PRINT *, 'inertie_lim ',inertie_lim
     79      !!!!
     80      !!!!
     81      !IF ( caps .and. water ) THEN
     82      !    do ig=1,ngridmx
     83      !      if ( lati(ig)*180./pi .gt. lat_lim ) then
     84      !         if ( albedodat(ig) .ge. alb_lim ) then
     85      !              albedodat(ig) = alb_surfice
     86      !              inertiedat(ig,1) = inertie_lim 
     87      !         endif
     88      !         if (inertiedat(ig,1) .ge. inertie_lim ) then
     89      !              inertiedat(ig,1) = inertie_lim
     90      !         endif
     91      !      endif  ! (lati, albedodat)
     92      !    end do ! (ngridmx)
     93      !ENDIF ! (caps)
  • trunk/LMDZ.MARS/libf/phymars/meso_inc/meso_inc_var.F

    r283 r285  
    1818      INTEGER tracerset    !!! this corresponds to config%mars
    1919      CHARACTER (len=20) :: wtnom(nqmx) ! tracer name
    20 
    21       REAL alb_lim
    22       REAL lat_lim
    23       REAL inertie_lim
Note: See TracChangeset for help on using the changeset viewer.