Changeset 441


Ignore:
Timestamp:
04/08/11 14:39:39 (13 years ago)
Author:
sdipsl
Message:

Continuation of the changeset [409]. Try to find the right balance between a user friendly experience and the fact that when somethings break we need to stop.

We catch return code from all nco operator except ncrcat and exit if SpaceName is PROD but we dont want to be too strict regarding comp.card.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_create_ts

    r436 r441  
    294294fi 
    295295 
     296# ------------------------------------------------------------------ 
     297#D- Test if all was right before entering the loop 
     298# ------------------------------------------------------------------ 
     299IGCM_debug_Verif_Exit_Post 
    296300 
    297301######################################################################## 
     
    656660            IGCM_sys_Get /l liste_file[*] ${RUN_DIR_PATH}/${comp} 
    657661            # Even if some files are missing we tried to continue 
    658             # Either ListVar in compname.card are asked nut not present in original history file 
     662            # Either ListVar in compname.card are asked but not present in original history file 
    659663            # Either a previous TS task failed 
    660664            ExitFlag=false 
     
    871875                    # 
    872876                    IGCM_sys_Rm ${file1} ${file2} 
     877                    ExitFlag=false 
    873878                fi 
    874879 
     
    882887                    [ "${FLAG_B}" = "TRUE" ] && eval MENAGE \${R_OUT_${comp}}/Analyse/${TS_Dir} ${file_before} ${file_out} 
    883888                    # 
    884                     if [ ${FlagDir} = "1M" ] ; then 
     889                    if ( [ ${FlagDir} = "1M" ] && [ -f ${file_out} ] ) ; then 
    885890                        file_before_YE=${config_UserChoices_JobName}_${DateBegin}_${DATE_FIN_JOB_B}_1Y_${var}.nc 
    886891                        file_out_YE=${config_UserChoices_JobName}_${DATE_BUILD_END}_1Y_${var}.nc 
     
    908913                    # 
    909914                    IGCM_sys_Rm ${file_out} 
     915                    ExitFlag=false 
    910916                    # 
    911917                fi 
Note: See TracChangeset for help on using the changeset viewer.