Changeset 1864 for TOOLS/PACK_IPSL/check_ncrcat_list.sh
- Timestamp:
- 09/06/12 15:26:07 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/PACK_IPSL/check_ncrcat_list.sh
r1853 r1864 5 5 # /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 6 6 7 if [ ! -e $listToProcessFile ]8 then9 echo "Le fichier en entree n'existe pas. STOP."10 exit 111 fi12 7 13 8 # On renseigne les variables d'environnement (ici surtout pour la var OUTPUT_CHECK) … … 60 55 61 56 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 67 if [ ! -e $listToProcessFile ] 68 then 69 echo "Le fichier en entree n'existe pas. STOP." > $output_cdocat_logFile 70 exit 1 71 fi 71 72 72 73 73 74 if [ ! -e $outputfile ] 74 75 then 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 77 79 fi 78 80 … … 81 83 listOfFilesToCdocat=`cat $listToProcessFile ` 82 84 85 83 86 cdo cat $listOfFilesToCdocat $output_cdocat_file > $output_cdocat_logFile 2>&1 87 84 88 85 89 echo >> $output_cdocat_logFile
Note: See TracChangeset
for help on using the changeset viewer.