Ignore:
Timestamp:
07/13/18 10:18:25 (6 years ago)
Author:
sdipsl
Message:
  • Add option dr2xmlFilePrefix under the [Post] section of config.card. It will add the JobName? as the prefix of CMIP6 files produced by the WF.
File:
1 edited

Legend:

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

    r1449 r1467  
    15711571      eval IGCM_sys_Mkdir \${CMIP6_BUF_${comp}} 
    15721572      eval CMIP6_DIR=\${CMIP6_BUF_${comp}} 
    1573  
    15741573      # Modify path from dr2xml_{compname}.xml 
    1575       ${libIGCM}/libIGCM_post/xios_parser.py -v modifyPath --newPath ${CMIP6_DIR} --file dr2xml_${compname}.xml 
    1576  
     1574      if [ X${config_Post_dr2xmlFilePrefix} = XTRUE ]; then 
     1575        ${libIGCM}/libIGCM_post/xios_parser.py -v modifyPath --newPath ${CMIP6_DIR} --filePrefix ${config_UserChoices_JobName} --file dr2xml_${compname}.xml 
     1576      else 
     1577        ${libIGCM}/libIGCM_post/xios_parser.py -v modifyPath --newPath ${CMIP6_DIR} --file dr2xml_${compname}.xml 
     1578      fi 
    15771579      # Overwrite the original file 
    15781580      IGCM_sys_Mv modified.dr2xml_${compname}.xml dr2xml_${compname}.xml 
Note: See TracChangeset for help on using the changeset viewer.