Ignore:
Timestamp:
2022-01-17T19:18:33+01:00 (2 years ago)
Author:
agnes.ducharne
Message:

Changes to make the IMPOSE_SOILT mode functional. This mode is not anymore dependent on IMPOSE_VEG, so we can impose soil
properties even when we read a vegetation map. A new output variable is added to export "ksref" before being vertically modified.

With IMPOSE_SOILT, we can either impose a certain USDA texture (via SOIL_FRACTIONS) and this propagates to all the soil parameters, but we can as well impose specific parameters in isolation (with a default txture as Loam). This committ was tested with various configs, and it also works if we use a restart file, and we can even change the soil texture map in this case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ORCHIDEE_2_2/ORCHIDEE/src_parameters/constantes.f90

    r6396 r7432  
    214214    CALL getin_p('IMPOSE_VEG', impveg) 
    215215 
    216     IF (impveg) THEN 
     216    !IF (impveg) THEN 
    217217       !Config Key   = IMPOSE_SOILT 
    218218       !Config Desc  = Should the soil type be prescribed ? 
     
    225225       !Config Units = [FLAG] 
    226226       CALL getin_p('IMPOSE_SOILT', impsoilt)      
    227     ENDIF 
     227    !ENDIF 
    228228 
    229229    !Config Key   = LAI_MAP 
     
    10041004    !- 
    10051005    ! 
    1006     !Config Key   = CLAYFRACTION_DEFAULT 
    1007     !Config Desc  = default fraction of clay 
    1008     !Config If    = OK_SECHIBA  
    1009     !Config Def   = 0.2  
    1010     !Config Help  =  
    1011     !Config Units = [-]    
    1012     CALL getin_p('CLAYFRACTION_DEFAULT',clayfraction_default) 
    1013     ! 
    1014     !Config Key   = SANDFRACTION_DEFAULT 
    1015     !Config Desc  = default fraction of sand 
    1016     !Config If    = OK_SECHIBA  
    1017     !Config Def   = 0.4  
    1018     !Config Help  =  
    1019     !Config Units = [-]    
    1020     CALL getin_p('SANDFRACTION_DEFAULT',sandfraction_default) 
    1021     ! 
    1022     !Config Key   = SILTFRACTION_DEFAULT 
    1023     !Config Desc  = default fraction of silt 
    1024     !Config If    = OK_SECHIBA  
    1025     !Config Def   = 0.4  
    1026     !Config Help  =  
    1027     !Config Units = [-]    
    1028     CALL getin_p('SILTFRACTION_DEFAULT',siltfraction_default) 
    1029  
    1030  
    1031     IF ( ABS(clayfraction_default+sandfraction_default+siltfraction_default-1) > min_sechiba) THEN 
    1032        WRITE(numout,*) 'Incoherence found. clayfraction_default=', clayfraction_default, ' sandfraction_default=',& 
    1033             sandfraction_default,' siltfraction_default=',siltfraction_default 
    1034        CALL ipslerr_p(3,"config_sechiba_parameters",& 
    1035             "Inconsistecy between CLAYFRACTION_DEFAULT, SANDFRACTION_DEFAULT and SILTFRACTION_DEFAULT set in run.def",& 
    1036             "The sum should be equal 1 but this is not the case.","Modify run.def and restart the model") 
    1037     END IF 
    1038     ! 
    10391006    !Config Key   = MIN_VEGFRAC  
    10401007    !Config Desc  = Minimal fraction of mesh a vegetation type can occupy  
Note: See TracChangeset for help on using the changeset viewer.