Ignore:
Timestamp:
12/17/10 17:36:23 (14 years ago)
Author:
lfairhead
Message:

I was pretty sure I had committed the right version of these

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/IPSLCM/IPSLCM5B/piControl/COMP/lmdz.driver

    r1220 r1221  
    1111 
    1212    IGCM_debug_PopStack "LMDZ_sed" 
     13    return $RET 
     14} 
     15 
     16function LMDZ_string_sed 
     17{ 
     18    IGCM_debug_PushStack "LMDZ_string_sed" 
     19 
     20    sed -e "s/${2}/${3}/" ${1} > ${1}.tmp 
     21    RET=$? 
     22    echo "LMDZ_sed : ${1} ${2} ${3}" 
     23    \mv ${1}.tmp ${1} 
     24 
     25    IGCM_debug_PopStack "LMDZ_string_sed" 
    1326    return $RET 
    1427} 
     
    95108    case ${config_UserChoices_PeriodLength} in 
    96109        *Y|*y)  
    97                LMDZ_ecrit_mth=30.  
     110#               LMDZ_ecrit_mth=30.  
     111               LMDZ_ecrit_mth=1mth  
    98112               LMDZ_ecrit_ISCCP=30. 
    99113               LMDZ_periodav=30. 
     
    104118               ;; 
    105119        *) 
    106                LMDZ_ecrit_mth=${PeriodLengthInDays}. 
     120               LMDZ_ecrit_mth="${PeriodLengthInDays}""day" 
    107121               LMDZ_ecrit_ISCCP=${PeriodLengthInDays}. 
    108122               LMDZ_periodav=${PeriodLengthInDays}. 
     
    144158    LMDZ_sed physiq.def OK_mensuel  ${OK_mensuel} 
    145159    LMDZ_sed physiq.def ok_hf       ${ok_hf} 
    146     LMDZ_sed physiq.def ecrit_mth   ${LMDZ_ecrit_mth} 
     160#    LMDZ_sed physiq.def ecrit_mth   ${LMDZ_ecrit_mth} 
     161    LMDZ_string_sed config.def _ecrit-mth_   ${LMDZ_ecrit_mth} 
    147162    LMDZ_sed physiq.def ecrit_ISCCP ${LMDZ_ecrit_ISCCP} 
    148163    LMDZ_sed physiq.def ok_cosp     ${LMDZ_COSP_OK} 
Note: See TracChangeset for help on using the changeset viewer.