Changeset 1221 for CONFIG/IPSLCM


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

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

Location:
CONFIG/IPSLCM/IPSLCM5B
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/IPSLCM/IPSLCM5B/historical/COMP/lmdz.card

    r1220 r1221  
    44[UserChoices] 
    55# Physics package to use 
    6 LMDZ_Physics=AP 
     6LMDZ_Physics=NPv2.0 
     7#LMDZ_Physics=AP 
     8 
    79ByPass_hgardfou_teta=n 
    810ByPass_hgardfou_mats=n 
     
    5961[ParametersFiles] 
    6062List=   (${SUBMIT_DIR}/PARAM/physiq.def_L${RESOL_ATM_Z}_${LMDZ_Physics}, physiq.def), \ 
    61         (${SUBMIT_DIR}/PARAM/config.def_L${RESOL_ATM_Z}_${LMDZ_Physics}, config.def), \ 
    62         (${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_3D},    gcm.def),    \ 
    63         (${SUBMIT_DIR}/PARAM/cosp_input_nl.txt,                .),    \ 
    64         (${SUBMIT_DIR}/PARAM/cosp_output_nl.txt,               .),    \ 
    65         (${SUBMIT_DIR}/PARAM/run.def, .), \ 
     63        (${SUBMIT_DIR}/PARAM/config.def,                                 config.def), \ 
     64        (${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_3D},                       gcm.def), \ 
     65        (${SUBMIT_DIR}/PARAM/cosp_input_nl.txt,                                   .), \ 
     66        (${SUBMIT_DIR}/PARAM/cosp_output_nl.txt,                                  .), \ 
     67        (${SUBMIT_DIR}/PARAM/output.def,                                          .), \ 
     68        (${SUBMIT_DIR}/PARAM/run.def,                                             .), \ 
    6669        (${SUBMIT_DIR}/PARAM/traceur.def, .) 
    6770 
  • CONFIG/IPSLCM/IPSLCM5B/historical/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} 
     
    6073    done 
    6174 
    62      ## Read LMDZPhysics option in lmdz.card  
    63      IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices LMDZ_Physics 
    64      LMDZ_Physics=${lmdz_UserChoices_LMDZ_Physics} 
     75    ## Read LMDZPhysics option in lmdz.card  
     76    IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices LMDZ_Physics 
     77    LMDZ_Physics=${lmdz_UserChoices_LMDZ_Physics} 
    6578 
    6679    ## Read LMDZ_NbPeriod_adjust option in lmdz.card  
     
    98111    case ${config_UserChoices_PeriodLength} in 
    99112        *Y|*y)  
    100                LMDZ_ecrit_mth=30.  
     113#               LMDZ_ecrit_mth=30.  
     114               LMDZ_ecrit_mth=1mth  
    101115               LMDZ_ecrit_ISCCP=30. 
    102116               LMDZ_periodav=30. 
     
    107121               ;; 
    108122        *) 
    109                LMDZ_ecrit_mth=${PeriodLengthInDays}. 
     123               LMDZ_ecrit_mth="${PeriodLengthInDays}""day" 
    110124               LMDZ_ecrit_ISCCP=${PeriodLengthInDays}. 
    111125               LMDZ_periodav=${PeriodLengthInDays}. 
     
    168182    LMDZ_sed physiq.def OK_journe   ${OK_journe} 
    169183    LMDZ_sed physiq.def OK_mensuel  ${OK_mensuel} 
    170     #LMDZ_sed physiq.def lev_histmth ${lev_histmth} 
    171184    LMDZ_sed physiq.def ok_hf       ${ok_hf} 
    172     LMDZ_sed physiq.def ecrit_mth   ${LMDZ_ecrit_mth} 
     185#    LMDZ_sed physiq.def ecrit_mth   ${LMDZ_ecrit_mth} 
     186    LMDZ_string_sed config.def _ecrit-mth_   ${LMDZ_ecrit_mth} 
    173187    LMDZ_sed physiq.def ecrit_ISCCP ${LMDZ_ecrit_ISCCP} 
    174188    LMDZ_sed physiq.def ok_cosp     ${LMDZ_COSP_OK} 
  • CONFIG/IPSLCM/IPSLCM5B/piControl/COMP/lmdz.card

    r1220 r1221  
    44[UserChoices] 
    55# Physics package to use 
    6 LMDZ_Physics=AP 
     6LMDZ_Physics=NPv2.0 
     7#LMDZ_Physics=AP 
     8 
    79ByPass_hgardfou_teta=n 
    810ByPass_hgardfou_mats=n 
     
    5355[ParametersFiles] 
    5456List=   (${SUBMIT_DIR}/PARAM/physiq.def_L${RESOL_ATM_Z}_${LMDZ_Physics}, physiq.def), \ 
    55 +       (${SUBMIT_DIR}/PARAM/config.def_L${RESOL_ATM_Z}_${LMDZ_Physics}, config.def), \ 
    56         (${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_3D},    gcm.def),    \ 
    57         (${SUBMIT_DIR}/PARAM/cosp_input_nl.txt,                .),    \ 
    58         (${SUBMIT_DIR}/PARAM/cosp_output_nl.txt,               .),    \ 
    59         (${SUBMIT_DIR}/PARAM/run.def, .), \ 
     57        (${SUBMIT_DIR}/PARAM/config.def,                                 config.def), \ 
     58        (${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_3D},                       gcm.def), \ 
     59        (${SUBMIT_DIR}/PARAM/cosp_input_nl.txt,                                   .), \ 
     60        (${SUBMIT_DIR}/PARAM/cosp_output_nl.txt,                                  .), \ 
     61        (${SUBMIT_DIR}/PARAM/output.def,                                          .), \ 
     62        (${SUBMIT_DIR}/PARAM/run.def,                                             .), \ 
    6063        (${SUBMIT_DIR}/PARAM/traceur.def, .) 
    6164 
  • 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.