Ignore:
Timestamp:
04/16/12 10:17:06 (12 years ago)
Author:
sdipsl
Message:
  • Bugfix : when asking only for chunked time series job was not submitted
  • Bugfix : when in pack case seasonal job was not submitted if no time series were active
  • Cosmetics
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_pack_output

    r647 r653  
    315315          fi 
    316316        done 
    317  
    318         if [ ! ${nbfile} = ${NbPeriodPerFrequency} ] ; then 
    319           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_Exit 
    323         fi 
    324  
    325317        # Select list of variables to work with 
    326318        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 ',' ) 
     
    328320        # Create packed files 
    329321        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 
    330328        output=${JobName}_${date_begin_pack}_${date_end_pack}_${myType} 
    331329        #cat liste_pack_${myType}_${date_begin_pack}_${date_end_pack}.txt | xargs ncrcat -v ${list_var} -o ${output} 
     
    352350        #mv liste_pack_${myType}_${date_begin_pack}_${date_end_pack}.txt ${STORE_DEBUG} 
    353351        IGCM_debug_Print 1 "Ncrcat and cleaning done for ${dir} and ${myType}" 
     352        echo 
    354353      done 
    355354    done 
Note: See TracChangeset for help on using the changeset viewer.