- Timestamp:
- 01/10/20 12:08:42 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/LMDZORINCA_v6.2/GENERAL/DRIVER/inca.driver
r4625 r4884 51 51 enable1=.FALSE. 52 52 enable2=.FALSE. 53 enable3=.FALSE. 53 54 54 55 for frequency in ${config_CHM_WriteFrequency} ; do … … 58 59 case ${frequency} in 59 60 1M|1m) enable2=.TRUE. ;; 61 esac 62 case ${frequency} in 63 1H|1h) enable3=.TRUE. ;; 60 64 esac 61 65 done … … 167 171 168 172 NMHC_AER_S) 173 IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml aero_chem1 enabled ${enable3} 174 169 175 IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml forcage1 enabled ${enable1} 170 176 IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml aero1 enabled ${enable1} … … 211 217 fi 212 218 213 if [ X${inca_UserChoices_10m_winds_method} = X ] ; then214 IGCM_comp_modifyDefFile nonblocker inca.def 10m_winds_method threshold215 else216 IGCM_comp_modifyDefFile nonblocker inca.def 10m_winds_method ${inca_UserChoices_10m_winds_method}217 fi218 219 219 220 220 if [ ! X${inca_UserChoices_wind_parameter} = X ] ; then 221 if [ X${inca_UserChoices_10m_winds_method} = Xthreshold ] ; then 222 IGCM_comp_modifyDefFile nonblocker inca.def tref ${inca_UserChoices_wind_parameter} 223 IGCM_comp_modifyDefFile nonblocker inca.def kref DEFAULT 224 else 225 IGCM_comp_modifyDefFile nonblocker inca.def kref ${inca_UserChoices_wind_parameter} 226 IGCM_comp_modifyDefFile nonblocker inca.def tref DEFAULT 227 fi 228 else 229 IGCM_comp_modifyDefFile nonblocker inca.def kref DEFAULT 230 IGCM_comp_modifyDefFile nonblocker inca.def tref DEFAULT 221 IGCM_comp_modifyDefFile nonblocker inca.def tref ${inca_UserChoices_wind_parameter} 222 else 223 IGCM_comp_modifyDefFile nonblocker inca.def tref DEFAULT 231 224 fi 232 225 … … 288 281 fi 289 282 290 #inca.def : choose output library 291 if [ X${inca_UserChoices_XIOS} = Xy ] ; then 292 IGCM_comp_modifyDefFile nonblocker inca.def XIOS_INCA_OK y 293 else 294 IGCM_comp_modifyDefFile nonblocker inca.def XIOS_INCA_OK n 295 fi 296 297 if [ X${inca_UserChoices_IOIPSL} = Xy ] ; then 298 IGCM_comp_modifyDefFile nonblocker inca.def IOIPSL_INCA_OK y 299 else 300 IGCM_comp_modifyDefFile nonblocker inca.def IOIPSL_INCA_OK n 301 fi 302 303 304 283 284 285 #inca.def : choose which xml will be use (with group or no = cmip files) 286 if [ X${cmip_xml} = Xy ] ; then 287 288 IGCM_comp_modifyDefFile nonblocker inca.def cmip_xml y 289 else 290 IGCM_comp_modifyDefFile nonblocker inca.def cmip_xml n 291 fi 292 305 293 306 294 … … 308 296 # In iodef.xml add on next line after "COMPONENT CONTEXT" 309 297 # <context id="inca" src="./context_inca.xml"/> 310 311 312 313 314 298 echo '<context id="inca" src="./context_inca.xml"/>' > add.tmp 299 cp iodef.xml iodef.xml.tmp 300 sed -e "/COMPONENT CONTEXT/r add.tmp" \ 301 iodef.xml.tmp > iodef.xml 302 rm iodef.xml.tmp add.tmp 315 303 316 304
Note: See TracChangeset
for help on using the changeset viewer.