Ignore:
Timestamp:
05/24/11 16:56:31 (13 years ago)
Author:
aclsce
Message:

Modifications to have the same iodef.xml for all IPSLCM5A
configurations : use of DBIO_ENABLE parameter defined in pisced.card
(false for EXP00, true for the others)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/IPSLCM/IPSLCM5A/historical/COMP/pisces.driver

    r1019 r1437  
    5858    fi 
    5959 
     60    ##-- Enable dbio output file 
     61    DBIO_ENABLE=".FALSE."  
     62    eval pisces_DBIO_ENABLE=\${pisces_UserChoices_DBIO_ENABLE} > /dev/null 2>&1 
     63    if [ "${pisces_DBIO_ENABLE}" = "y" ]; then 
     64        DBIO_ENABLE=".TRUE." 
     65    fi 
     66 
     67    # update iodef.xml 
     68 
     69    echo 'Informations into iodef.xml : DBIO_ENABLE' 
     70    echo ${DBIO_ENABLE} 
     71 
     72    sed -e "s/<DBIO_ENABLE>/${DBIO_ENABLE}/" \ 
     73        iodef.xml > iodef.xml.tmp 
     74 
     75    IGCM_sys_Mv iodef.xml.tmp iodef.xml 
     76 
    6077    ##-- GHG forcing for the current year 
    6178    IPCC_PIS_CO2=`grep Annee_${year} CO2_1765_2005.txt | awk -F= '{print $2}'` 
Note: See TracChangeset for help on using the changeset viewer.