source: CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/xios.driver @ 2270

Last change on this file since 2270 was 2270, checked in by aclsce, 10 years ago
  • Treatment of new oasis-MCT output files
  • Ouput of oasis-MCT output files in 2D (instead of 1D)
  • Use of new syntax for XIOS xml configuration file (only for NEMO)
File size: 890 bytes
Line 
1#!/bin/ksh
2
3#-----------------------------------
4function IOS_Initialize
5{ 
6    IGCM_debug_PushStack "IOS_Initialize"
7
8    echo INITIALIZE IOS !!!
9
10    IGCM_debug_PopStack "IOS_Initialize"
11}
12
13#-----------------------------------
14function IOS_Update
15{
16    IGCM_debug_PushStack "IOS_Update"
17
18    echo UPDATE IOS !!!
19
20    sed -e 's/<variable id="using_server"              type="boolean">false/<variable id="using_server" type="boolean">true/' iodef.xml > iodef.xml.tmp
21    IGCM_sys_Mv iodef.xml.tmp iodef.xml
22    if [ -f namcouple ] ; then
23        sed -e "s/2  LMDZ oceanx/3 LMDZ oceanx ${config_Executable_IOS[1]}/" namcouple > namcouple.tmp
24        IGCM_sys_Mv namcouple.tmp namcouple
25    fi
26
27    IGCM_debug_PopStack "IOS_Update"
28}
29
30#-----------------------------------
31function IOS_Finalize
32{
33    IGCM_debug_PushStack "IOS_Finalize"
34
35    echo FINALIZE IOS !!!
36
37    IGCM_debug_PopStack "IOS_Finalize"
38}
Note: See TracBrowser for help on using the repository browser.