Changeset 4108


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

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

Location:
CONFIG/UNIFORM/v6
Files:
4 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 
  • CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/orchidee.driver

    r3823 r4108  
    131131 
    132132    # Add include of orchidee context in iodef.xml 
    133     # In iodef.xml add on next line after "COMPONENT CONTEXT" 
    134     #  <context id="orchidee" src="./context_orchidee.xml"/> 
     133    # In iodef.xml add on the next line after "COMPONENT CONTEXT" 
    135134    echo '<context id="orchidee" src="./context_orchidee.xml"/>' > add.tmp 
     135    # Add inclusion of file context_input_orchidee.xml if this file exists 
     136    if [ -f context_input_orchidee.xml ] ; then 
     137        echo '<context id="orchidee" src="./context_input_orchidee.xml"/>' >> add.tmp 
     138    fi 
     139    # Include xml files for output configuration if running with workflow CMIP6 
    136140    if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then 
    137141        echo '<context id="orchidee" src="./ping_orchidee.xml"/>' >> add.tmp 
  • CONFIG/UNIFORM/v6/LMDZOR_v6/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 
  • CONFIG/UNIFORM/v6/LMDZOR_v6/GENERAL/DRIVER/orchidee.driver

    r3815 r4108  
    131131 
    132132    # Add include of orchidee context in iodef.xml 
    133     # In iodef.xml add on next line after "COMPONENT CONTEXT" 
    134     #  <context id="orchidee" src="./context_orchidee.xml"/> 
     133    # In iodef.xml add on the next line after "COMPONENT CONTEXT" 
    135134    echo '<context id="orchidee" src="./context_orchidee.xml"/>' > add.tmp 
     135    # Add inclusion of file context_input_orchidee.xml if this file exists 
     136    if [ -f context_input_orchidee.xml ] ; then 
     137        echo '<context id="orchidee" src="./context_input_orchidee.xml"/>' >> add.tmp 
     138    fi 
     139    # Include xml files for output configuration if running with workflow CMIP6 
    136140    if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then 
    137141        echo '<context id="orchidee" src="./ping_orchidee.xml"/>' >> add.tmp 
Note: See TracChangeset for help on using the changeset viewer.