Ignore:
Timestamp:
01/09/12 13:56:38 (11 years ago)
Author:
acosce
Message:

Update in EXP_LOI for LMDZORINCA

  • Add JobRunOption? for Vargas
  • Add several directories to find PFTmap
  • Add function INCA_sed to overwrite ${CHEM} by is value (need for TS job)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/LMDZORINCA/tags/LMDZORINCA_v2/EXP_LOI/COMP/inca.driver

    r615 r1625  
    33 
    44#D- Driver du script pour INCA 
     5#----------------------------------------------------------------- 
     6function INCA_sed 
     7{ 
     8    IGCM_debug_PushStack "INCA_sed" 
     9 
     10    sed -e "s/${2}/${3}/" ${1} > ${1}.tmp 
     11    RET=$? 
     12    echo "INCA_sed : ${1} ${2} ${3}" 
     13    \mv ${1}.tmp ${1} 
     14 
     15    IGCM_debug_PopStack "INCA_sed" 
     16    return $RET 
     17} 
    518 
    619#----------------------------------------------------------------- 
     
    1225    echo 'resol chimie', $RESOL_CHM 
    1326    echo "INCA Tag : LMDZ-INCA" ${config_UserChoices_TagName} 
     27 
     28    [ -f ${SUBMIT_DIR}/../.chimie ] && eval $(grep CHEM ${SUBMIT_DIR}/../.chimie)  
     29    INCA_sed ${SUBMIT_DIR}/config.card \${CHEM} ${CHEM} 
    1430 
    1531    IGCM_debug_PopStack "CHM_Initialize" 
Note: See TracChangeset for help on using the changeset viewer.