Ignore:
Timestamp:
11/05/18 13:09:27 (4 years ago)
Author:
jgipsl
Message:

If file context_input_lmdz.xml or context_input_orchidee.xml exit, include it in iodef.xml.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/lmdz.driver

    r4038 r4108  
    528528 
    529529    # Add include of LMDZ context in iodef.xml 
    530     # In iodef.xml add on next line after "COMPONENT CONTEXT" 
    531     #  <context id="LMDZ" src="./context_lmdz.xml"/> 
     530    # In iodef.xml add on the next line after "COMPONENT CONTEXT" 
    532531    echo '<context id="LMDZ" src="./context_lmdz.xml"/>' > add.tmp 
     532    # Add inclusion of file context_input_lmdz.xml if this file exists 
     533    if [ -f context_input_lmdz.xml ] ; then 
     534        echo '<context id="LMDZ" src="./context_input_lmdz.xml"/>' >> add.tmp 
     535    fi 
     536    # Include xml files for output configuration if running with workflow CMIP6 
    533537    if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then 
    534538        echo '<context id="LMDZ" src="./ping_lmdz.xml"/>' >> add.tmp 
Note: See TracChangeset for help on using the changeset viewer.