source: CONFIG/trunk/IPSLCM4_v2/EXP00/COMP/oasis.driver @ 41

Last change on this file since 41 was 41, checked in by aclsce, 15 years ago

MAFo+ACa : IPSLCM4_v2 first import

File size: 898 bytes
Line 
1#!/bin/ksh
2
3#-----------------------------------
4CPL_Initialize ()
5{
6
7echo INITIALIZE CPL !!!
8
9}
10
11#-----------------------------------
12CPL_Update ()
13{
14
15############ Update Time and Counters ##############
16##-- Calcul de la duree du job (en secondes)
17(( D_JOB_SEC = 3600 * 24 * PeriodLengthInDays ))
18
19############ Update Other Parameters  ##############
20
21############ Update Parameter Files   ##############
22sed -e "s/010101/${PeriodDateBegin}/" \
23    -e "s/432000/${D_JOB_SEC}/" \
24        namcouple > namcouple.tmp
25
26    IGCM_sys_Mv namcouple.tmp namcouple
27    # Unused files we want to remove
28    eval FileToBeDeleted[${#FileToBeDeleted[@]}]=trace
29    eval FileToBeDeleted[${#FileToBeDeleted[@]}]=gweights
30    eval FileToBeDeleted[${#FileToBeDeleted[@]}]=mweights
31    eval FileToBeDeleted[${#FileToBeDeleted[@]}]=anaisout
32
33}
34
35#-----------------------------------
36CPL_Finalize ()
37{
38echo FINALIZE CPL !!!
39}
Note: See TracBrowser for help on using the repository browser.