Changeset 1650
- Timestamp:
- 02/02/12 19:32:14 (13 years ago)
- Location:
- CONFIG/IPSLCM/IPSLCM5_v4/GENERAL
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/IPSLCM/IPSLCM5_v4/GENERAL/DRIVER/lmdz.driver
r1649 r1650 136 136 if [ "${config_UserChoices_CalendarType}" != "360d" ] ; then 137 137 echo Do not consider following warning if your running create_etat0_limit : 138 echo WARN GING !!! For lmdz : calendartype in config.card. PeriodLength=1Y allowed only for CalendarType=360d138 echo WARNING !!! For lmdz : calendartype in config.card. PeriodLength=1Y allowed only for CalendarType=360d 139 139 fi 140 140 ;; … … 318 318 319 319 320 ## Determine from the variable ListOfComponents in config.card coupling to external models 321 ## and set corresponding parameters in run.def 322 echo ListOfComponents now running : ${config_ListOfComponents[*]} 323 324 if [ X${config_ListOfComponents_SRF} = Xorchidee ] ; then 325 echo "Activate ORCHIDEE, set VEGET=y in run.def" 326 LMDZ_sed run.def VEGET y 327 else 328 echo "No ORCHIDEE, set VEGET=n in run.def" 329 LMDZ_sed run.def VEGET n 330 fi 331 332 if [ X${config_ListOfComponents_CPL} = Xoasis ] ; then 333 echo "Activate coupling to ocean, set type_ocean=couple in run.def" 334 LMDZ_sed run.def type_ocean couple 335 else 336 echo "LMDZ is running in forced mode without ocean model, set type_ocean=force in run.def" 337 LMDZ_sed run.def type_ocean force 338 fi 339 340 if [ X${config_ListOfComponents_CHM} = Xinca ] ; then 341 echo "Activate coupling to INCA, set type_trac=inca in run.def" 342 LMDZ_sed run.def type_trac=inca 343 elif [ X${config_ListOfComponents_CHM} = Xreprobus ] ; then 344 echo "Activate coupling to REPROBUS, set type_trac=repr in run.def" 345 LMDZ_sed run.def type_trac=repr 346 else 347 echo "No coupling to chemistry model, set type_trac=lmdz in run.def" 348 LMDZ_sed run.def type_trac=lmdz 349 fi 350 351 320 352 # guide.def : Activate nudging if ok_guide set in lmdz.card 321 353 if [ ! X${lmdz_UserChoices_ok_guide} = X ] ; then -
CONFIG/IPSLCM/IPSLCM5_v4/GENERAL/DRIVER/oasis.driver
r1622 r1650 1 1 #!/bin/ksh 2 2 #----------------------------------- 3 function LMDZ_sed4 {5 IGCM_debug_PushStack "LMDZ_sed"6 7 sed -e "s/^${2}\ *=.*/${2}= ${3}/" ${1} > ${1}.tmp8 RET=$?9 echo "LMDZ_sed : ${1} ${2} ${3}"10 \mv ${1}.tmp ${1}11 12 IGCM_debug_PopStack "LMDZ_sed"13 return $RET14 }15 16 17 3 CPL_Initialize () 18 4 { … … 83 69 fi 84 70 85 86 ## Activate coupling to ocean model in LMDZ run.def file87 LMDZ_sed run.def type_ocean couple88 89 71 ## Calculate lag for transfer of fields from atmosphere -> ocean. 90 72 ## LAG_ATM="1day in sec"/day_step * iphysiq/nsplit_phys -
CONFIG/IPSLCM/IPSLCM5_v4/GENERAL/DRIVER/orchidee.driver
r1622 r1650 14 14 15 15 IGCM_debug_PopStack "ORCHIDEE_sed" 16 return $RET17 }18 19 function LMDZ_sed20 {21 IGCM_debug_PushStack "LMDZ_sed"22 23 sed -e "s/^${2}\ *=.*/${2}= ${3}/" ${1} > ${1}.tmp24 RET=$?25 echo "LMDZ_sed : ${1} ${2} ${3}"26 \mv ${1}.tmp ${1}27 28 IGCM_debug_PopStack "LMDZ_sed"29 16 return $RET 30 17 } … … 127 114 128 115 129 # Activate vegetation model in LMDZ run.def file130 LMDZ_sed run.def VEGET y131 132 116 IGCM_debug_PopStack "SRF_Update" 133 117 } -
CONFIG/IPSLCM/IPSLCM5_v4/GENERAL/PARAM/run.def
r1622 r1650 35 35 ### 36 36 ### type_ocean = force / slab /couple 37 ### type_ocean is modified automatically to couple if oasis.driver is used38 type_ocean= force37 ### type_ocean is modified automatically by the lmdz.driver 38 type_ocean=_AUTO_ 39 39 ### version_ocean = nemo / opa8 40 40 version_ocean=nemo … … 42 42 cpl_current=y 43 43 ### VEGET= y si ORCHIDEE, =n si bucket 44 ### VEGET is modified automatically to y if orchidee.driver is used 45 VEGET=n 46 44 ### VEGET is modified automatically by the lmdz.driver 45 VEGET=_AUTO_ 46 ### Choice of tracers type_trac=lmdz/inca/repr 47 ### type_trac is set automatically by the lmdz.driver 48 type_trac=_AUTO_
Note: See TracChangeset
for help on using the changeset viewer.