Ignore:
Timestamp:
08/16/18 13:17:43 (6 years ago)
Author:
cetlod
Message:

Updating PISCES offline configuration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/NEMO_v6/GENERAL/DRIVER/xios.driver

    r3992 r3996  
    2222    if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then 
    2323       IGCM_comp_modifyXmlFile force iodef.xml using_server2 NONE true 
     24       
     25       # Add include of cmip6 context in iodef.xml 
     26       # In iodef.xml add on next line after "CMIP6 CONTEXT" 
     27      if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then 
     28         echo '<context id="nemo" src="./ping_nemo.xml"/>' >> add.tmp 
     29         echo '<context id="nemo" src="./dr2xml_opa9.xml"/>' >> add.tmp 
     30      fi 
     31      cp iodef.xml iodef.xml.tmp 
     32      sed -e "/CMIP6 CONTEXT/r add.tmp" \ 
     33        iodef.xml.tmp > iodef.xml 
     34      rm iodef.xml.tmp add.tmp 
     35 
    2436    fi 
    2537 
    26    # Add include of nemo context in iodef.xml 
    27     # In iodef.xml add on next line after "COMPONENT CONTEXT" 
    28     #  <context id="nemo" src="./context_nemo.xml"/> 
    29     echo '<context id="nemo" src="./context_nemo.xml"/>' > add.tmp 
    30     if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then 
    31         echo '<context id="nemo" src="./ping_nemo.xml"/>' >> add.tmp 
    32         echo '<context id="nemo" src="./dr2xml_opa9.xml"/>' >> add.tmp 
    33     fi 
    34     cp iodef.xml iodef.xml.tmp 
    35     sed -e "/ALL CONTEXT/r add.tmp" \ 
    36         iodef.xml.tmp > iodef.xml 
    37     rm iodef.xml.tmp add.tmp 
    3838 
    3939    IGCM_debug_PopStack "IOS_Update" 
Note: See TracChangeset for help on using the changeset viewer.