Ignore:
Timestamp:
2021-07-30T13:50:32+02:00 (3 years ago)
Author:
agnes.ducharne
Message:

Makes all keywords related to SPREAD_PREC include an A in spreAd, cf ticket #730, comment 5 and on. All forms with SPRED_PREC get deprecated. The file orchidee.default is adapted, and now includes info on SPREAD_PREC_SEC and SPREAD_PREC_CONT (only used by new driver). The configurations, however, have not yet been updated (the only committed configuration affected is FG3nd with SPRED_PREC_SEC = 5400).

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

Legend:

Unmodified
Added
Removed
  • branches/ORCHIDEE_2_2/ORCHIDEE/src_driver/dim2_driver.f90

    r7256 r7264  
    623623  ENDIF 
    624624 
    625   !Config Key   = SPRED_PREC 
     625  !Config Key   = SPREAD_PREC 
    626626  !Config Desc  = Spread the precipitation. 
    627627  !Config If    = [-] 
    628628  !Config Def   = Half of the forcing time step or uniform, depending on dt_force and dt_sechiba 
    629   !Config Help  = Spread the precipitation over SPRED_PREC steps of the splited forcing  
     629  !Config Help  = Spread the precipitation over SPREAD_PREC steps of the splited forcing  
    630630  !Config         time step. This ONLY applied if the forcing time step has been splited. 
    631631  !Config         If the value indicated is greater than SPLIT_DT, SPLIT_DT is used for it. 
     
    640640  END IF 
    641641 
    642   CALL getin_p('SPRED_PREC', nb_spread)   
     642  CALL getin_p('SPREAD_PREC', nb_spread)   
    643643  IF (nb_spread > split) THEN 
    644644    WRITE(numout,*) 'WARNING : nb_spread is too large it will be ' 
  • branches/ORCHIDEE_2_2/ORCHIDEE/src_driver/forcing_tools.f90

    r7263 r7264  
    987987!>\BRIEF      Spreads the precipitation over the interval chosen based on the interval chosen by the user. 
    988988!! 
    989 !! DESCRIPTION: The behaviour of this routine is controlled by the parameter SPRED_PREC_SEC in the run.def. 
     989!! DESCRIPTION: The behaviour of this routine is controlled by the parameter SPREAD_PREC_SEC in the run.def. 
    990990!!              The time in second specified by the user will be the one over which the precipitation will last 
    991991!!              where the forcing interval has rain or snow. 
     
    10261026    ! 
    10271027    IF ( first_call_spreadprec ) THEN 
    1028        !Config Key   = SPRED_PREC 
     1028       !Config Key   = SPREAD_PREC 
    10291029       !Config Desc  = Spread the precipitation. 
    10301030       !Config If    = [-] 
    10311031       !Config Def   = Half of the forcing time step or uniform, depending on dt_force and dt_sechiba 
    1032        !Config Help  = Spread the precipitation over SPRED_PREC steps of the splited forcing  
     1032       !Config Help  = Spread the precipitation over SPREAD_PREC steps of the splited forcing  
    10331033       !Config         time step. This ONLY applied if the forcing time step has been splited. 
    10341034       !Config         If the value indicated is greater than SPLIT_DT, SPLIT_DT is used for it. 
     
    10361036       !- 
    10371037       nb_spread = -1 
    1038        CALL getin_p('SPRED_PREC', nb_spread) 
     1038       CALL getin_p('SPREAD_PREC', nb_spread) 
    10391039       ! 
    10401040       ! Test if we have read the number of time steps to spread in run.def 
     
    10461046          !Config Def   = 3600 
    10471047          !Config Help  = Spread the precipitation over n seconds of the forcing time step 
    1048           !Config         interval. This ONLY applies when the SPRED_PREC_SEC is smaller than 
    1049           !Config         the forcing time step. Should the user set SPRED_PREC_SEC=0 we will  
     1048          !Config         interval. This ONLY applies when the SPREAD_PREC_SEC is smaller than 
     1049          !Config         the forcing time step. Should the user set SPREAD_PREC_SEC=0 we will  
    10501050          !Config         assume that the rainfall is uniformely distributed over the forcing interval. 
    10511051          !Config Units = seconds 
    10521052          ! 
    1053           ! This is the default should 'SPRED_PREC' not be present in the run.def 
     1053          ! This is the default should 'SPREAD_PREC' not be present in the run.def 
    10541054          ! 
    10551055          time_to_spread = forcing_tstep_ave/2.0 
    10561056          ! 
    1057           CALL getin_p('SPRED_PREC_SEC', time_to_spread) 
    1058           IF ( time_to_spread == forcing_tstep_ave/2.0 ) THEN 
    1059              ! If we still have the default value, check if the 
    1060              ! keyword does not exist with the right spelling. 
    1061              CALL getin_p('SPREAD_PREC_SEC', time_to_spread) 
    1062           ENDIF 
     1057          CALL getin_p('SPREAD_PREC_SEC', time_to_spread) 
     1058          ! 
    10631059       ELSE 
    10641060          time_to_spread = dt_sechiba_keep * nb_spread 
Note: See TracChangeset for help on using the changeset viewer.