Ignore:
Timestamp:
01/19/11 17:52:56 (13 years ago)
Author:
sdipsl
Message:
  • correct bug with TS 3D without chunck see ticket #52
  • catch return code from all nco operator except ncrcat and exit if SpaceName? is PROD. clean error code handling. Special case for cdo command. see ticket #51
    • it means that if SpaceName?=PROD all must run absolutely perfectly ; otherwise libIGCM will stop.
  • For Smooth file, first access is always true for Period=1. Get Files when SmoothMin?<CumulPeriod?<SmoothMax? and modulo [min]:[modulo:][max] is true. see ticket #44
  • Under testing : do not use unless you are willing to help testing.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_obelix.ksh

    r387 r409  
    220220#D- 
    221221function IGCM_sys_SendMail { 
    222     IGCM_debug_PushStack "IGCM_sys_SendMailPost" $@ 
     222    IGCM_debug_PushStack "IGCM_sys_SendMail" $@ 
    223223    if ( $DEBUG_sys ) ; then 
    224224        echo "IGCM_sys_SendMail :" $@ 
     
    11861186    if [ $? -gt 0 ] ; then 
    11871187       echo "IGCM_sys_ncap2 : erreur ${@}." 
    1188 #       IGCM_debug_Exit "ncap2" 
     1188       IGCM_debug_Exit "ncap2" 
    11891189    fi 
    11901190 
     
    12001200    if [ $? -gt 0 ] ; then 
    12011201       echo "IGCM_sys_ncatted : erreur ${@}." 
    1202 #       IGCM_debug_Exit "ncatted" 
     1202       IGCM_debug_Exit "ncatted" 
    12031203    fi 
    12041204 
     
    12141214    if [ $? -gt 0 ] ; then 
    12151215       echo "IGCM_sys_ncbo : erreur ${@}." 
    1216 #       IGCM_debug_Exit "ncbo" 
     1216       IGCM_debug_Exit "ncbo" 
    12171217    fi 
    12181218 
     
    12281228    if [ $? -gt 0 ] ; then 
    12291229       echo "IGCM_sys_ncdiff : erreur ${@}." 
    1230 #       IGCM_debug_Exit "ncdiff" 
     1230       IGCM_debug_Exit "ncdiff" 
    12311231    fi 
    12321232 
     
    12421242    if [ $? -gt 0 ] ; then 
    12431243       echo "IGCM_sys_ncea : erreur ${@}." 
    1244 #       IGCM_debug_Exit "ncea" 
     1244       IGCM_debug_Exit "ncea" 
    12451245    fi 
    12461246 
     
    12561256    if [ $? -gt 0 ] ; then 
    12571257       echo "IGCM_sys_ncecat : erreur ${@}." 
    1258 #       IGCM_debug_Exit "ncecat" 
     1258       IGCM_debug_Exit "ncecat" 
    12591259    fi 
    12601260 
     
    12701270    if [ $? -gt 0 ] ; then 
    12711271       echo "IGCM_sys_ncflint : erreur ${@}." 
    1272 #       IGCM_debug_Exit "ncflint" 
     1272       IGCM_debug_Exit "ncflint" 
    12731273    fi 
    12741274 
     
    12841284    if [ $? -gt 0 ] ; then 
    12851285       echo "IGCM_sys_ncks : erreur ${@}." 
    1286 #       IGCM_debug_Exit "ncks" 
     1286       IGCM_debug_Exit "ncks" 
    12871287    fi 
    12881288 
     
    12981298    if [ $? -gt 0 ] ; then 
    12991299       echo "IGCM_sys_ncpdq : erreur ${@}." 
    1300 #       IGCM_debug_Exit "ncpdq" 
     1300       IGCM_debug_Exit "ncpdq" 
    13011301    fi 
    13021302 
     
    13121312    if [ $? -gt 0 ] ; then 
    13131313       echo "IGCM_sys_ncra : erreur ${@}." 
    1314 #       IGCM_debug_Exit "ncra" 
     1314       IGCM_debug_Exit "ncra" 
    13151315    fi 
    13161316 
     
    13401340    if [ $? -gt 0 ] ; then 
    13411341       echo "IGCM_sys_ncrename : erreur ${@}." 
    1342 #       IGCM_debug_Exit "ncrename" 
     1342       IGCM_debug_Exit "ncrename" 
    13431343    fi 
    13441344 
     
    13541354    if [ $? -gt 0 ] ; then 
    13551355       echo "IGCM_sys_ncwa : erreur ${@}." 
    1356 #       IGCM_debug_Exit "ncwa" 
     1356       IGCM_debug_Exit "ncwa" 
    13571357    fi 
    13581358 
     
    13691369    if [ $? -gt 0 ] ; then 
    13701370       echo "IGCM_sys_cdo : erreur ${@}." 
    1371 #       IGCM_debug_Exit "cdo" 
     1371       IGCM_debug_PopStack "IGCM_sys_cdo" 
     1372       return 1 
     1373    else 
     1374        IGCM_debug_PopStack "IGCM_sys_cdo" 
     1375        return 0 
    13721376    fi 
    13731377 
Note: See TracChangeset for help on using the changeset viewer.