Changeset 721


Ignore:
Timestamp:
10/16/12 19:00:18 (12 years ago)
Author:
sdipsl
Message:
  • curie : detect spurious warning from nrcat "corrupting" output file's time axis and try again. ncrcat: WARNING Intra-file non-monotonicity. #72
File:
1 edited

Legend:

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

    r719 r721  
    24632463      \rm out_rsync 
    24642464      IGCM_debug_Print 2 "IGCM_sys_ncrcat : ${i}/${NB_ESSAI} sleep ${DELAI} seconds and try again." 
     2465    elif [ ! "X$( grep "WARNING Intra-file non-monotonicity" out_rsync )" = "X" ] ; then 
     2466      IGCM_debug_Print 2 "IGCM_sys_ncrcat : WARNING Intra-file non-monotonicity" 
     2467      cat out_rsync 
     2468      # Hacky output parsing... 
     2469      toDelete=$( awk -F "output file " {'print $2'} out_rsync | awk -F " record" {'print $1'} ) 
     2470      IGCM_debug_Print 2 "IGCM_sys_ncrcat : Delete ${toDelete}" 
     2471      \rm ${toDelete} 
     2472      \rm out_rsync 
     2473      IGCM_debug_Print 2 "IGCM_sys_ncrcat : ${i}/${NB_ESSAI} sleep ${DELAI} seconds and try again." 
    24652474    else 
    24662475      \rm out_rsync 
Note: See TracChangeset for help on using the changeset viewer.