Changeset 3435 for CONFIG/UNIFORM/v6/NEMO_v6/GENERAL/DRIVER
- Timestamp:
- 10/23/17 15:39:29 (7 years ago)
- Location:
- CONFIG/UNIFORM/v6/NEMO_v6/GENERAL/DRIVER
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/NEMO_v6/GENERAL/DRIVER/lim3.driver
r2639 r3435 16 16 IGCM_debug_PushStack "ICE_Update" 17 17 18 NbFreq=$( echo ${config_ICE_WriteFrequency} | wc -w )19 18 20 ##--Write Frequency Purpose .... 21 typeset -Z1 i=1 22 while [ $i -le ${NbFreq} ]; do 23 frequency=$( echo ${config_ICE_WriteFrequency} | awk -v var="$i" "-F " '{print $var}' ) 24 factor=$( echo ${frequency} | sed -e "s/[yYmMdD]//" ) 19 ##--Write Frequency for iomput 20 ## Differents frequencies are allowed for ICE files 21 22 VI1D_ENABLE=".FALSE." 23 VI5D_ENABLE=".FALSE." 24 VI1M_ENABLE=".FALSE." 25 VI1Y_ENABLE=".FALSE." 26 27 for frequency in ${config_ICE_WriteFrequency} ; do 25 28 case ${frequency} in 26 *Y|*y) 27 eval PREFIX_WFI${i}=${config_UserChoices_JobName}_${factor}y_${DatesPeriod} ; 28 eval R_OUT_ICE_WFI${i}=${R_OUT_ICE_O_Y} ; 29 eval WFI${i}=${factor}Y ;; 30 *M|*m) 31 eval PREFIX_WFI${i}=${config_UserChoices_JobName}_${factor}m_${DatesPeriod} ; 32 eval R_OUT_ICE_WFI${i}=${R_OUT_ICE_O_M} ; 33 eval WFI${i}=${factor}M ;; 34 *D|*d) 35 eval PREFIX_WFI${i}=${config_UserChoices_JobName}_${factor}d_${DatesPeriod} ; 36 eval R_OUT_ICE_WFI${i}=${R_OUT_ICE_O_D} ; 37 eval WFI${i}=${factor}D ;; 38 *) 29 ( 1D|1d ) VI1D_ENABLE=".TRUE." ;; 30 ( 5D|5d ) VI5D_ENABLE=".TRUE." ;; 31 ( 1M|1m ) VI1M_ENABLE=".TRUE." ;; 32 ( *[yY] ) VI1Y_ENABLE=".TRUE." ;; 39 33 esac 40 let i=$i+134 done 41 35 42 done 36 37 # Update iodef.xml 38 39 IGCM_debug_Print 1 'Informations into iodef.xml : VI1D_ENABLE VI5D_ENABLE VI1M_ENABLE VI1Y_ENABLE ' 40 IGCM_debug_Print 1 ${VI1D_ENABLE} ${VI5D_ENABLE} ${VI1M_ENABLE} ${VI1Y_ENABLE} 41 42 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1d enabled ${VI1D_ENABLE} 43 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 5d enabled ${VI5D_ENABLE} 44 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1m enabled ${VI1M_ENABLE} 45 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1y enabled ${VI1Y_ENABLE} 46 43 47 echo UPDATE ICE !!! 44 48 -
CONFIG/UNIFORM/v6/NEMO_v6/GENERAL/DRIVER/opa9.driver
r3408 r3435 157 157 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-opa.xml 1y enabled ${V1Y_ENABLE} 158 158 159 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1d enabled ${V1D_ENABLE}160 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1m enabled ${V1M_ENABLE}161 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1y enabled ${V1Y_ENABLE}162 159 163 160 # update domain_def.xml file -
CONFIG/UNIFORM/v6/NEMO_v6/GENERAL/DRIVER/pisces.driver
r3408 r3435 43 43 IGCM_debug_PushStack "MBG_Update" 44 44 45 V1D_ENABLE=".FALSE." 46 V5D_ENABLE=".FALSE." 47 V1M_ENABLE=".FALSE." 48 V1Y_ENABLE=".FALSE." 49 50 for frequency in ${config_OCE_WriteFrequency} ; do 45 46 ##--Write Frequency for iomput 47 ## Differents frequencies are allowed for MBG files 48 49 VT1D_ENABLE=".FALSE." 50 VT5D_ENABLE=".FALSE." 51 VT1M_ENABLE=".FALSE." 52 VT1Y_ENABLE=".FALSE." 53 54 for frequency in ${config_MBG_WriteFrequency} ; do 51 55 case ${frequency} in 52 ( 1D|1d ) V 1D_ENABLE=".TRUE." ;;53 ( 5D|5d ) V 5D_ENABLE=".TRUE." ;;54 ( 1M|1m ) V 1M_ENABLE=".TRUE." ;;55 ( *[yY] ) V 1Y_ENABLE=".TRUE." ;;56 ( 1D|1d ) VT1D_ENABLE=".TRUE." ;; 57 ( 5D|5d ) VT5D_ENABLE=".TRUE." ;; 58 ( 1M|1m ) VT1M_ENABLE=".TRUE." ;; 59 ( *[yY] ) VT1Y_ENABLE=".TRUE." ;; 56 60 esac 57 61 done … … 166 170 fi 167 171 168 IGCM_comp_modifyNamelist blocker namelist_top_cfg ln_rsttr ${TOP_LRSTTR} 169 IGCM_comp_modifyNamelist blocker namelist_top_cfg nn_rsttr ${TOP_NRSTTR} 170 IGCM_comp_modifyNamelist blocker namelist_pisces_cfg atcco2 ${pisces_UserChoices_AtmCo2} 171 IGCM_comp_modifyNamelist blocker namelist_pisces_cfg nn_pisdmp ${OPA_NPDT_YEAR} 172 IGCM_comp_modifyNamelist blocker namelist_pisces_cfg nrdttrc ${pisces_UserChoices_PisFreq} 173 174 175 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1d enabled ${V1D_ENABLE} 176 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1m enabled ${V1M_ENABLE} 177 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1y enabled ${V1Y_ENABLE} 172 ##-- Update namelist_top_cfg and namelist_pisces_cfg 173 IGCM_comp_modifyNamelist blocker namelist_top_cfg ln_rsttr ${TOP_LN_RSTR} 174 IGCM_comp_modifyNamelist blocker namelist_top_cfg nn_rsttr ${TOP_NN_RSTR} 175 IGCM_comp_modifyNamelist blocker namelist_pisces_cfg nn_pisdmp ${OPA_NPDT_YEAR} 176 177 # Update iodef.xml 178 179 IGCM_debug_Print 1 'Informations into iodef.xml : VT1D_ENABLE VT5D_ENABLE VT1M_ENABLE VT1Y_ENABLE ' 180 IGCM_debug_Print 1 ${VT1D_ENABLE} ${VT5D_ENABLE} ${VT1M_ENABLE} ${VT1Y_ENABLE} 181 182 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1d enabled ${VT1D_ENABLE} 183 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 5d enabled ${VT5D_ENABLE} 184 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1m enabled ${VT1M_ENABLE} 185 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1y enabled ${VT1Y_ENABLE} 186 178 187 179 188
Note: See TracChangeset
for help on using the changeset viewer.