source: CONFIG/UNIFORM/v6/LMDZORINCAREPR_v6/GENERAL/DRIVER/reprobus.driver

Last change on this file was 3605, checked in by acosce, 6 years ago

make modification to use XIOS with REPROBUS in configuration LMDZINCAREPR

File size: 877 bytes
Line 
1#!/bin/ksh
2##-----------------------------------------------------------------
3function CHS_Initialize
4{
5    IGCM_debug_PushStack "CHS_Initialize"
6
7    IGCM_debug_PopStack "CHS_Initialize"
8}
9
10##-----------------------------------------------------------------
11function CHS_Update
12{
13    IGCM_debug_PushStack "CHS_Update"
14
15    # Add include of REPROBUS context in iodef.xml
16    # In iodef.xml add on next line after "COMPONENT CONTEXT"
17    #  <context id="reprobus" src="./context_reprobus.xml"/>
18        echo '<context id="reprobus" src="./context_reprobus.xml"/>' > add.tmp
19        cp iodef.xml iodef.xml.tmp
20        sed -e "/COMPONENT CONTEXT/r add.tmp" \
21            iodef.xml.tmp > iodef.xml
22        rm iodef.xml.tmp add.tmp
23
24    IGCM_debug_PopStack "CHS_Update"
25}
26
27#-----------------------------------
28function CHS_Finalize
29{
30    IGCM_debug_PushStack "CHS_Finalize"
31
32    IGCM_debug_PopStack "CHS_Finalize"
33}
Note: See TracBrowser for help on using the repository browser.