Ignore:
Timestamp:
03/23/18 15:31:39 (6 years ago)
Author:
acosce
Message:

Update IPSLESM to comply with v6 standard and add the AER experiment for the coupled model

File:
1 edited

Legend:

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

    r3127 r3687  
    5353    ok_hf3hm=.FALSE. 
    5454    ok_stn=.FALSE. 
     55 
    5556 
    5657    case ${config_UserChoices_PeriodLength} in 
     
    8081    done 
    8182 
    82     ##  Read LMDZ_COSP_OK in lmdz.card 
     83    if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then 
     84        ok_mensuel=.FALSE. 
     85        ok_journe=.FALSE. 
     86        ok_hf=.FALSE. 
     87        ok_hf3h=.FALSE. 
     88        ok_hf3hm=.FALSE. 
     89        ok_stn=.FALSE. 
     90    fi 
     91 
     92##  Read LMDZ_COSP_OK in lmdz.card 
    8393    if [ X${lmdz_UserChoices_LMDZ_COSP_OK} = Xy ] ; then 
    8494        ##  LMDZ_COSP_OK=y, now read all other COSP variables 
     
    159169 
    160170    # Read value for co2_ppm from file CO2.txt. If file not existing, take DEFAULT value from file.  
     171    # Calculate co2_ppm_per as co2_ppm*4. 
    161172    if [ -f CO2.txt ] ; then 
    162173        value=`grep Annee_${year} CO2.txt | awk -F= '{print $2}'` 
     
    166177            IGCM_debug_Verif_Exit 
    167178        fi 
     179        value4=`grep Annee_${year} CO2.txt | awk -F= '{print $2 * 4}'` 
    168180    else 
    169181        value=DEFAULT 
     182        value4=DEFAULT 
    170183    fi 
    171184    IGCM_comp_modifyDefFile nonblocker config.def co2_ppm $value 
     185    IGCM_comp_modifyDefFile nonblocker config.def co2_ppm_per $value4 
    172186 
    173187 
     
    456470    #  <context id="LMDZ" src="./context_lmdz.xml"/> 
    457471    echo '<context id="LMDZ" src="./context_lmdz.xml"/>' > add.tmp 
     472    if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then 
     473        echo '<context id="LMDZ" src="./ping_lmdz.xml"/>' >> add.tmp 
     474        echo '<context id="LMDZ" src="./dr2xml_lmdz.xml"/>' >> add.tmp 
     475    fi 
    458476    cp iodef.xml iodef.xml.tmp 
    459477    sed -e "/COMPONENT CONTEXT/r add.tmp" iodef.xml.tmp > iodef.xml 
Note: See TracChangeset for help on using the changeset viewer.