Ignore:
Timestamp:
04/04/17 14:46:39 (7 years ago)
Author:
cetlod
Message:

NEMO_v6 for OMIP : phase with the latest revision number

Location:
CONFIG/UNIFORM/v6/NEMO_v6/GENERAL/DRIVER
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/NEMO_v6/GENERAL/DRIVER/opa9.driver

    r3124 r3203  
    55    IGCM_debug_PushStack "OCE_Initialize" 
    66 
    7     RESOL_OCE=$( echo ${config_UserChoices_ExperimentName} | cut -c1-5 ) 
    8     EXPTYPE=$( echo ${config_UserChoices_ExperimentName} | cut -c6- ) 
     7    RESOL_OCE=${config_UserChoices_ExpType%%_*} 
     8    EXPTYPE=${config_UserChoices_ExpType##*/} 
     9 
     10    IGCM_debug_Print 1 " " 
     11    IGCM_debug_Print 1 "RESOL_OCE        : ${RESOL_OCE}" 
     12    IGCM_debug_Print 1 "EXPERIMENT TYPE  : ${EXPTYPE}" 
    913 
    1014# Local function to find namelists parameters 
     
    154158   IGCM_comp_modifyNamelist blocker    namelist_cfg nn_leapy  ${OPA_NLEAPY}   
    155159 
     160# update domain_def.xml file  
     161   case ${RESOL_OCE} in  
     162       ( *ORCA025* )   
     163        sed -e 's/<zoom_domain id="1point" ibegin="139" jbegin="119"/<zoom_domain id="1point" ibegin="600" jbegin="600"/' domain_def.xml > domain_def.xml.tmp   
     164         IGCM_sys_Mv domain_def.xml.tmp domain_def.xml  ;  
     165   esac  
     166 
    156167   IGCM_debug_PopStack "OCE_Update" 
    157168} 
  • CONFIG/UNIFORM/v6/NEMO_v6/GENERAL/DRIVER/pisces.driver

    r3177 r3203  
    1212 
    1313    if [ X"${pisces_UserChoices_Offline_Mode}" = X"y" ] ; then 
    14        RESOL_OCE=$( echo ${config_UserChoices_ExperimentName} | cut -c1-5 ) 
    15        EXPTYPE=$( echo ${config_UserChoices_ExperimentName} | cut -c6- ) 
     14       RESOL_OCE=${config_UserChoices_ExpType%%_*} 
     15       EXPTYPE=${config_UserChoices_ExpType##*/} 
     16 
     17       IGCM_debug_Print 1 " " 
     18       IGCM_debug_Print 1 "RESOL_OCE        : ${RESOL_OCE}" 
     19       IGCM_debug_Print 1 "EXPERIMENT TYPE  : ${EXPTYPE}" 
     20 
    1621       OPA_RDT=$( supergrep rn_rdt  ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE}${EXPTYPE}_offline_cfg | sed 's/ *rn_rdt *=//' | sed 's/\. *,//' ) 
    1722       # Period Length In Days between DateBegin and first day of calendar 0001 01 01 
     
    120125      IGCM_comp_modifyNamelist blocker    namelist_cfg nn_date0 ${PeriodDateBegin} 
    121126      IGCM_comp_modifyNamelist blocker    namelist_cfg nn_leapy  ${OPA_NLEAPY} 
     127 
     128# update domain_def.xml file  
     129      case ${RESOL_OCE} in  
     130          ( *ORCA025* )   
     131            sed -e 's/<zoom_domain id="1point" ibegin="139" jbegin="119"/<zoom_domain id="1point" ibegin="600" jbegin="600"/' domain_def.xml > domain_def.xml.tmp   
     132            IGCM_sys_Mv domain_def.xml.tmp domain_def.xml  ;  
     133      esac  
     134 
    122135   fi 
    123136 
Note: See TracChangeset for help on using the changeset viewer.