Changeset 3854
- Timestamp:
- 05/28/18 16:27:48 (5 years ago)
- Location:
- CONFIG/UNIFORM/v6/NEMO_v6/GENERAL
- Files:
-
- 36 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/NEMO_v6/GENERAL/DRIVER/lim3.driver
r3512 r3854 45 45 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1y_lim enabled ${VI1Y_ENABLE} 46 46 47 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1d_lim output_level ${lim3_UserChoices_OutputLevel} 48 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 5d_lim output_level ${lim3_UserChoices_OutputLevel} 49 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1m_lim output_level ${lim3_UserChoices_OutputLevel} 50 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1y_lim output_level ${lim3_UserChoices_OutputLevel} 51 52 47 53 echo UPDATE ICE !!! 48 54 -
CONFIG/UNIFORM/v6/NEMO_v6/GENERAL/DRIVER/opa9.driver
r3512 r3854 6 6 7 7 RESOL_OCE=${config_UserChoices_ExpType%%_*} 8 EXPTYPE=${config_UserChoices_ExpType##*/}8 exptype=${config_UserChoices_ExpType##*/} 9 9 10 10 IGCM_debug_Print 1 " " 11 11 IGCM_debug_Print 1 "RESOL_OCE : ${RESOL_OCE}" 12 IGCM_debug_Print 1 "EXPERIMENT TYPE : ${EXPTYPE}" 12 IGCM_debug_Print 1 "FORCING : ${exptype}" 13 IGCM_debug_Print 1 "EXPERIMENT TYPE : ${opa9_UserChoices_forcing}" 13 14 14 15 # Local function to find namelists parameters … … 17 18 } 18 19 19 OPA_RDT=$( supergrep rn_rdt ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE}${EXPTYPE}_cfg | sed 's/ *rn_rdt *=//' | sed 's/\. *,//' )20 OPA_RDT=$( supergrep rn_rdt ${SUBMIT_DIR}/PARAM/NAMELIST/${RESOL_OCE}/namelist_${opa9_UserChoices_forcing}_${exptype}_cfg | sed 's/ *rn_rdt *=//' | sed 's/\. *,//' ) 20 21 21 22 # Period Length In Days between DateBegin and first day of calendar 0001 01 01 … … 30 31 IGCM_debug_Print 1 "OPA_NPDT_DAY ${OPA_NPDT_DAY}" 31 32 IGCM_debug_Print 1 "OPA_NPDT_YEAR ${OPA_NPDT_YEAR}" 33 32 34 33 35 IGCM_debug_PopStack "OCE_Initialize" … … 54 56 done 55 57 56 if [ "${ EXPTYPE}" = "ia" ] ; then58 if [ "${exptype}" = "ia" ] ; then 57 59 NbFileInter=${#opa9_UserChoices_ListForcing[*]} 58 60 (( LengthForcing=${opa9_UserChoices_YearForcingEnd} - ${opa9_UserChoices_YearForcingInit} + 1 )) … … 105 107 fi 106 108 107 109 ##-- Restart configuration 108 110 if ( [ "${CumulPeriod}" -eq 1 ] && [ "${config_OCE_Restart}" = "n" ] ) ; then 109 110 #echo "NO OPA RESTART" 111 OPA_LRSTAR=.FALSE. 112 OPA_NRSTDT=0 111 OPA_LRSTAR=.FALSE. 112 OPA_NRSTDT=0 113 #echo "NO OPA RESTART" 113 114 elif ( [ "${CumulPeriod}" -eq 1 ] && [ "${config_OCE_Restart}" = "y" ] ) ; then 114 115 #echo "OPA RESTART" 116 OPA_LRSTAR=.TRUE. 117 OPA_NRSTDT=0 115 OPA_LRSTAR=.TRUE. 116 OPA_NRSTDT=0 117 #echo "OPA RESTART" 118 118 else 119 120 #echo "OPA RESTART"121 OPA_LRSTAR=.TRUE. 122 OPA_NRSTDT=2 123 fi 119 OPA_LRSTAR=.TRUE. 120 OPA_NRSTDT=2 121 #echo "OPA RESTART" 122 fi 123 124 124 125 125 OPA_NMSH=0 … … 128 128 IGCM_card_WriteOption ${SUBMIT_DIR}/COMP/opa9.card UserChoices mesh_mask "n" 129 129 fi 130 130 131 ## nleapy configuration 131 132 case ${config_UserChoices_CalendarType} in … … 135 136 ( * ) OPA_NLEAPY=30 ;; 136 137 esac 138 137 139 138 140 typeset -r PRECIS=8 … … 147 149 IGCM_comp_modifyNamelist blocker namelist_cfg nn_date0 ${PeriodDateBegin} 148 150 IGCM_comp_modifyNamelist nonblocker namelist_cfg nn_msh ${OPA_NMSH} 151 IGCM_comp_modifyNamelist nonblocker namelist_cfg nn_rnf_depth_file ${OPA_NMSH} 149 152 IGCM_comp_modifyNamelist blocker namelist_cfg nn_leapy ${OPA_NLEAPY} 150 153 … … 156 159 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-opa.xml 1m_opa enabled ${V1M_ENABLE} 157 160 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-opa.xml 1y_opa enabled ${V1Y_ENABLE} 158 161 162 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-opa.xml 1d_opa output_level ${opa9_UserChoices_OutputLevel} 163 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-opa.xml 5d_opa output_level ${opa9_UserChoices_OutputLevel} 164 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-opa.xml 1m_opa output_level ${opa9_UserChoices_OutputLevel} 165 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-opa.xml 1y_opa output_level ${opa9_UserChoices_OutputLevel} 166 167 IGCM_comp_modifyXmlFile force context_nemo.xml ref_year NONE ${InitYear} 168 169 170 #Long Name as global attribute (if LongName is not empty) 171 if [ ! "X${config_UserChoices_LongName}" = "X" ] ; then 172 listfile=$(ls file_def_nemo*.xml) 173 echo "<variable id=\"LongName\" type=\"string\">${config_UserChoices_LongName}</variable>" > add.tmp 174 for file in ${listfile} 175 do 176 cp ${file} ${file}.tmp 177 sed -e "/<file id/r add.tmp" \ 178 ${file}.tmp > ${file} 179 rm ${file}.tmp 180 done 181 rm add.tmp 182 fi 159 183 160 184 # update domain_def.xml file -
CONFIG/UNIFORM/v6/NEMO_v6/GENERAL/DRIVER/pisces.driver
r3512 r3854 13 13 if [ X"${pisces_UserChoices_Offline_Mode}" = X"y" ] ; then 14 14 RESOL_OCE=${config_UserChoices_ExpType%%_*} 15 EXPTYPE=${config_UserChoices_ExpType##*/}15 exptype=${config_UserChoices_ExpType##*/} 16 16 17 17 IGCM_debug_Print 1 " " 18 18 IGCM_debug_Print 1 "RESOL_OCE : ${RESOL_OCE}" 19 IGCM_debug_Print 1 "EXPERIMENT TYPE : ${ EXPTYPE}"20 21 OPA_RDT=$( supergrep rn_rdt ${SUBMIT_DIR}/PARAM/ namelist_${RESOL_OCE}${EXPTYPE}_offline_cfg | sed 's/ *rn_rdt *=//' | sed 's/\. *,//' )19 IGCM_debug_Print 1 "EXPERIMENT TYPE : ${exptype}" 20 21 OPA_RDT=$( supergrep rn_rdt ${SUBMIT_DIR}/PARAM/NAMELIST/${RESOL_OCE}$/namelist_offline_${exptype}_cfg | sed 's/ *rn_rdt *=//' | sed 's/\. *,//' ) 22 22 # Period Length In Days between DateBegin and first day of calendar 0001 01 01 23 23 # /!\ Needed by OPA namelist to compute file names /!\ … … 168 168 esac 169 169 170 IGCM_comp_modifyXmlFile force context_nemo.xml ref_year NONE ${InitYear} 171 170 172 fi 171 173 … … 188 190 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1y_pis enabled ${VT1Y_ENABLE} 189 191 192 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1d_pis output_level ${pisces_UserChoices_OutputLevel} 193 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 5d_pis output_level ${pisces_UserChoices_OutputLevel} 194 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1m_pis output_level ${pisces_UserChoices_OutputLevel} 195 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1y_pis output_level ${pisces_UserChoices_OutputLevel} 196 190 197 191 198
Note: See TracChangeset
for help on using the changeset viewer.