Ignore:
Timestamp:
12/14/12 14:00:56 (12 years ago)
Author:
aclsce
Message:

Fixed some bugs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/PACK_IPSL/find_size_pack.sh

    r1921 r1962  
    11#!/bin/bash 
    2  
    32# But : trouver la taille ideale de pack pour une simulation donnee 
    43# on part sur une base de 10 ans et on augmente par 0.5 ou on divise  
     
    225224        for taille in `head  ${IGCM_TMP}/${$}.size_pack_${type_file}.txt` 
    226225        do  
    227 #         echo ${taille} ${type_file} 
    228226            [[ ${taille} -lt ${size_pack_min} ]] && period_tmp=${newpackinyear} 
    229227            [[ ${taille} -gt ${size_pack_max} ]] && period_tmp=$(( ${size_pack_min} * ${newpackinyear} / ${taille} )) 
     
    253251[[ ${new_period} -gt 100 ]] && new_period=100 
    254252 
     253[[ ${new_period} -eq 0 ]] && new_period=1 
     254 
    255255[[ "${clean_tmp}" = "yes" ]] && rm -f  ${IGCM_TMP}/${$}.* 
    256256 
     
    262262# gpdebug : le script n'a pas rencontre d'erreur. On l'inscrit dans le fichier de suivi 
    263263simuMonitoring_OK "$MonitoringInfo" "$config_card" 
    264  
    265264DEM_log -0 "Fin de ${SCRIPT_NAME}" 
    266265 
Note: See TracChangeset for help on using the changeset viewer.