Ignore:
Timestamp:
2022-03-04T12:18:30+01:00 (2 years ago)
Author:
josefine.ghattas
Message:
  • Removed DRY_SOIL_HEAT_COND and related variable so_cond_dry
  • Replaced previous scalar variable so_capa_dry with vector variable so_capa_dry_ns and moved read from run.def to thermosoil. In the end, so_capa_dry_ns is renamed so_capa_dry.

See ticket #780

No change in results.

Location:
branches/ORCHIDEE_2_2/ORCHIDEE/src_parameters
Files:
2 edited

Legend:

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

    r7199 r7508  
    7070    ! Following initializations are only done for option impose_param 
    7171    IF ( ok_sechiba .AND. impose_param ) THEN 
    72  
    73        !Config Key   = DRY_SOIL_HEAT_CAPACITY 
    74        !Config Desc  = Dry soil Heat capacity of soils 
    75        !Config If    = OK_SECHIBA  
    76        !Config Def   = 1.80e+6 
    77        !Config Help  = Values taken from : PIELKE,'MESOSCALE METEOROLOGICAL MODELING',P.384. 
    78        !Config Units = [J.m^{-3}.K^{-1}]  
    79        CALL getin_p("DRY_SOIL_HEAT_CAPACITY",so_capa_dry) 
    80  
    81        !! Check parameter value (correct range) 
    82        IF ( so_capa_dry <= zero ) THEN 
    83           CALL ipslerr_p(error_level, "config_soil_parameters.", & 
    84                &     "Wrong parameter value for DRY_SOIL_HEAT_CAPACITY.", & 
    85                &     "This parameter should be positive. ", & 
    86                &     "Please, check parameter value in run.def. ") 
    87        END IF 
    88  
    89  
    90        !Config Key   = DRY_SOIL_HEAT_COND 
    91        !Config Desc  = Dry soil Thermal Conductivity of soils 
    92        !Config If    = OK_SECHIBA 
    93        !Config Def   = 0.40  
    94        !Config Help  = Values taken from : PIELKE,'MESOSCALE METEOROLOGICAL MODELING',P.384. 
    95        !Config Units = [W.m^{-2}.K^{-1}]  
    96        CALL getin_p("DRY_SOIL_HEAT_COND",so_cond_dry) 
    97  
    98        !! Check parameter value (correct range) 
    99        IF ( so_cond_dry <= zero ) THEN 
    100           CALL ipslerr_p(error_level, "config_soil_parameters.", & 
    101                &     "Wrong parameter value for DRY_SOIL_HEAT_COND.", & 
    102                &     "This parameter should be positive. ", & 
    103                &     "Please, check parameter value in run.def. ") 
    104        END IF 
    105  
    10672 
    10773       !Config Key   = SNOW_HEAT_COND 
  • branches/ORCHIDEE_2_2/ORCHIDEE/src_parameters/constantes_soil_var.f90

    r7432 r7508  
    7575 
    7676  !! Parameters for soil thermodynamics 
    77  
    78   REAL(r_std), SAVE :: so_capa_dry = 1.80e+6            !! Dry soil Heat capacity of soils  
    79                                                         !! @tex $(J.m^{-3}.K^{-1})$ @endtex  
    80 !$OMP THREADPRIVATE(so_capa_dry) 
    81   REAL(r_std), SAVE :: so_cond_dry = 0.40               !! Dry soil Thermal Conductivity of soils 
    82                                                         !! @tex $(W.m^{-2}.K^{-1})$ @endtex 
    83 !$OMP THREADPRIVATE(so_cond_dry) 
    8477  REAL(r_std), SAVE :: sn_cond = 0.3                    !! Thermal Conductivity of snow  
    8578                                                        !! @tex $(W.m^{-2}.K^{-1})$ @endtex   
     
    206199&     0.25_r_std /)  ! oxisols                  
    207200 
    208   REAL(r_std),PARAMETER,DIMENSION(nscm_usda) :: so_capa_dry_ns_usda = &  !! Dry soil Heat capacity of soils,J.m^{-3}.K^{-1} 
     201  REAL(r_std),PARAMETER,DIMENSION(nscm_usda) :: so_capa_dry_usda = &     !! Dry soil Heat capacity of soils,J.m^{-3}.K^{-1} 
    209202 & (/ 1.47e+6_r_std, 1.41e+6_r_std, 1.34e+6_r_std, 1.27e+6_r_std, &      !! Pielke [2002, 2013] 
    210203 &    1.21e+6_r_std, 1.21e+6_r_std, 1.18e+6_r_std, 1.32e+6_r_std, & 
Note: See TracChangeset for help on using the changeset viewer.