Ignore:
Timestamp:
05/11/21 15:13:32 (3 years ago)
Author:
acosce
Message:

merge LMDZOR_v6.2 with IPSLCM6.2 configuration. Add physiq v6.2

Location:
CONFIG/UNIFORM/v6/LMDZOR_v6.2/GENERAL/DRIVER
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/LMDZOR_v6.2/GENERAL/DRIVER/lmdz.driver

    r4919 r5717  
    367367    fi 
    368368 
    369     if [ X${config_ListOfComponents_CHM} = Xinca ] ; then 
     369    if [ X${config_UserChoices_ConfigType} = XESMCO2AER ] ; then 
     370    echo "ESM config, with INCA and CO2i, set type_trac=inco in run.def" 
     371    IGCM_comp_modifyDefFile blocker run.def type_trac inco 
     372    IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1 
     373    elif [ X${config_ListOfComponents_CHM} = Xinca ] ; then 
    370374        echo "Activate coupling to INCA, set type_trac=inca in run.def" 
    371375        IGCM_comp_modifyDefFile blocker run.def type_trac inca 
     
    380384        IGCM_comp_modifyDefFile blocker run.def type_trac co2i 
    381385        IGCM_comp_modifyDefFile blocker run.def config_inca none 
    382         IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1  
     386    IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1  
    383387    elif [ X${lmdz_UserChoices_LMDZ_strataero} = Xy ] ; then 
    384388        echo "No coupling to chemistry model but it is a LMDZ STRATAER configuration, set type_trac=coag in run.def" 
     
    480484    fi  
    481485 
    482     if [ X${config_UserChoices_ConfigType} = XESMCO2 ] ; then 
     486    if ( [ X${config_UserChoices_ConfigType} = XESMCO2 ] || [ X${config_UserChoices_ConfigType} = XESMCO2AER ] ) ; then 
    483487        # Set carbon cycle parameters according to parmeters in lmdz.card  
    484488        IGCM_comp_modifyDefFile blocker config.def level_coupling_esm 2  
     
    554558    fi 
    555559    # Include xml files for output configuration if running with workflow CMIP6 
    556     if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then 
     560    if ( [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] || [ X${config_Post_dr2xmlIPSL} = XTRUE ] ) ; then 
    557561        echo '<context id="LMDZ" src="./ping_lmdz.xml"/>' >> add.tmp 
    558         echo '<context id="LMDZ" src="./dr2xml_lmdz.xml"/>' >> add.tmp 
     562    echo '<context id="LMDZ" src="./dr2xml_lmdz.xml"/>' >> add.tmp 
    559563    fi 
    560564    cp iodef.xml iodef.xml.tmp 
  • CONFIG/UNIFORM/v6/LMDZOR_v6.2/GENERAL/DRIVER/orchidee.driver

    r4919 r5717  
    147147    fi 
    148148    # Include xml files for output configuration if running with workflow CMIP6 
    149     if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then 
    150         echo '<context id="orchidee" src="./ping_orchidee.xml"/>' >> add.tmp 
    151         echo '<context id="orchidee" src="./dr2xml_orchidee.xml"/>' >> add.tmp 
     149    if ( [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] || [ X${config_Post_dr2xmlIPSL} = XTRUE ] ) ; then 
     150          echo '<context id="orchidee" src="./ping_orchidee.xml"/>' >> add.tmp 
     151          echo '<context id="orchidee" src="./dr2xml_orchidee.xml"/>' >> add.tmp 
    152152    fi 
    153153    cp iodef.xml iodef.xml.tmp 
  • CONFIG/UNIFORM/v6/LMDZOR_v6.2/GENERAL/DRIVER/xios.driver

    r4722 r5717  
    2020 
    2121# Activate 2nd server level for CMIP6 type experiments (CMIP6 workflow) 
    22     if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] || [ X"$( echo ${config_UserChoices_ExpType} | grep MR025 )" != "X" ] ; then 
     22 
     23    if ( [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] || [ X"$( echo ${config_UserChoices_ExpType} | grep MR025 )" != "X" ] || [ X${config_Post_dr2xmlIPSL} = XTRUE ] ) ; then 
    2324       IGCM_comp_modifyXmlFile force iodef.xml using_server2 NONE true 
    2425    fi 
Note: See TracChangeset for help on using the changeset viewer.