Ignore:
Timestamp:
2022-03-25T17:13:33+01:00 (2 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.