Ignore:
Timestamp:
09/06/12 15:26:07 (12 years ago)
Author:
gpincka
Message:

gestion (a ameliorer) des echecs ncrcat + check automatiques et aleatoires + resolution bug sur outil visu avancement + suppr liste 'manquant' vides

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/PACK_IPSL/check_ncrcat_list.sh

    r1853 r1864  
    55# /ccc/scratch/cont003/incka/pierreg/IGCM_DEM/dataDMNFS_FromTitane/IGCM_OUT/IPSLCM5A/REDO/historicalGHG/v3.historicalGHG1R/output_tar/v3.historicalGHG1R_20101201_20121231_1M_histmthNMC.nc.list 
    66 
    7 if [ ! -e $listToProcessFile ] 
    8 then 
    9     echo "Le fichier en entree n'existe pas. STOP." 
    10     exit 1 
    11 fi 
    127 
    138# On renseigne les variables d'environnement (ici surtout pour la var OUTPUT_CHECK)  
     
    6055 
    6156 
    62 echo 
    63 echo "ncrcat file to compare cdo cat file with :" 
    64 echo "$output_ncrcat_file" 
    65 echo 
    66 echo "Output cdo cat file to write:" 
    67 echo "$output_cdocat_file" 
    68 echo 
    69 echo "Output cdo cat log file to write:" 
    70 echo "$output_cdocat_logFile" 
     57#echo 
     58#echo "ncrcat file to compare cdo cat file with :" 
     59#echo "$output_ncrcat_file" 
     60#echo 
     61#echo "Output cdo cat file to create:" 
     62#echo "$output_cdocat_file" 
     63#echo 
     64#echo "Output cdo cat log file:" 
     65#echo "$output_cdocat_logFile" 
     66 
     67if [ ! -e $listToProcessFile ] 
     68then 
     69    echo "Le fichier en entree n'existe pas. STOP." > $output_cdocat_logFile 
     70    exit 1 
     71fi 
    7172 
    7273 
    7374if [ ! -e $outputfile ] 
    7475then 
    75    echo "Le fichier liste suivant n'existe pas :" 
    76    echo "$outputfile" 
     76   echo "Le fichier liste suivant n'existe pas :" >> $output_cdocat_logFile 
     77   echo "$outputfile" >> $output_cdocat_logFile 
     78   exit 1 
    7779fi 
    7880 
     
    8183listOfFilesToCdocat=`cat $listToProcessFile ` 
    8284 
     85 
    8386cdo cat $listOfFilesToCdocat $output_cdocat_file > $output_cdocat_logFile 2>&1 
     87 
    8488 
    8589echo >> $output_cdocat_logFile 
Note: See TracChangeset for help on using the changeset viewer.