Ignore:
Timestamp:
08/17/16 10:09:01 (8 years ago)
Author:
sdipsl
Message:
  • adjust the printed look and feel
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_comp/libIGCM_comp.ksh

    r1338 r1339  
    630630    if [ ${#FileDef[@]} -ne 0 ] ; then 
    631631      # Check XMLs coherency now 
    632       ${libIGCM}/libIGCM_post/xios_parser.py check --field ${FieldDef} --file ${FileDef} 
     632      IGCM_debug_Print 1 "${libIGCM}/libIGCM_post/xios_parser.py check --field ${FieldDef[*]} --file ${FileDef[*]}" 
     633      ${libIGCM}/libIGCM_post/xios_parser.py check --field ${FieldDef[*]} --file ${FileDef[*]} 
    633634      if [ $? = 0 ] ; then 
    634         IGCM_debug_Print 3 "${compname} XIOS XMLs are consistent" 
     635        IGCM_debug_Print 1 "${compname} XIOS XMLs are consistent" 
    635636      else 
    636         IGCM_debug_Print 3 "${compname} XIOS XMLs ARE NOT consistent" 
    637         ${libIGCM}/libIGCM_post/xios_parser.py -v modify --field ${FieldDef} --file ${FileDef} 
    638         [ $? != 0] &&  IGCM_debug_Exit "Failed to fix XIOS xml files for ${compname}" 
     637        IGCM_debug_Print 1 "${compname} XIOS XMLs ARE NOT consistent. Try to fix it:" 
     638        IGCM_debug_Print 3 "${libIGCM}/libIGCM_post/xios_parser.py -v modify --field ${FieldDef[*]} --file ${FileDef[*]}" 
     639        ${libIGCM}/libIGCM_post/xios_parser.py -vv modify --field ${FieldDef[*]} --file ${FileDef[*]} 
     640        [ $? != 0 ] &&  IGCM_debug_Exit "Failed to fix XIOS xml files for ${compname}" 
    639641      fi 
    640642    fi 
Note: See TracChangeset for help on using the changeset viewer.