Changeset 653 for trunk/libIGCM/AA_pack_output
- Timestamp:
- 04/16/12 10:17:06 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_pack_output
r647 r653 315 315 fi 316 316 done 317 318 if [ ! ${nbfile} = ${NbPeriodPerFrequency} ] ; then319 IGCM_debug_Print 1 "Number of files to process is not equal to what it should be"320 IGCM_debug_Print 1 "We found ${nbfiles} files and it should have been ${NbPeriodPerFrequency} files"321 IGCM_debug_Exit "ERROR in number of files to process. STOP HERE INCLUDING THE COMPUTING JOB"322 IGCM_debug_Verif_Exit323 fi324 325 317 # Select list of variables to work with 326 318 list_var=$( cat liste_variables_${myType}_${date_begin_pack}_${date_end_pack}.txt | sort | uniq -c | awk -v nbfile=$nbfile '{if ($1 != nbfile) {print $2}}' | paste -s -d ',' ) … … 328 320 # Create packed files 329 321 IGCM_debug_Print 1 "Ncrcat ongoing for ${dir} and ${myType}" 322 if [ ! ${nbfile} = ${NbPeriodPerFrequency} ] ; then 323 IGCM_debug_Print 1 "Number of files to process is not equal to what it should be" 324 IGCM_debug_Print 1 "We found ${nbfile} files and it should have been ${NbPeriodPerFrequency} files" 325 IGCM_debug_Exit "ERROR in number of files to process. STOP HERE INCLUDING THE COMPUTING JOB" 326 IGCM_debug_Verif_Exit 327 fi 330 328 output=${JobName}_${date_begin_pack}_${date_end_pack}_${myType} 331 329 #cat liste_pack_${myType}_${date_begin_pack}_${date_end_pack}.txt | xargs ncrcat -v ${list_var} -o ${output} … … 352 350 #mv liste_pack_${myType}_${date_begin_pack}_${date_end_pack}.txt ${STORE_DEBUG} 353 351 IGCM_debug_Print 1 "Ncrcat and cleaning done for ${dir} and ${myType}" 352 echo 354 353 done 355 354 done
Note: See TracChangeset
for help on using the changeset viewer.