Ignore:
Timestamp:
10/23/17 15:21:02 (7 years ago)
Author:
cetlod
Message:

CM6.0.13 : the output frequencies of OCE, ICE & MBG must be independent + New output PISCES variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/pisces.driver

    r2880 r3434  
    2424{ 
    2525    IGCM_debug_PushStack "MBG_Update" 
     26 
     27    ##--Write Frequency for iomput 
     28    ## Differents frequencies are allowed for MBG files 
     29 
     30    VT1D_ENABLE=".FALSE." 
     31    VT5D_ENABLE=".FALSE." 
     32    VT1M_ENABLE=".FALSE." 
     33    VT1Y_ENABLE=".FALSE." 
     34 
     35    for frequency in ${config_MBG_WriteFrequency} ; do 
     36        case ${frequency} in 
     37            ( 1D|1d ) VT1D_ENABLE=".TRUE." ;; 
     38            ( 5D|5d ) VT5D_ENABLE=".TRUE." ;; 
     39            ( 1M|1m ) VT1M_ENABLE=".TRUE." ;; 
     40            ( *[yY] ) VT1Y_ENABLE=".TRUE." ;; 
     41        esac 
     42    done 
    2643 
    2744    ##-- Restart configuration 
     
    90107    IGCM_comp_modifyNamelist blocker  namelist_top_cfg     nn_rsttr   ${TOP_NN_RSTR} 
    91108    IGCM_comp_modifyNamelist blocker  namelist_pisces_cfg  nn_pisdmp  ${OPA_NPDT_YEAR} 
    92      
     109  
     110    # Update iodef.xml 
     111 
     112    IGCM_debug_Print 1 'Informations into iodef.xml : VT1D_ENABLE VT5D_ENABLE VT1M_ENABLE VT1Y_ENABLE ' 
     113    IGCM_debug_Print 1 ${VT1D_ENABLE}  ${VT5D_ENABLE} ${VT1M_ENABLE} ${VT1Y_ENABLE} 
     114 
     115    IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1d enabled ${VT1D_ENABLE} 
     116    IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 5d enabled ${VT5D_ENABLE} 
     117    IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1m enabled ${VT1M_ENABLE} 
     118    IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1y enabled ${VT1Y_ENABLE} 
     119    
    93120    IGCM_debug_PopStack "MBG_Update" 
    94121} 
Note: See TracChangeset for help on using the changeset viewer.