Last change
on this file since 3434 was
3434,
checked in by cetlod, 6 years ago
|
CM6.0.13 : the output frequencies of OCE, ICE & MBG must be independent + New output PISCES variables
|
File size:
1.5 KB
|
Line | |
---|
1 | #!/bin/ksh |
---|
2 | |
---|
3 | #----------------------------------- |
---|
4 | function ICE_Initialize |
---|
5 | { |
---|
6 | IGCM_debug_PushStack "ICE_Initialize" |
---|
7 | |
---|
8 | echo INITIALIZE ICE !!! |
---|
9 | |
---|
10 | IGCM_debug_PopStack "ICE_Initialize" |
---|
11 | } |
---|
12 | |
---|
13 | #----------------------------------- |
---|
14 | function ICE_Update |
---|
15 | { |
---|
16 | IGCM_debug_PushStack "ICE_Update" |
---|
17 | |
---|
18 | ##--Write Frequency for iomput |
---|
19 | ## Differents frequencies are allowed for ICE files |
---|
20 | |
---|
21 | VI1D_ENABLE=".FALSE." |
---|
22 | VI5D_ENABLE=".FALSE." |
---|
23 | VI1M_ENABLE=".FALSE." |
---|
24 | VI1Y_ENABLE=".FALSE." |
---|
25 | |
---|
26 | for frequency in ${config_ICE_WriteFrequency} ; do |
---|
27 | case ${frequency} in |
---|
28 | ( 1D|1d ) VI1D_ENABLE=".TRUE." ;; |
---|
29 | ( 5D|5d ) VI5D_ENABLE=".TRUE." ;; |
---|
30 | ( 1M|1m ) VI1M_ENABLE=".TRUE." ;; |
---|
31 | ( *[yY] ) VI1Y_ENABLE=".TRUE." ;; |
---|
32 | esac |
---|
33 | done |
---|
34 | |
---|
35 | |
---|
36 | # Update iodef.xml |
---|
37 | |
---|
38 | IGCM_debug_Print 1 'Informations into iodef.xml : VI1D_ENABLE VI5D_ENABLE VI1M_ENABLE VI1Y_ENABLE ' |
---|
39 | IGCM_debug_Print 1 ${VI1D_ENABLE} ${VI5D_ENABLE} ${VI1M_ENABLE} ${VI1Y_ENABLE} |
---|
40 | |
---|
41 | IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1d enabled ${VI1D_ENABLE} |
---|
42 | IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 5d enabled ${VI5D_ENABLE} |
---|
43 | IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1m enabled ${VI1M_ENABLE} |
---|
44 | IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1y enabled ${VI1Y_ENABLE} |
---|
45 | |
---|
46 | echo UPDATE ICE !!! |
---|
47 | |
---|
48 | IGCM_debug_PopStack "ICE_Update" |
---|
49 | } |
---|
50 | |
---|
51 | #----------------------------------- |
---|
52 | function ICE_Finalize |
---|
53 | { |
---|
54 | IGCM_debug_PushStack "ICE_Finalize" |
---|
55 | |
---|
56 | echo FINALIZE ICE !!! |
---|
57 | |
---|
58 | IGCM_debug_PopStack "ICE_Finalize" |
---|
59 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.