Changeset 4788 for CONFIG/UNIFORM/v6/LMDZORINCA_v6.1.10/GENERAL
- Timestamp:
- 11/04/19 11:31:31 (5 years ago)
- Location:
- CONFIG/UNIFORM/v6/LMDZORINCA_v6.1.10/GENERAL
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/LMDZORINCA_v6.1.10/GENERAL/DRIVER/lmdz.driver
r4395 r4788 322 322 IGCM_comp_modifyXmlFile nonblocker file_def_histhfCOSP_lmdz.xml histhfCOSP enabled ${LMDZ_COSP_hf} 323 323 324 # Activate the histstrataer output file only for configuration with interactive stratospheric aersols324 # Activate the histstrataer output files only for configuration with interactive stratospheric aerosols 325 325 # done by setting the key word LMDZ_strataero=y in lmdz.card 326 326 if [ X${lmdz_UserChoices_LMDZ_strataero} = Xy ] ; then 327 327 IGCM_comp_modifyXmlFile nonblocker file_def_histstrataer_lmdz.xml histstrataer enabled .TRUE. 328 IGCM_comp_modifyXmlFile nonblocker file_def_histdaystrataer_lmdz.xml histdaystrataer enabled .TRUE. 328 329 else 329 330 IGCM_comp_modifyXmlFile nonblocker file_def_histstrataer_lmdz.xml histstrataer enabled .FALSE. 331 IGCM_comp_modifyXmlFile nonblocker file_def_histdaystrataer_lmdz.xml histdaystrataer enabled .FALSE. 330 332 fi 331 333 … … 391 393 392 394 if [ X${config_ListOfComponents_CHM} = Xinca ] ; then 393 394 395 echo "Activate coupling to INCA, set type_trac=inca in run.def" 396 IGCM_comp_modifyDefFile blocker run.def type_trac inca 395 397 elif [ X${config_ListOfComponents_CHM} = Xreprobus ] ; then 396 397 398 echo "Activate coupling to REPROBUS, set type_trac=repr in run.def" 399 IGCM_comp_modifyDefFile blocker run.def type_trac repr 398 400 IGCM_comp_modifyDefFile blocker run.def config_inca none 399 el se400 echo "No coupling to chemistry model, set type_trac=lmdzin run.def"401 IGCM_comp_modifyDefFile blocker run.def type_trac lmdz 401 elif [ X${lmdz_UserChoices_LMDZ_strataero} = Xy ] ; then 402 echo "No coupling to chemistry model but it is a LMDZ STRATAER configuration, set type_trac=coag in run.def" 403 IGCM_comp_modifyDefFile blocker run.def type_trac coag 402 404 IGCM_comp_modifyDefFile blocker run.def config_inca none 403 fi 404 405 else 406 echo "No coupling to chemistry model, set type_trac=lmdz in run.def" 407 IGCM_comp_modifyDefFile blocker run.def type_trac lmdz 408 IGCM_comp_modifyDefFile blocker run.def config_inca none 409 fi 405 410 406 411 # run.def : Activate the call to phytrac 407 412 if [ ! X${lmdz_UserChoices_iflag_phytrac} = X ]; then 408 413 IGCM_comp_modifyDefFile nonblocker run.def iflag_phytrac ${lmdz_UserChoices_iflag_phytrac} 414 elif [ X${lmdz_UserChoices_LMDZ_strataero} = Xy ] ; then 415 IGCM_comp_modifyDefFile nonblocker run.def iflag_phytrac 1 409 416 else 410 417 IGCM_comp_modifyDefFile nonblocker run.def iflag_phytrac 0 … … 483 490 IGCM_comp_modifyDefFile nonblocker config.def pmagic DEFAULT 484 491 fi 492 493 # config.def : Modify parameter ok_volcan if it is set in lmdz.card 494 if [ ! X${lmdz_UserChoices_ok_volcan} = X ]; then 495 IGCM_comp_modifyDefFile nonblocker config.def ok_volcan ${lmdz_UserChoices_ok_volcan} 496 else 497 # Take default value set in config.def 498 IGCM_comp_modifyDefFile nonblocker config.def ok_volcan DEFAULT 499 fi 500 501 # config.def : set ok_volcan to y if we are in the strataero config 502 if [ X${lmdz_UserChoices_LMDZ_strataero} = Xy ] ; then 503 IGCM_comp_modifyDefFile nonblocker config.def ok_volcan y 504 else 505 IGCM_comp_modifyDefFile nonblocker config.def ok_volcan DEFAULT 506 fi 507 508 # Note: ok_volcan is a flag allowing a double-call with/without natural forcing (instead of with/without anthro forcing). 485 509 486 510 # physiq.def : Modify parameter tau_gl if it is set in lmdz.card … … 556 580 rm add.tmp 557 581 fi 582 583 #Compression level (if CompressionLevel is not empty) 584 if [ ! "X${config_UserChoices_CompressionLevel}" = "X" ] ; then 585 echo "NetCDF output files compression level is " ${config_UserChoices_CompressionLevel} 586 listfile=$(ls file_def*lmdz.xml) 587 for file in ${listfile} 588 do 589 sed -i -e "s/\(compression_level=\"\)[^\"]*\(\"\)/\1${config_UserChoices_CompressionLevel}\2/" ${file} 590 done 591 fi 592 558 593 559 594 IGCM_debug_PopStack "ATM_Update" -
CONFIG/UNIFORM/v6/LMDZORINCA_v6.1.10/GENERAL/DRIVER/orchidee.driver
r4395 r4788 12 12 DefSuffix=${orchidee_UserChoices_DefSuffix} 13 13 else 14 DefSuffix=C hoi14 DefSuffix=CWRR 15 15 fi 16 16 … … 39 39 IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 output_level 0 40 40 IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 output_freq 1mo 41 IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 enabled .FALSE. 42 IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 output_level 0 43 IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 output_freq 1mo 41 44 fi 42 45 … … 85 88 fi 86 89 90 # Activate calcul of chemistry BVOC 91 if [ ! X${orchidee_UserChoices_CHEMISTRY_BVOC} = X ] ; then 92 IGCM_comp_modifyDefFile nonblocker orchidee.def CHEMISTRY_BVOC ${orchidee_UserChoices_CHEMISTRY_BVOC} 93 else 94 IGCM_comp_modifyDefFile nonblocker orchidee.def CHEMISTRY_BVOC n 95 fi 87 96 88 97 ## 2. Mangement of output and modifications of related xml files … … 160 169 fi 161 170 171 #Compression level (if CompressionLevel is not empty) 172 if [ ! "X${config_UserChoices_CompressionLevel}" = "X" ] ; then 173 echo "NetCDF output files compression level is " ${config_UserChoices_CompressionLevel} 174 listfile=$(ls file_def*orchidee.xml) 175 for file in ${listfile} 176 do 177 sed -i -e "s/\(compression_level=\"\)[^\"]*\(\"\)/\1${config_UserChoices_CompressionLevel}\2/" ${file} 178 done 179 fi 180 181 162 182 163 183 IGCM_debug_PopStack "SRF_Update" -
CONFIG/UNIFORM/v6/LMDZORINCA_v6.1.10/GENERAL/DRIVER/stomate.driver
r4395 r4788 47 47 48 48 49 if [ X${stomate_UserChoices_output_level_stomate_history_4dim} = X ] || [ X${stomate_UserChoices_output_level_stomate_history_4dim} = XNONE ] ; then 50 # output_level_stomate_history_4dim is not set in stomate.card or it is set to NONE. 51 # Deactivate the file. 52 IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 enabled .FALSE. 53 IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 output_level 0 54 IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 output_freq 1mo 55 else 56 IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 enabled .TRUE. 57 IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 output_level ${stomate_UserChoices_output_level_stomate_history_4dim} 58 IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 output_freq ${stomate_UserChoices_output_freq_stomate_history_4dim} 59 fi 60 49 61 50 62 # Define in orchidee.def if restart file should be used … … 55 67 IGCM_comp_modifyDefFile blocker orchidee.def STOMATE_RESTART_FILEIN stomate_rest_in.nc 56 68 fi 69 70 71 # Modify in orchidee.def NINPUT_UPDATE if it is set in stomate.card section UserChoices 72 # NINPUT_UPDATE inidcates if the nitrogen maps should be updated and at which frequency 73 if [ ! X${stomate_UserChoices_NINPUT_UPDATE} = X ] ; then 74 # Take the value from stomate.card 75 IGCM_comp_modifyDefFile nonblocker orchidee.def NINPUT_UPDATE ${stomate_UserChoices_NINPUT_UPDATE} 76 else 77 # Set default value 0Y 78 IGCM_comp_modifyDefFile nonblocker orchidee.def NINPUT_UPDATE 0Y 79 fi 80 81 # Modify in orchidee.def STOMATE_IMPOSE_CN if it is set in stomate.card section UserChoices 82 # STOMATE_IMPOSE_CN inidcates if the nitrogen should be imposed or not. 83 if [ ! X${stomate_UserChoices_STOMATE_IMPOSE_CN} = X ] ; then 84 # Take the value from stomate.card 85 IGCM_comp_modifyDefFile nonblocker orchidee.def STOMATE_IMPOSE_CN ${stomate_UserChoices_STOMATE_IMPOSE_CN} 86 else 87 # Set default value n (nitrogen is not imposed) 88 IGCM_comp_modifyDefFile nonblocker orchidee.def STOMATE_IMPOSE_CN n 89 fi 90 57 91 58 92 IGCM_debug_PopStack "SBG_Update" -
CONFIG/UNIFORM/v6/LMDZORINCA_v6.1.10/GENERAL/PARAM/config.def_actuel
r4395 r4788 73 73 # Aerosols stratospheriques utilises par defaut 74 74 flag_aerosol_strat=2 75 # Diag VolMIP to get volcanic aerosols effects instead of tropospheric ones76 ok_volcan= n75 # Flag to yield double call with/without natural forcing (instead of with/without anthropic) 76 ok_volcan=_AUTO_: DEFAULT = n 77 77 # 78 78 # COSP -
CONFIG/UNIFORM/v6/LMDZORINCA_v6.1.10/GENERAL/PARAM/config.def_annuel
r4395 r4788 74 74 # Aerosols stratospheriques utilises par defaut 75 75 flag_aerosol_strat=2 76 # Diag VolMIP to get volcanic aerosols effects instead of tropospheric ones77 ok_volcan= n76 # Flag to yield double call with/without natural forcing (instead of with/without anthropic) 77 ok_volcan=_AUTO_: DEFAULT = n 78 78 # 79 79 # COSP -
CONFIG/UNIFORM/v6/LMDZORINCA_v6.1.10/GENERAL/PARAM/config.def_preind
r4395 r4788 74 74 # 75 75 flag_aerosol_strat=2 76 # Diag VolMIP to get volcanic aerosols effects instead of tropospheric ones 77 ok_volcan=n 76 # Flag to yield double call with/without natural forcing (instead of with/without anthropic) 77 ok_volcan=_AUTO_: DEFAULT = n 78 # 78 79 # 79 80 # COSP -
CONFIG/UNIFORM/v6/LMDZORINCA_v6.1.10/GENERAL/PARAM/orchidee.def_CWRR
r4395 r4788 218 218 #************************************************************************ 219 219 # CHEMISTRY_OK_BVOC : Activate chemistry 220 CHEMISTRY_BVOC = 220 CHEMISTRY_BVOC = _AUTO_: DEFAULT=n 221 221 222 222 # CO2 FOR BVOC - WILKINSON : CO2 inhibition effect for isoprene based on Wilkinson approach? -
CONFIG/UNIFORM/v6/LMDZORINCA_v6.1.10/GENERAL/PARAM/orchidee.def_Choi
r4395 r4788 94 94 # CHEMISTRY_OK_BVOC ([FLAG]) : Activate chemistry {OK_SECHIBA} 95 95 # default = n 96 CHEMISTRY_BVOC = 96 CHEMISTRY_BVOC = _AUTO_: DEFAULT=n 97 97 98 98 # CO2 FOR BVOC - WILKINSON ([FLAG]) : CO2 inhibition effect for isoprene based on Wilkinson approach? {CHEMISTRY_OK_BVOC }
Note: See TracChangeset
for help on using the changeset viewer.