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_default.ksh

    r404 r409  
    209209#D- 
    210210function IGCM_sys_SendMail { 
    211     IGCM_debug_PushStack "IGCM_sys_SendMailPost" $@ 
     211    IGCM_debug_PushStack "IGCM_sys_SendMail" $@ 
    212212    if ( $DEBUG_sys ) ; then 
    213213        echo "IGCM_sys_SendMail :" $@ 
     
    11691169    if [ $? -gt 0 ] ; then 
    11701170       echo "IGCM_sys_ncap2 : erreur ${@}." 
    1171 #       IGCM_debug_Exit "ncap2" 
     1171       IGCM_debug_Exit "ncap2" 
    11721172    fi 
    11731173 
     
    11831183    if [ $? -gt 0 ] ; then 
    11841184       echo "IGCM_sys_ncatted : erreur ${@}." 
    1185 #       IGCM_debug_Exit "ncatted" 
     1185       IGCM_debug_Exit "ncatted" 
    11861186    fi 
    11871187 
     
    11971197    if [ $? -gt 0 ] ; then 
    11981198       echo "IGCM_sys_ncbo : erreur ${@}." 
    1199 #       IGCM_debug_Exit "ncbo" 
     1199       IGCM_debug_Exit "ncbo" 
    12001200    fi 
    12011201 
     
    12111211    if [ $? -gt 0 ] ; then 
    12121212       echo "IGCM_sys_ncdiff : erreur ${@}." 
    1213 #       IGCM_debug_Exit "ncdiff" 
     1213       IGCM_debug_Exit "ncdiff" 
    12141214    fi 
    12151215 
     
    12251225    if [ $? -gt 0 ] ; then 
    12261226       echo "IGCM_sys_ncea : erreur ${@}." 
    1227 #       IGCM_debug_Exit "ncea" 
     1227       IGCM_debug_Exit "ncea" 
    12281228    fi 
    12291229 
     
    12391239    if [ $? -gt 0 ] ; then 
    12401240       echo "IGCM_sys_ncecat : erreur ${@}." 
    1241 #       IGCM_debug_Exit "ncecat" 
     1241       IGCM_debug_Exit "ncecat" 
    12421242    fi 
    12431243 
     
    12531253    if [ $? -gt 0 ] ; then 
    12541254       echo "IGCM_sys_ncflint : erreur ${@}." 
    1255 #       IGCM_debug_Exit "ncflint" 
     1255       IGCM_debug_Exit "ncflint" 
    12561256    fi 
    12571257 
     
    12671267    if [ $? -gt 0 ] ; then 
    12681268       echo "IGCM_sys_ncks : erreur ${@}." 
    1269 #       IGCM_debug_Exit "ncks" 
     1269       IGCM_debug_Exit "ncks" 
    12701270    fi 
    12711271 
     
    12811281    if [ $? -gt 0 ] ; then 
    12821282       echo "IGCM_sys_ncpdq : erreur ${@}." 
    1283 #       IGCM_debug_Exit "ncpdq" 
     1283       IGCM_debug_Exit "ncpdq" 
    12841284    fi 
    12851285 
     
    12951295    if [ $? -gt 0 ] ; then 
    12961296       echo "IGCM_sys_ncra : erreur ${@}." 
    1297 #       IGCM_debug_Exit "ncra" 
     1297       IGCM_debug_Exit "ncra" 
    12981298    fi 
    12991299 
     
    13231323    if [ $? -gt 0 ] ; then 
    13241324       echo "IGCM_sys_ncrename : erreur ${@}." 
    1325 #       IGCM_debug_Exit "ncrename" 
     1325       IGCM_debug_Exit "ncrename" 
    13261326    fi 
    13271327 
     
    13371337    if [ $? -gt 0 ] ; then 
    13381338       echo "IGCM_sys_ncwa : erreur ${@}." 
    1339 #       IGCM_debug_Exit "ncwa" 
     1339       IGCM_debug_Exit "ncwa" 
    13401340    fi 
    13411341 
     
    13521352    if [ $? -gt 0 ] ; then 
    13531353       echo "IGCM_sys_cdo : erreur ${@}." 
    1354 #       IGCM_debug_Exit "cdo" 
     1354       IGCM_debug_PopStack "IGCM_sys_cdo" 
     1355       return 1 
     1356    else 
     1357        IGCM_debug_PopStack "IGCM_sys_cdo" 
     1358        return 0 
    13551359    fi 
    13561360 
Note: See TracChangeset for help on using the changeset viewer.