Changeset 3687 for CONFIG/UNIFORM/v6/IPSLESM6/GENERAL/DRIVER/lmdz.driver
- Timestamp:
- 03/23/18 15:31:39 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/IPSLESM6/GENERAL/DRIVER/lmdz.driver
r3127 r3687 53 53 ok_hf3hm=.FALSE. 54 54 ok_stn=.FALSE. 55 55 56 56 57 case ${config_UserChoices_PeriodLength} in … … 80 81 done 81 82 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 83 93 if [ X${lmdz_UserChoices_LMDZ_COSP_OK} = Xy ] ; then 84 94 ## LMDZ_COSP_OK=y, now read all other COSP variables … … 159 169 160 170 # 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. 161 172 if [ -f CO2.txt ] ; then 162 173 value=`grep Annee_${year} CO2.txt | awk -F= '{print $2}'` … … 166 177 IGCM_debug_Verif_Exit 167 178 fi 179 value4=`grep Annee_${year} CO2.txt | awk -F= '{print $2 * 4}'` 168 180 else 169 181 value=DEFAULT 182 value4=DEFAULT 170 183 fi 171 184 IGCM_comp_modifyDefFile nonblocker config.def co2_ppm $value 185 IGCM_comp_modifyDefFile nonblocker config.def co2_ppm_per $value4 172 186 173 187 … … 456 470 # <context id="LMDZ" src="./context_lmdz.xml"/> 457 471 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 458 476 cp iodef.xml iodef.xml.tmp 459 477 sed -e "/COMPONENT CONTEXT/r add.tmp" iodef.xml.tmp > iodef.xml
Note: See TracChangeset
for help on using the changeset viewer.