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

    r404 r409  
    12291229    if [ $? -gt 0 ] ; then 
    12301230       echo "IGCM_sys_ncap2 : erreur ${@}." 
    1231 #       IGCM_debug_Exit "ncap2" 
     1231       IGCM_debug_Exit "ncap2" 
    12321232    fi 
    12331233 
     
    12431243    if [ $? -gt 0 ] ; then 
    12441244       echo "IGCM_sys_ncatted : erreur ${@}." 
    1245 #       IGCM_debug_Exit "ncatted" 
     1245       IGCM_debug_Exit "ncatted" 
    12461246    fi 
    12471247 
     
    12571257    if [ $? -gt 0 ] ; then 
    12581258       echo "IGCM_sys_ncbo : erreur ${@}." 
    1259 #       IGCM_debug_Exit "ncbo" 
     1259       IGCM_debug_Exit "ncbo" 
    12601260    fi 
    12611261 
     
    12711271    if [ $? -gt 0 ] ; then 
    12721272       echo "IGCM_sys_ncdiff : erreur ${@}." 
    1273 #       IGCM_debug_Exit "ncdiff" 
     1273       IGCM_debug_Exit "ncdiff" 
    12741274    fi 
    12751275 
     
    12851285    if [ $? -gt 0 ] ; then 
    12861286       echo "IGCM_sys_ncea : erreur ${@}." 
    1287 #       IGCM_debug_Exit "ncea" 
     1287       IGCM_debug_Exit "ncea" 
    12881288    fi 
    12891289 
     
    12991299    if [ $? -gt 0 ] ; then 
    13001300       echo "IGCM_sys_ncecat : erreur ${@}." 
    1301 #       IGCM_debug_Exit "ncecat" 
     1301       IGCM_debug_Exit "ncecat" 
    13021302    fi 
    13031303 
     
    13131313    if [ $? -gt 0 ] ; then 
    13141314       echo "IGCM_sys_ncflint : erreur ${@}." 
    1315 #       IGCM_debug_Exit "ncflint" 
     1315       IGCM_debug_Exit "ncflint" 
    13161316    fi 
    13171317 
     
    13271327    if [ $? -gt 0 ] ; then 
    13281328       echo "IGCM_sys_ncks : erreur ${@}." 
    1329 #       IGCM_debug_Exit "ncks" 
     1329       IGCM_debug_Exit "ncks" 
    13301330    fi 
    13311331 
     
    13411341    if [ $? -gt 0 ] ; then 
    13421342       echo "IGCM_sys_ncpdq : erreur ${@}." 
    1343 #       IGCM_debug_Exit "ncpdq" 
     1343       IGCM_debug_Exit "ncpdq" 
    13441344    fi 
    13451345 
     
    13551355    if [ $? -gt 0 ] ; then 
    13561356       echo "IGCM_sys_ncra : erreur ${@}." 
    1357 #       IGCM_debug_Exit "ncra" 
     1357       IGCM_debug_Exit "ncra" 
    13581358    fi 
    13591359 
     
    13831383    if [ $? -gt 0 ] ; then 
    13841384       echo "IGCM_sys_ncrename : erreur ${@}." 
    1385 #       IGCM_debug_Exit "ncrename" 
     1385       IGCM_debug_Exit "ncrename" 
    13861386    fi 
    13871387 
     
    13971397    if [ $? -gt 0 ] ; then 
    13981398       echo "IGCM_sys_ncwa : erreur ${@}." 
    1399 #       IGCM_debug_Exit "ncwa" 
     1399       IGCM_debug_Exit "ncwa" 
    14001400    fi 
    14011401 
     
    14111411    \cdo $@ 
    14121412    if [ $? -gt 0 ] ; then 
    1413        echo "IGCM_sys_cdo : erreur ${@}." 
    1414 #       IGCM_debug_Exit "cdo" 
     1413        echo "IGCM_sys_cdo : erreur ${@}." 
     1414        IGCM_debug_PopStack "IGCM_sys_cdo" 
     1415        return 1 
     1416    else 
     1417        IGCM_debug_PopStack "IGCM_sys_cdo" 
     1418        return 0 
    14151419    fi 
    14161420 
Note: See TracChangeset for help on using the changeset viewer.