Changeset 1545 for trunk


Ignore:
Timestamp:
01/18/21 14:16:13 (3 years ago)
Author:
aclsce
Message:

Commented (waiting for new xios xml parser function) the check of coherence between xmls files to avoid error messages.

File:
1 edited

Legend:

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

    r1539 r1545  
    648648    fi 
    649649 
    650     if [ ${#FileDef[@]} -ne 0 ] ; then 
    651       # Check XMLs coherency now 
    652       IGCM_debug_Print 1 "${libIGCM}/libIGCM_post/xios_parser.py check --field ${FieldDef[*]} --file ${FileDef[*]}" 
    653       ${libIGCM}/libIGCM_post/xios_parser.py check --field ${FieldDef[*]} --file ${FileDef[*]} 
    654       if [ $? = 0 ] ; then 
    655         IGCM_debug_Print 1 "${compname} XIOS XMLs are consistent" 
    656       else 
    657         IGCM_debug_Print 1 "${compname} XIOS XMLs ARE NOT consistent" 
    658         if [ X${config_Post_ParserXIOS} = XTRUE ]  ; then 
    659           IGCM_debug_Print 1 "Try to fix it:" 
    660           IGCM_debug_Print 3 "${libIGCM}/libIGCM_post/xios_parser.py -v modify --field ${FieldDef[*]} --file ${FileDef[*]}" 
    661           ${libIGCM}/libIGCM_post/xios_parser.py -vv modify --field ${FieldDef[*]} --file ${FileDef[*]} 
    662           [ $? != 0 ] &&  IGCM_debug_Exit "Failed to fix XIOS xml files for ${compname}" 
    663         fi 
    664       fi 
    665     fi 
    666650  done 
    667651 
Note: See TracChangeset for help on using the changeset viewer.