Changeset 7547 for branches/ORCHIDEE_2_2


Ignore:
Timestamp:
2022-03-25T17:13:33+01:00 (3 years ago)
Author:
agnes.ducharne
Message:

Create new flag IMPOSE_SLOPE to control the possibility to impose a uniform reinf_slope for surface runoff reinfiltration. orchidee.default is manually updated.

Location:
branches/ORCHIDEE_2_2/ORCHIDEE
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/ORCHIDEE_2_2/ORCHIDEE/orchidee.default

    r7508 r7547  
    770770 
    771771# IMPOSE_SOILT ([FLAG]) :  Should the soil type be prescribed ?         {} 
    772 IMPOSE_SOILT =  n  
     772IMPOSE_SOILT =  n 
     773 
     774# IMPOSE_SLOPE ([FLAG]) :  Should reinf_slope be prescribed ?   {} 
     775IMPOSE_SLOPE =  n 
    773776 
    774777# LAI_MAP ([FLAG]) :  Read the LAI map  {OK_SECHIBA or OK_STOMATE} 
     
    14741477GET_SLOPE =  n  
    14751478 
    1476 # REINF_SLOPE ([-]) :  Fraction of reinfiltrated surface runoff         {} 
     1479# REINF_SLOPE ([-]) :  Fraction of reinfiltrated surface runoff         {IMPOSE_SLOPE} 
    14771480REINF_SLOPE =  0.1  
    14781481 
  • branches/ORCHIDEE_2_2/ORCHIDEE/src_parameters/constantes.f90

    r7475 r7547  
    227227    !ENDIF 
    228228 
     229    !Config Key   = IMPOSE_SLOPE 
     230    !Config Desc  = Should reinf_slope be prescribed ? 
     231    !Config Def   = n 
     232    !Config If    =  
     233    !Config Help  = This flag allows the user to impose a uniform fraction of   
     234    !Config         reinfiltrated surface runoff, with value REINF_SLOPE  
     235    !Config Units = [FLAG] 
     236    CALL getin_p('IMPOSE_SLOPE', impslope) 
     237        
    229238    !Config Key   = LAI_MAP 
    230239    !Config Desc  = Read the LAI map 
  • branches/ORCHIDEE_2_2/ORCHIDEE/src_parameters/constantes_var.f90

    r7519 r7547  
    352352  LOGICAL, SAVE :: impsoilt = .FALSE.      !! Impose soil ? (true/false) 
    353353!$OMP THREADPRIVATE(impsoilt) 
     354  LOGICAL, SAVE :: impslope = .FALSE.      !! Impose reinf_slope ? (true/false) 
     355!$OMP THREADPRIVATE(impslope) 
    354356  LOGICAL, SAVE :: do_now_stomate_lcchange = .FALSE.  !! Time to call lcchange in stomate_lpj 
    355357!$OMP THREADPRIVATE(do_now_stomate_lcchange) 
  • branches/ORCHIDEE_2_2/ORCHIDEE/src_sechiba/slowproc.f90

    r7516 r7547  
    12811281    CALL restget_p (rest_id, var_name, nbp_glo, 1, 1, kjit, .TRUE., reinf_slope, "gather", nbp_glo, index_g) 
    12821282 
    1283     !! 3.b We can also read from a map or prescribe, depending on GET_SLOPE 
    1284  
    1285     !Config Key   = GET_SLOPE 
    1286     !Config Desc  = Read slopes from file and do the interpolation 
    1287     !Config Def   = n 
    1288     !Config If    = 
    1289     !Config Help  = Needed for reading the slopesfile and doing the interpolation. This will be 
    1290     !               used by the re-infiltration parametrization 
    1291     !Config Units = [FLAG] 
    1292     get_slope = .FALSE. 
    1293     CALL getin_p('GET_SLOPE',get_slope) 
    1294  
    1295     IF (get_slope) THEN 
     1283    !! 3.b We can also read from a map or prescribe, depending on IMPOSE_SLOPE 
     1284 
     1285    IF (impslope) THEN 
    12961286 
    12971287       !! Impose a constant value from the run.def (not anymore controlled by impveg) 
     
    13001290       !Config Desc  = Fraction of reinfiltrated surface runoff  
    13011291       !Config Def   = 0.1 
    1302        !Config If    =  
     1292       !Config If    = IMPOSE_SLOPE 
    13031293       !Config Help  = Determines the reinfiltration ratio in the grid box due to flat areas 
    13041294       !Config Units = [-] 
     
    13081298    ELSE 
    13091299 
    1310        !! Else, if nof found from restart, we read from a map  
     1300       !Config Key   = GET_SLOPE 
     1301       !Config Desc  = Read slopes from file and do the interpolation 
     1302       !Config Def   = n 
     1303       !Config If    = 
     1304       !Config Help  = Needed for reading the slope file and doing the interpolation. This will be 
     1305       !               used by the re-infiltration parametrization 
     1306       !Config Units = [FLAG] 
     1307       get_slope = .FALSE. 
     1308       CALL getin_p('GET_SLOPE',get_slope) 
     1309 
     1310       !! Else, if not found from restart or GET_SLOPE = T, we read from a map  
    13111311       IF ( MINVAL(reinf_slope) .EQ. MAXVAL(reinf_slope) .AND. MAXVAL(reinf_slope) .EQ. val_exp .OR. get_slope) THEN 
    13121312          IF (printlev_loc>=4) WRITE (numout,*) 'reinf_slope was not in restart file. Now call slowproc_slope' 
Note: See TracChangeset for help on using the changeset viewer.