- Timestamp:
- 04/12/10 15:56:29 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/IPSLCM/IPSLCM5/branches/IPSLCM5_v3/EXP00/COMP/pisces.driver
r925 r972 16 16 ##--Variables used by MBG -- 17 17 18 # l rsttrboolean term for tracer model restart (true or false)18 # ln_rsttr boolean term for tracer model restart (true or false) 19 19 # nrsttr control of the time step (0, 1 or 2) 20 20 … … 32 32 { 33 33 IGCM_debug_PushStack "MBG_Update" 34 35 ##--Write Frequency Purpose36 Nbfreq=$( echo ${config_MBG_WriteFrequency} | wc -w )37 typeset -Z1 i=138 while [ $i -le ${Nbfreq} ]; do39 topfrequency=$( echo ${config_MBG_WriteFrequency} | awk -v var="$i" "-F " '{print $var}' )40 topfactor=$( echo ${topfrequency} | sed -e "s/[yYmMdD]//" )41 case ${topfrequency} in42 *Y|*y)43 eval PREFIX_WFT${i}=${config_UserChoices_JobName}_${topfactor}y_${DatesPeriod} ;44 eval R_OUT_MBG_WFT${i}=${R_OUT_MBG_O_Y} ;45 eval WFT${i}=${topfactor}Y ;;46 *M|*m)47 eval PREFIX_WFT${i}=${config_UserChoices_JobName}_${topfactor}m_${DatesPeriod} ;48 eval R_OUT_MBG_WFT${i}=${R_OUT_MBG_O_M} ;49 eval WFT${i}=${topfactor}M ;;50 *D|*d)51 eval PREFIX_WFT${i}=${config_UserChoices_JobName}_${topfactor}d_${DatesPeriod} ;52 eval R_OUT_MBG_WFT${i}=${R_OUT_MBG_O_D} ;53 eval WFT${i}=${topfactor}D ;;54 *)55 esac56 let i=$i+157 done58 34 59 35 ##-- Restart configuration … … 84 60 fi 85 61 86 # on force les sorties PISCES comme les sorties OPA 62 ##-- Update namelist_top and namelist_pisces 87 63 88 64 sed -e "s%${PAT_TOP_LRSTTR}% ln_rsttr=${TOP_LRSTTR}%" \
Note: See TracChangeset
for help on using the changeset viewer.