#!/bin/ksh #----------------------------------- CPL_Initialize () { echo INITIALIZE CPL !!! } #----------------------------------- CPL_Update () { ############ Update Time and Counters ############## ##-- Calcul de la duree du job (en secondes) (( D_JOB_SEC = 3600 * 24 * PeriodLengthInDays )) ############ Update Other Parameters ############## ############ Update Parameter Files ############## sed -e "s//${PeriodDateBegin}/" \ -e "s//${D_JOB_SEC}/" \ -e "s//${NUM_PROC_ATM}/g" \ namcouple > namcouple.tmp IGCM_sys_Mv namcouple.tmp namcouple # Unused files we want to remove eval FileToBeDeleted[${#FileToBeDeleted[@]}]=trace eval FileToBeDeleted[${#FileToBeDeleted[@]}]=gweights eval FileToBeDeleted[${#FileToBeDeleted[@]}]=mweights eval FileToBeDeleted[${#FileToBeDeleted[@]}]=anaisout } #----------------------------------- CPL_Finalize () { echo FINALIZE CPL !!! }