Changeset 3969 for CONFIG/UNIFORM/v6/IPSLESM6/GENERAL/DRIVER/lmdz.driver
- Timestamp:
- 07/11/18 10:32:51 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/IPSLESM6/GENERAL/DRIVER/lmdz.driver
r3758 r3969 159 159 IGCM_comp_modifyDefFile nonblocker config.def solaire $value 160 160 161 # Read value for eccentricity from file Eccentricity.txt. If file not existing, take DEFAULT value from file. 162 if [ -f Eccentricity.txt ] ; then 163 value=`grep Annee_${year} Eccentricity.txt | awk -F= '{print $2}'` 164 if [ X"${value}" = X ] ; then 165 # The grep returned empty variable, stop execution 166 IGCM_debug_Exit "The file Eccentricity.txt do not contain the current year." 167 IGCM_debug_Verif_Exit 168 fi 169 else 170 value=DEFAULT 171 fi 172 IGCM_comp_modifyDefFile nonblocker config.def R_ecc $value 173 174 # Read value for obliquity from file Obliquity.txt. If file not existing, take DEFAULT value from file. 175 if [ -f Obliquity.txt ] ; then 176 value=`grep Annee_${year} Obliquity.txt | awk -F= '{print $2}'` 177 if [ X"${value}" = X ] ; then 178 # The grep returned empty variable, stop execution 179 IGCM_debug_Exit "The file Obliquity.txt do not contain the current year." 180 IGCM_debug_Verif_Exit 181 fi 182 else 183 value=DEFAULT 184 fi 185 IGCM_comp_modifyDefFile nonblocker config.def R_incl $value 186 187 # Read value for perihelie from file Perihelie.txt. If file not existing, take DEFAULT value from file. 188 if [ -f Perihelie.txt ] ; then 189 value=`grep Annee_${year} Perihelie.txt | awk -F= '{print $2}'` 190 if [ X"${value}" = X ] ; then 191 # The grep returned empty variable, stop execution 192 IGCM_debug_Exit "The file Perihelie.txt do not contain the current year." 193 IGCM_debug_Verif_Exit 194 fi 195 else 196 value=DEFAULT 197 fi 198 IGCM_comp_modifyDefFile nonblocker config.def R_peri $value 161 199 162 200 # Read value for co2_ppm from file CO2.txt. If file not existing, take DEFAULT value from file. … … 349 387 else 350 388 echo "LMDZ is running in forced mode without ocean model, set type_ocean=force in run.def" 351 IGCM_comp_modifyDefFile blocker run.def type_ocean force389 IGCM_comp_modifyDefFile nonblocker run.def type_ocean force 352 390 fi 353 391 … … 401 439 fi 402 440 441 # config.def : Activate online Ozone chemistry coupled model if chemistry_couple=y 442 if [ ! X${lmdz_UserChoices_chemistry_couple} = X ]; then 443 IGCM_comp_modifyDefFile nonblocker config.def chemistry_couple ${lmdz_UserChoices_chemistry_couple} 444 else 445 IGCM_comp_modifyDefFile nonblocker config.def chemistry_couple n 446 fi 447 403 448 # config.def : Activate reading of ozone in climatology if read_climoz=2 404 449 if [ ! X${lmdz_UserChoices_read_climoz} = X ]; then … … 439 484 fi 440 485 486 # physiq.def : Modify parameter tau_gl if it is set in lmdz.card 487 if [ ! X${lmdz_UserChoices_tau_gl} = X ]; then 488 IGCM_comp_modifyDefFile nonblocker physiq.def tau_gl ${lmdz_UserChoices_tau_gl} 489 else 490 # Take default value set in physiq.def 491 IGCM_comp_modifyDefFile nonblocker config.def tau_gl DEFAULT 492 fi 493 494 441 495 # guide.def : Activate nudging if ok_guide=y set in lmdz.card 442 496 if [ ! X${lmdz_UserChoices_ok_guide} = X ] ; then … … 445 499 IGCM_comp_modifyDefFile nonblocker guide.def ok_guide n 446 500 fi 501 447 502 448 503 ## Read ByPass_hgardfou_teta option in lmdz.card --> divide teta* by 2 if [ $ByPass_hgardfou_teta = 1 ]
Note: See TracChangeset
for help on using the changeset viewer.