Changeset 2582 for CONFIG/UNIFORM/v6/LMDZOR_v6/GENERAL
- Timestamp:
- 06/25/15 15:37:32 (9 years ago)
- Location:
- CONFIG/UNIFORM/v6/LMDZOR_v6/GENERAL
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/LMDZOR_v6/GENERAL/DRIVER/lmdz.driver
r2512 r2582 325 325 fi 326 326 327 328 ## output.def parameters329 # columns in phys_output_filekeys refer to the filenames given in phys_out_filenames in output.def :330 # histmth histday histhf histhf3h histhf3hm histstn331 IGCM_comp_modifyDefFile nonblocker output.def phys_out_filekeys "${ok_mensuel} ${ok_journe} ${ok_hf} ${ok_hf3h} ${ok_hf3hm} ${ok_stn}"332 IGCM_comp_modifyDefFile nonblocker output.def ecrit_ISCCP ${LMDZ_ecrit_ISCCP}333 IGCM_comp_modifyDefFile nonblocker output.def ok_cosp ${LMDZ_COSP_OK}334 IGCM_comp_modifyDefFile nonblocker output.def ok_mensuelCOSP ${LMDZ_COSP_monthly}335 IGCM_comp_modifyDefFile nonblocker output.def ok_journeCOSP ${LMDZ_COSP_daily}336 IGCM_comp_modifyDefFile nonblocker output.def ok_hfCOSP ${LMDZ_COSP_hf}337 IGCM_comp_modifyDefFile nonblocker output.def ok_histNMC "${LMDZ_NMC_monthly} ${LMDZ_NMC_daily} ${LMDZ_NMC_hf}"338 339 # XIOS XML definition340 if [ X${lmdz_UserChoices_XIOS} = Xy ] ; then341 327 # Default init : files are desactivated 342 343 344 345 #IGCM_comp_modifyXmlFile force file_def_histhf3h_lmdz.xml histhf3h enabled .FALSE.346 #IGCM_comp_modifyXmlFile force file_def_histhf3hm_lmdz.xml histhf3hm enabled .FALSE.347 348 349 350 351 352 353 328 IGCM_comp_modifyXmlFile force file_def_histmth_lmdz.xml histmth enabled .FALSE. 329 IGCM_comp_modifyXmlFile force file_def_histday_lmdz.xml histday enabled .FALSE. 330 IGCM_comp_modifyXmlFile force file_def_histhf_lmdz.xml histhf enabled .FALSE. 331 #IGCM_comp_modifyXmlFile force file_def_histhf3h_lmdz.xml histhf3h enabled .FALSE. 332 #IGCM_comp_modifyXmlFile force file_def_histhf3hm_lmdz.xml histhf3hm enabled .FALSE. 333 IGCM_comp_modifyXmlFile force file_def_histstn_lmdz.xml histstn enabled .FALSE. 334 IGCM_comp_modifyXmlFile force file_def_histmthNMC_lmdz.xml histmthNMC enabled .FALSE. 335 IGCM_comp_modifyXmlFile force file_def_histdayNMC_lmdz.xml histdayNMC enabled .FALSE. 336 IGCM_comp_modifyXmlFile force file_def_histhfNMC_lmdz.xml histhfNMC enabled .FALSE. 337 IGCM_comp_modifyXmlFile force file_def_histmthCOSP_lmdz.xml histmthCOSP enabled .FALSE. 338 IGCM_comp_modifyXmlFile force file_def_histdayCOSP_lmdz.xml histdayCOSP enabled .FALSE. 339 IGCM_comp_modifyXmlFile force file_def_histhfCOSP_lmdz.xml histhfCOSP enabled .FALSE. 354 340 355 341 # Default output level : 5 356 IGCM_comp_modifyXmlFile force file_def_histmth_lmdz.xml histmth output_level 5 357 IGCM_comp_modifyXmlFile force file_def_histday_lmdz.xml histday output_level 5 358 IGCM_comp_modifyXmlFile force file_def_histhf_lmdz.xml histhf output_level 5 359 # IGCM_comp_modifyXmlFile force file_def_histhf3h_lmdz.xml histhf3h output_level 5 360 # IGCM_comp_modifyXmlFile force file_def_histhf3hm_lmdz.xml histhf3hm output_level 5 361 IGCM_comp_modifyXmlFile force file_def_histstn_lmdz.xml histstn output_level 5 362 IGCM_comp_modifyXmlFile force file_def_histmthNMC_lmdz.xml histmthNMC output_level 5 363 IGCM_comp_modifyXmlFile force file_def_histdayNMC_lmdz.xml histdayNMC output_level 5 364 IGCM_comp_modifyXmlFile force file_def_histhfNMC_lmdz.xml histhfNMC output_level 5 365 IGCM_comp_modifyXmlFile force file_def_histmthCOSP_lmdz.xml histmthCOSP output_level 5 366 IGCM_comp_modifyXmlFile force file_def_histdayCOSP_lmdz.xml histdayCOSP output_level 5 367 IGCM_comp_modifyXmlFile force file_def_histhfCOSP_lmdz.xml histhfCOSP output_level 5 368 # Filling of XML files 369 if [ X${ok_mensuel} = Xy ] ; then 370 IGCM_comp_modifyXmlFile force file_def_histmth_lmdz.xml histmth enabled .TRUE. 371 IGCM_comp_modifyXmlFile force file_def_histmth_lmdz.xml histmth output_freq 1mo 372 IGCM_comp_modifyXmlFile force file_def_histmth_lmdz.xml histmth name histmth 373 fi 374 if [ X${ok_journe} = Xy ] ; then 375 IGCM_comp_modifyXmlFile force file_def_histday_lmdz.xml histday enabled .TRUE. 376 IGCM_comp_modifyXmlFile force file_def_histday_lmdz.xml histday output_freq 1d 377 IGCM_comp_modifyXmlFile force file_def_histday_lmdz.xml histday name histday 378 if [ X${OutLevel} = Xlow ] || [ X${OutLevel} = Xmedium ] ; then 379 IGCM_comp_modifyXmlFile force file_def_histday_lmdz.xml histday output_level 2 380 fi 381 fi 382 if [ X${ok_hf} = Xy ] ; then 383 IGCM_comp_modifyXmlFile force file_def_histhf_lmdz.xml histhf enabled .TRUE. 384 IGCM_comp_modifyXmlFile force file_def_histhf_lmdz.xml histhf output_freq 6h 385 IGCM_comp_modifyXmlFile force file_def_histhf_lmdz.xml histhf name histhf 386 if [ X${OutLevel} = Xlow ] ; then 387 IGCM_comp_modifyXmlFile force file_def_histhf_lmdz.xml histhf output_level 2 388 fi 389 fi 390 # if [ X${ok_hf3h} = Xy ] ; then 391 # IGCM_comp_modifyXmlFile force file_def_histhf3h_lmdz.xml histhf3h enabled .TRUE. 392 # IGCM_comp_modifyXmlFile force file_def_histhf3h_lmdz.xml histhf3h output_freq 3h 393 # IGCM_comp_modifyXmlFile force file_def_histhf3h_lmdz.xml histhf3h name histhf3h 394 # fi 395 # if [ X${ok_hf3hm} = Xy ] ; then 396 # IGCM_comp_modifyXmlFile force file_def_histhf3hm_lmdz.xml histhf3hm enabled .TRUE. 397 # IGCM_comp_modifyXmlFile force file_def_histhf3hm_lmdz.xml histhf3hm output_freq 3h 398 # IGCM_comp_modifyXmlFile force file_def_histhf3hm_lmdz.xml histhf3hm name histhf3hm 399 # fi 400 if [ X${ok_stn} = Xy ] ; then 401 IGCM_comp_modifyXmlFile force file_def_histstn_lmdz.xml histstn enabled .TRUE. 402 IGCM_comp_modifyXmlFile force file_def_histstn_lmdz.xml histstn output_freq 1800s 403 IGCM_comp_modifyXmlFile force file_def_histstn_lmdz.xml histstn name histstn 404 fi 405 if [ X${LMDZ_NMC_monthly} = Xy ] ; then 406 IGCM_comp_modifyXmlFile force file_def_histmthNMC_lmdz.xml histmthNMC enabled .TRUE. 407 IGCM_comp_modifyXmlFile force file_def_histmthNMC_lmdz.xml histmthNMC output_freq 1mo 408 IGCM_comp_modifyXmlFile force file_def_histmthNMC_lmdz.xml histmthNMC name histmthNMC 409 fi 410 if [ X${LMDZ_NMC_daily} = Xy ] ; then 411 IGCM_comp_modifyXmlFile force file_def_histdayNMC_lmdz.xml histdayNMC enabled .TRUE. 412 IGCM_comp_modifyXmlFile force file_def_histdayNMC_lmdz.xml histdayNMC output_freq 1d 413 IGCM_comp_modifyXmlFile force file_def_histdayNMC_lmdz.xml histdayNMC name histdayNMC 414 fi 415 if [ X${LMDZ_NMC_hf} = Xy ] ; then 416 IGCM_comp_modifyXmlFile force file_def_histhfNMC_lmdz.xml histhfNMC enabled .TRUE. 417 IGCM_comp_modifyXmlFile force file_def_histhfNMC_lmdz.xml histhfNMC output_freq 6h 418 IGCM_comp_modifyXmlFile force file_def_histhfNMC_lmdz.xml histhfNMC name histhfNMC 419 fi 420 421 if [ X${LMDZ_COSP_OK} = Xy ] ; then 422 if [ X${LMDZ_COSP_monthly} = Xy ] ; then 423 IGCM_comp_modifyXmlFile force file_def_histmthCOSP_lmdz.xml histmthCOSP enabled .TRUE. 424 IGCM_comp_modifyXmlFile force file_def_histmthCOSP_lmdz.xml histmthCOSP output_freq 1mo 425 IGCM_comp_modifyXmlFile force file_def_histmthCOSP_lmdz.xml histmthCOSP name histmthCOSP 426 fi 427 if [ X${LMDZ_COSP_daily} = Xy ] ; then 428 IGCM_comp_modifyXmlFile force file_def_histdayCOSP_lmdz.xml histdayCOSP enabled .TRUE. 429 IGCM_comp_modifyXmlFile force file_def_histdayCOSP_lmdz.xml histdayCOSP output_freq 1d 430 IGCM_comp_modifyXmlFile force file_def_histdayCOSP_lmdz.xml histdayCOSP name histdayCOSP 431 fi 432 if [ X${LMDZ_COSP_hf} = Xy ] ; then 433 IGCM_comp_modifyXmlFile force file_def_histhfCOSP_lmdz.xml histhfCOSP enabled .TRUE. 434 IGCM_comp_modifyXmlFile force file_def_histhfCOSP_lmdz.xml histhfCOSP output_freq 6h 435 IGCM_comp_modifyXmlFile force file_def_histhfCOSP_lmdz.xml histhfCOSP name histhfCOSP 436 fi 437 fi 438 342 IGCM_comp_modifyXmlFile force file_def_histmth_lmdz.xml histmth output_level 5 343 IGCM_comp_modifyXmlFile force file_def_histday_lmdz.xml histday output_level 5 344 IGCM_comp_modifyXmlFile force file_def_histhf_lmdz.xml histhf output_level 5 345 #IGCM_comp_modifyXmlFile force file_def_histhf3h_lmdz.xml histhf3h output_level 5 346 #IGCM_comp_modifyXmlFile force file_def_histhf3hm_lmdz.xml histhf3hm output_level 5 347 IGCM_comp_modifyXmlFile force file_def_histstn_lmdz.xml histstn output_level 5 348 IGCM_comp_modifyXmlFile force file_def_histmthNMC_lmdz.xml histmthNMC output_level 5 349 IGCM_comp_modifyXmlFile force file_def_histdayNMC_lmdz.xml histdayNMC output_level 5 350 IGCM_comp_modifyXmlFile force file_def_histhfNMC_lmdz.xml histhfNMC output_level 5 351 IGCM_comp_modifyXmlFile force file_def_histmthCOSP_lmdz.xml histmthCOSP output_level 5 352 IGCM_comp_modifyXmlFile force file_def_histdayCOSP_lmdz.xml histdayCOSP output_level 5 353 IGCM_comp_modifyXmlFile force file_def_histhfCOSP_lmdz.xml histhfCOSP output_level 5 354 355 # FILLING XIOS XMLs 356 if [ X${ok_mensuel} = Xy ] ; then 357 IGCM_comp_modifyXmlFile force file_def_histmth_lmdz.xml histmth enabled .TRUE. 358 IGCM_comp_modifyXmlFile force file_def_histmth_lmdz.xml histmth output_freq 1mo 359 IGCM_comp_modifyXmlFile force file_def_histmth_lmdz.xml histmth name histmth 360 fi 361 if [ X${ok_journe} = Xy ] ; then 362 IGCM_comp_modifyXmlFile force file_def_histday_lmdz.xml histday enabled .TRUE. 363 IGCM_comp_modifyXmlFile force file_def_histday_lmdz.xml histday output_freq 1d 364 IGCM_comp_modifyXmlFile force file_def_histday_lmdz.xml histday name histday 365 if [ X${OutLevel} = Xlow ] || [ X${OutLevel} = Xmedium ] ; then 366 IGCM_comp_modifyXmlFile force file_def_histday_lmdz.xml histday output_level 2 367 fi 368 fi 369 if [ X${ok_hf} = Xy ] ; then 370 IGCM_comp_modifyXmlFile force file_def_histhf_lmdz.xml histhf enabled .TRUE. 371 IGCM_comp_modifyXmlFile force file_def_histhf_lmdz.xml histhf output_freq 6h 372 IGCM_comp_modifyXmlFile force file_def_histhf_lmdz.xml histhf name histhf 373 if [ X${OutLevel} = Xlow ] ; then 374 IGCM_comp_modifyXmlFile force file_def_histhf_lmdz.xml histhf output_level 5 375 elif [ X${OutLevel} = Xmedium ] ; then 376 IGCM_comp_modifyXmlFile force file_def_histhf_lmdz.xml histhf output_level 6 377 elif [ X${OutLevel} = Xhigh ] ; then 378 IGCM_comp_modifyXmlFile force file_def_histhf_lmdz.xml histhf output_level 7 379 fi 380 fi 381 if [ X${ok_hf3h} = Xy ] ; then 382 IGCM_comp_modifyXmlFile force file_def_histhf3h_lmdz.xml histhf3h enabled .TRUE. 383 IGCM_comp_modifyXmlFile force file_def_histhf3h_lmdz.xml histhf3h output_freq 3h 384 IGCM_comp_modifyXmlFile force file_def_histhf3h_lmdz.xml histhf3h name histhf3h 385 fi 386 if [ X${ok_hf3hm} = Xy ] ; then 387 IGCM_comp_modifyXmlFile force file_def_histhf3hm_lmdz.xml histhf3hm enabled .TRUE. 388 IGCM_comp_modifyXmlFile force file_def_histhf3hm_lmdz.xml histhf3hm output_freq 3h 389 IGCM_comp_modifyXmlFile force file_def_histhf3hm_lmdz.xml histhf3hm name histhf3hm 390 fi 391 if [ X${ok_stn} = Xy ] ; then 392 IGCM_comp_modifyXmlFile force file_def_histstn_lmdz.xml histstn enabled .TRUE. 393 IGCM_comp_modifyXmlFile force file_def_histstn_lmdz.xml histstn output_freq 1800s 394 IGCM_comp_modifyXmlFile force file_def_histstn_lmdz.xml histstn name histstn 395 fi 396 if [ X${LMDZ_NMC_monthly} = Xy ] ; then 397 IGCM_comp_modifyXmlFile force file_def_histmthNMC_lmdz.xml histmthNMC enabled .TRUE. 398 IGCM_comp_modifyXmlFile force file_def_histmthNMC_lmdz.xml histmthNMC output_freq 1mo 399 IGCM_comp_modifyXmlFile force file_def_histmthNMC_lmdz.xml histmthNMC name histmthNMC 400 fi 401 if [ X${LMDZ_NMC_daily} = Xy ] ; then 402 IGCM_comp_modifyXmlFile force file_def_histdayNMC_lmdz.xml histdayNMC enabled .TRUE. 403 IGCM_comp_modifyXmlFile force file_def_histdayNMC_lmdz.xml histdayNMC output_freq 1d 404 IGCM_comp_modifyXmlFile force file_def_histdayNMC_lmdz.xml histdayNMC name histdayNMC 405 fi 406 if [ X${LMDZ_NMC_hf} = Xy ] ; then 407 IGCM_comp_modifyXmlFile force file_def_histhfNMC_lmdz.xml histhfNMC enabled .TRUE. 408 IGCM_comp_modifyXmlFile force file_def_histhfNMC_lmdz.xml histhfNMC output_freq 6h 409 IGCM_comp_modifyXmlFile force file_def_histhfNMC_lmdz.xml histhfNMC name histhfNMC 410 fi 411 if [ X${LMDZ_COSP_OK} = Xy ] ; then 412 if [ X${LMDZ_COSP_monthly} = Xy ] ; then 413 IGCM_comp_modifyXmlFile force file_def_histmthCOSP_lmdz.xml histmthCOSP enabled .TRUE. 414 IGCM_comp_modifyXmlFile force file_def_histmthCOSP_lmdz.xml histmthCOSP output_freq 1mo 415 IGCM_comp_modifyXmlFile force file_def_histmthCOSP_lmdz.xml histmthCOSP name histmthCOSP 416 fi 417 if [ X${LMDZ_COSP_daily} = Xy ] ; then 418 IGCM_comp_modifyXmlFile force file_def_histdayCOSP_lmdz.xml histdayCOSP enabled .TRUE. 419 IGCM_comp_modifyXmlFile force file_def_histdayCOSP_lmdz.xml histdayCOSP output_freq 1d 420 IGCM_comp_modifyXmlFile force file_def_histdayCOSP_lmdz.xml histdayCOSP name histdayCOSP 421 fi 422 if [ X${LMDZ_COSP_hf} = Xy ] ; then 423 IGCM_comp_modifyXmlFile force file_def_histhfCOSP_lmdz.xml histhfCOSP enabled .TRUE. 424 IGCM_comp_modifyXmlFile force file_def_histhfCOSP_lmdz.xml histhfCOSP output_freq 6h 425 IGCM_comp_modifyXmlFile force file_def_histhfCOSP_lmdz.xml histhfCOSP name histhfCOSP 426 fi 439 427 fi 440 428 … … 481 469 482 470 ## run.def parameters 483 IGCM_comp_modifyDefFile blocker run.def dayref ${InitDay}484 IGCM_comp_modifyDefFile blocker run.def nday ${PeriodLengthInDays}485 IGCM_comp_modifyDefFile blocker run.def raz_date ${RAZ_DATE}486 IGCM_comp_modifyDefFile blocker run.def periodav ${LMDZ_periodav}487 IGCM_comp_modifyDefFile nonblocker run.def adjust 471 IGCM_comp_modifyDefFile blocker run.def dayref ${InitDay} 472 IGCM_comp_modifyDefFile blocker run.def nday ${PeriodLengthInDays} 473 IGCM_comp_modifyDefFile blocker run.def raz_date ${RAZ_DATE} 474 IGCM_comp_modifyDefFile blocker run.def periodav ${LMDZ_periodav} 475 IGCM_comp_modifyDefFile nonblocker run.def adjust ${LMDZ_adjust} 488 476 489 477 # Set anneeref different for gcm and ce0l … … 623 611 624 612 if [ X${lmdz_UserChoices_XIOS} = Xy ] ; then 625 # Add include of LMDZ context in iodef.xml 626 # In iodef.xml add on next line after "COMPONENT CONTEXT" 627 # <context id="LMDZ" src="./context_lmdz.xml"/> 628 echo '<context id="LMDZ" src="./context_lmdz.xml"/>' > add.tmp 629 cp iodef.xml iodef.xml.tmp 630 sed -e "/COMPONENT CONTEXT/r add.tmp" \ 631 iodef.xml.tmp > iodef.xml 632 rm iodef.xml.tmp add.tmp 613 # Add include of LMDZ context in iodef.xml 614 # In iodef.xml add on next line after "COMPONENT CONTEXT" 615 # <context id="LMDZ" src="./context_lmdz.xml"/> 616 echo '<context id="LMDZ" src="./context_lmdz.xml"/>' > add.tmp 617 cp iodef.xml iodef.xml.tmp 618 sed -e "/COMPONENT CONTEXT/r add.tmp" iodef.xml.tmp > iodef.xml 619 rm iodef.xml.tmp add.tmp 633 620 634 621 # Set ok_all_xml=y in run.def 635 636 else 637 638 622 IGCM_comp_modifyDefFile nonblocker run.def ok_all_xml y 623 else 624 # Deactivate ok_all_xml in run.def 625 IGCM_comp_modifyDefFile nonblocker run.def ok_all_xml n 639 626 fi 640 627 -
CONFIG/UNIFORM/v6/LMDZOR_v6/GENERAL/DRIVER/orchidee.driver
r2410 r2582 15 15 16 16 ##- Define variable DefSuffix set in orchidee.card 17 ## This variable is used in orchidee.card to choose 18 ## parameter file(orchidee.def_DefSuffix). 17 ## This variable is used in orchidee.card to choose 18 ## parameter file(orchidee.def_DefSuffix). 19 19 if [ ! X${orchidee_UserChoices_DefSuffix} = X ] ; then 20 20 DefSuffix=${orchidee_UserChoices_DefSuffix} 21 21 else 22 22 DefSuffix=Choi 23 23 fi 24 24 … … 33 33 # Activate STOMATE if the compontent SBG=stomate is set in config.card 34 34 if [ X${config_ListOfComponents_SBG} = Xstomate ] ; then 35 35 IGCM_comp_modifyDefFile blocker orchidee.def STOMATE_OK_STOMATE y 36 36 else 37 37 IGCM_comp_modifyDefFile blocker orchidee.def STOMATE_OK_STOMATE n 38 38 fi 39 39 40 typeset SECHIBA_WRITE_STEP 40 # Default init : files are desactivated 41 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .FALSE. 42 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba2 enabled .FALSE. 41 43 42 if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 43 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .FALSE. 44 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba2 enabled .FALSE. 45 IGCM_comp_modifyDefFile nonblocker orchidee.def XIOS_ORCHIDEE_OK y 46 else 47 IGCM_comp_modifyDefFile nonblocker orchidee.def XIOS_ORCHIDEE_OK n 48 fi 49 50 SRF_WriteFrequency=$( echo ${config_SRF_WriteFrequency} | sed -e 's/\([0-9]*[yYmMdDs]\).*/\1/' ) 44 SRF_WriteFrequency=$( echo ${config_SRF_WriteFrequency} | sed -e 's/\([0-9]*[yYmMdDs]\).*/\1/' ) 51 45 case ${SRF_WriteFrequency} in 52 *Y|*y) 53 WriteInYears=$( echo ${SRF_WriteFrequency} | awk -F '[yY]' '{print $1}' ) 54 PeriodLengthInYears=$( echo ${config_UserChoices_PeriodLength} | awk -F '[yY]' '{print $1}' ) 55 (( SECHIBA_WRITE_STEP = PeriodLengthInDays * WriteInYears / PeriodLengthInYears * 86400 )) 56 if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 57 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .TRUE. 58 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 output_freq ${WriteInYears}y 59 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 name sechiba_history 60 fi 61 ;; 62 1M) 63 if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 64 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .TRUE. 65 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 output_freq 1mo 66 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 name sechiba_history 67 fi 68 case ${config_UserChoices_PeriodLength} in 69 *Y|*y) 70 SECHIBA_WRITE_STEP=-1. 71 ;; 72 *M|*m) 73 SECHIBA_WRITE_STEP=-1. 74 ;; 75 *) 76 (( SECHIBA_WRITE_STEP = $( IGCM_date_DaysInMonth $year $month ) * 86400 )) 77 ;; 78 esac 79 ;; 80 *M|*m) 81 WriteInMonths=$( echo ${SRF_WriteFrequency} | awk -F '[mM]' '{print $1}' ) 82 if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 83 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .TRUE. 84 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 output_freq ${WriteInMonths}mo 85 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 name sechiba_history 86 fi 87 case ${config_UserChoices_PeriodLength} in 88 *Y|*y) 89 PeriodLengthInYears=$( echo ${config_UserChoices_PeriodLength} | awk -F '[yY]' '{print $1}' ) 90 (( SECHIBA_WRITE_STEP = PeriodLengthInDays * 86400 / PeriodLengthInYears / 12 )) 91 ;; 92 *M|*m) 93 PeriodLengthInMonths=$( echo ${config_UserChoices_PeriodLength} | awk -F '[mM]' '{print $1}' ) 94 (( SECHIBA_WRITE_STEP = PeriodLengthInDays * WriteInMonths * 86400 / PeriodLengthInMonths )) 95 ;; 96 *) 97 (( SECHIBA_WRITE_STEP = $( IGCM_date_DaysInMonth $year $month ) * 86400 )) 98 if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 99 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .TRUE. 100 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 output_freq ${SECHIBA_WRITE_STEP}s 101 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 name sechiba_history 102 fi 103 ;; 104 esac 105 ;; 106 5D|5d) 107 if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 108 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .TRUE. 109 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 output_freq 5d 110 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 name sechiba_history 111 fi 112 (( SECHIBA_WRITE_STEP = 5 * 86400 )) 113 ;; 114 1D|1d) 115 if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 116 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .TRUE. 117 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 output_freq 1d 118 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 name sechiba_history 119 fi 120 (( SECHIBA_WRITE_STEP = 86400 )) 121 ;; 122 *s) 123 WriteInSeconds=$( echo ${SRF_WriteFrequency} | awk -F '[s]' '{print $1}' ) 124 if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 125 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .TRUE. 126 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 output_freq ${WriteInSeconds}s 127 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 name sechiba_history 128 fi 129 (( SECHIBA_WRITE_STEP = WriteInSeconds )) ;; 130 *) 131 IGCM_debug_Exit "SRF_Update " ${SRF_WriteFrequency} " invalid WriteFrequency : choose in 1Y, 1M, 5D, 1D." 132 IGCM_debug_Verif_Exit ;; 46 *Y|*y) 47 WriteInYears=$( echo ${SRF_WriteFrequency} | awk -F '[yY]' '{print $1}' ) 48 PeriodLengthInYears=$( echo ${config_UserChoices_PeriodLength} | awk -F '[yY]' '{print $1}' ) 49 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .TRUE. 50 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 output_freq ${WriteInYears}y 51 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 name sechiba_history 52 ;; 53 *M|*m) 54 WriteInMonths=$( echo ${SRF_WriteFrequency} | awk -F '[mM]' '{print $1}' ) 55 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .TRUE. 56 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 output_freq ${WriteInMonths}mo 57 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 name sechiba_history 58 ;; 59 5D|5d) 60 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .TRUE. 61 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 output_freq 5d 62 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 name sechiba_history 63 ;; 64 1D|1d) 65 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .TRUE. 66 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 output_freq 1d 67 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 name sechiba_history 68 ;; 69 *s) 70 WriteInSeconds=$( echo ${SRF_WriteFrequency} | awk -F '[s]' '{print $1}' ) 71 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .TRUE. 72 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 output_freq ${WriteInSeconds}s 73 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 name sechiba_history 74 ;; 75 *) 76 IGCM_debug_Exit "SRF_Update " ${SRF_WriteFrequency} " invalid WriteFrequency : choose in 1Y, 1M, 5D, 1D." 77 IGCM_debug_Verif_Exit ;; 133 78 esac 134 79 135 #Use of XIOS ouputs only 136 137 if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 138 (( SECHIBA_WRITE_STEP = 0 )) 80 # Outputs HF in HISTFILE2 if required. Output frequency is 3 hours by default. 81 if [ X${SRF_ok_hf} = Xy ] ; then 82 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba2 enabled .TRUE. 83 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba2 output_freq 10800s 84 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba2 name sechiba_out_2 139 85 fi 140 IGCM_comp_modifyDefFile nonblocker orchidee.def WRITE_STEP ${SECHIBA_WRITE_STEP}141 IGCM_comp_modifyDefFile nonblocker orchidee.def SECHIBA_HISTLEVEL ${orchidee_UserChoices_sechiba_LEVEL}142 143 # Outputs HF in HISTFILE2 if required144 if [ X${SRF_ok_hf} = Xy ] ; then145 IGCM_comp_modifyDefFile nonblocker orchidee.def SECHIBA_HISTFILE2 y146 if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then147 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba2 enabled .TRUE.148 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba2 output_freq 10800s149 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba2 name sechiba_out_2150 fi151 else152 IGCM_comp_modifyDefFile nonblocker orchidee.def SECHIBA_HISTFILE2 n153 fi154 IGCM_comp_modifyDefFile nonblocker orchidee.def SECHIBA_HISTLEVEL2 1155 IGCM_comp_modifyDefFile nonblocker orchidee.def WRITE_STEP2 10800.0156 86 157 87 if ( [ ${CumulPeriod} -ne 1 ] || [ "${config_SRF_Restart}" != "n" ] ) ; then 158 88 IGCM_comp_modifyDefFile blocker orchidee.def SECHIBA_restart_in sechiba_rest_in.nc 159 89 else 160 90 IGCM_comp_modifyDefFile blocker orchidee.def SECHIBA_restart_in NONE 161 91 fi 162 92 163 # Modify in orchidee.def VEGET_UPDATE and LAND_COVER_CHANGE if they are set in orchidee.card section UserChoices93 # Modify in orchidee.def VEGET_UPDATE and LAND_COVER_CHANGE if they are set in orchidee.card section UserChoices 164 94 if [ ! X${orchidee_UserChoices_VEGET_UPDATE} = X ] ; then 165 95 IGCM_comp_modifyDefFile nonblocker orchidee.def VEGET_UPDATE ${orchidee_UserChoices_VEGET_UPDATE} 166 96 else 167 97 IGCM_comp_modifyDefFile nonblocker orchidee.def VEGET_UPDATE 0Y 168 98 fi 169 99 if [ ! X${orchidee_UserChoices_LAND_COVER_CHANGE} = X ] ; then 170 100 IGCM_comp_modifyDefFile nonblocker orchidee.def LAND_COVER_CHANGE ${orchidee_UserChoices_LAND_COVER_CHANGE} 171 101 else 172 102 IGCM_comp_modifyDefFile nonblocker orchidee.def LAND_COVER_CHANGE n 173 103 fi 174 104 … … 176 106 #IGCM_sys_Put_Out ${RUN_DIR}/run.def ${R_SAVE}/${PREFIX}_run.def 177 107 178 #Temporary way to fix bug on cimean variable179 IGCM_comp_modifyXmlFile force field_def_orchidee.xml cimean enabled .FALSE. 108 #Temporary way to fix bug on cimean variable 109 IGCM_comp_modifyXmlFile force field_def_orchidee.xml cimean enabled .FALSE. 180 110 181 if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then182 111 # Add include of orchidee context in iodef.xml 183 112 # In iodef.xml add on next line after "COMPONENT CONTEXT" 184 113 # <context id="orchidee" src="./context_orchidee.xml"/> 185 echo '<context id="orchidee" src="./context_orchidee.xml"/>' > add.tmp 186 cp iodef.xml iodef.xml.tmp 187 sed -e "/COMPONENT CONTEXT/r add.tmp" \ 188 iodef.xml.tmp > iodef.xml 189 rm iodef.xml.tmp add.tmp 190 fi 114 echo '<context id="orchidee" src="./context_orchidee.xml"/>' > add.tmp 115 cp iodef.xml iodef.xml.tmp 116 sed -e "/COMPONENT CONTEXT/r add.tmp" iodef.xml.tmp > iodef.xml 117 rm iodef.xml.tmp add.tmp 191 118 192 119 IGCM_debug_PopStack "SRF_Update" -
CONFIG/UNIFORM/v6/LMDZOR_v6/GENERAL/DRIVER/stomate.driver
r2341 r2582 9 9 10 10 RESOL_SBG=ALL 11 11 12 12 IGCM_debug_PopStack "SBG_Initialize" 13 13 } … … 18 18 IGCM_debug_PushStack "SBG_Update" 19 19 20 typeset STOMATE_WRITE_STEP 20 # Default init : files are desactivated 21 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 enabled .FALSE. 22 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 enabled .FALSE. 21 23 22 if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then23 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 enabled .FALSE.24 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 enabled .FALSE.25 fi26 24 case ${config_SBG_WriteFrequency} in 27 *Y|*y) 28 WriteInYears=$( echo ${config_SBG_WriteFrequency} | awk -F '[yY]' '{print $1}' ) 29 PeriodLengthInYears=$( echo ${config_UserChoices_PeriodLength} | awk -F '[yY]' '{print $1}' ) 30 (( STOMATE_WRITE_STEP = PeriodLengthInDays * WriteInYears / PeriodLengthInYears )) 31 if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 32 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 enabled .TRUE. 33 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 output_freq ${WriteInYears}y 34 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 name stomate_history 35 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 enabled .TRUE. 36 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 output_freq ${WriteInYears}y 37 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 name stomate_ipcc_history 38 39 fi 40 ;; 41 1M|1m) 42 if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 43 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 enabled .TRUE. 44 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 output_freq 1mo 45 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 name stomate_history 46 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 enabled .TRUE. 47 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 output_freq 1mo 48 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 name stomate_ipcc_history 49 fi 50 case ${config_UserChoices_PeriodLength} in 51 *Y|*y) 52 STOMATE_WRITE_STEP=-1. 53 ;; 54 *M|*m) 55 STOMATE_WRITE_STEP=-1. 56 ;; 57 *) 58 (( STOMATE_WRITE_STEP = $( IGCM_date_DaysInMonth $year $month ) )) ;; 59 esac 60 ;; 61 *M|*m) 62 WriteInMonths=$( echo ${config_SBG_WriteFrequency} | awk -F '[mM]' '{print $1}' ) 63 if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 64 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 enabled .TRUE. 65 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 output_freq ${WriteInMonths}mo 66 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 name stomate_history 67 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 enabled .TRUE. 68 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 output_freq ${WriteInMonths}mo 69 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 name stomate_ipcc_history 70 fi 71 case ${config_UserChoices_PeriodLength} in 72 *Y|*y) 73 PeriodLengthInYears=$( echo ${config_UserChoices_PeriodLength} | awk -F '[yY]' '{print $1}' ) 74 (( STOMATE_WRITE_STEP = 30 )) 75 ;; 76 *M|*m) 77 PeriodLengthInMonths=$( echo ${config_UserChoices_PeriodLength} | awk -F '[mM]' '{print $1}' ) 78 (( STOMATE_WRITE_STEP = PeriodLengthInDays * WriteInMonths / PeriodLengthInMonths )) 79 ;; 80 *) 81 (( STOMATE_WRITE_STEP = $( IGCM_date_DaysInMonth $year $month ) )) 82 if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 83 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 enabled .TRUE. 84 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 output_freq ${STOMATE_WRITE_STEP}s 85 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 name stomate_history 86 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 enabled .TRUE. 87 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 output_freq ${STOMATE_WRITE_STEP}s 88 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 name stomate_ipcc_history 89 fi 90 ;; 91 esac 92 ;; 93 5D|5d) 94 (( STOMATE_WRITE_STEP = 5 )) 95 if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 96 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 enabled .TRUE. 97 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 output_freq 5d 98 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 name stomate_history 99 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 enabled .TRUE. 100 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 output_freq 5d 101 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 name stomate_ipcc_history 102 fi 103 ;; 104 1D|1d) 105 (( STOMATE_WRITE_STEP = 1 )) 106 if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 107 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 enabled .TRUE. 108 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 output_freq 1d 109 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 name stomate_history 110 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 enabled .TRUE. 111 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 output_freq 1d 112 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 name stomate_ipcc_history 113 fi 114 ;; 115 *s) 116 WriteInSeconds=$( echo ${config_SBG_WriteFrequency} | awk -F '[s]' '{print $1}' ) 117 if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then 118 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .TRUE. 119 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 output_freq ${WriteInSeconds}s 120 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 name sechiba_history 121 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 enabled .TRUE. 122 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 output_freq ${WriteInSeconds}s 123 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 name stomate_ipcc_history 124 fi 125 (( STOMATE_WRITE_STEP = 1 )) ;; 126 *) 127 IGCM_debug_Exit "SBG_Update " ${config_SBG_WriteFrequency} " invalid WriteFrequency : choose in 1Y, 1M, 5D, 1D." 128 IGCM_debug_Verif_Exit ;; 25 *Y|*y) 26 WriteInYears=$( echo ${config_SBG_WriteFrequency} | awk -F '[yY]' '{print $1}' ) 27 PeriodLengthInYears=$( echo ${config_UserChoices_PeriodLength} | awk -F '[yY]' '{print $1}' ) 28 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 enabled .TRUE. 29 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 output_freq ${WriteInYears}y 30 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 name stomate_history 31 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 enabled .TRUE. 32 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 output_freq ${WriteInYears}y 33 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 name stomate_ipcc_history 34 ;; 35 *M|*m) 36 WriteInMonths=$( echo ${config_SBG_WriteFrequency} | awk -F '[mM]' '{print $1}' ) 37 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 enabled .TRUE. 38 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 output_freq ${WriteInMonths}mo 39 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 name stomate_history 40 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 enabled .TRUE. 41 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 output_freq ${WriteInMonths}mo 42 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 name stomate_ipcc_history 43 ;; 44 5D|5d) 45 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 enabled .TRUE. 46 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 output_freq 5d 47 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 name stomate_history 48 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 enabled .TRUE. 49 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 output_freq 5d 50 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 name stomate_ipcc_history 51 ;; 52 1D|1d) 53 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 enabled .TRUE. 54 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 output_freq 1d 55 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate1 name stomate_history 56 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 enabled .TRUE. 57 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 output_freq 1d 58 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 name stomate_ipcc_history 59 ;; 60 *s) 61 WriteInSeconds=$( echo ${config_SBG_WriteFrequency} | awk -F '[s]' '{print $1}' ) 62 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 enabled .TRUE. 63 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 output_freq ${WriteInSeconds}s 64 IGCM_comp_modifyXmlFile force file_def_orchidee.xml sechiba1 name sechiba_history 65 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 enabled .TRUE. 66 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 output_freq ${WriteInSeconds}s 67 IGCM_comp_modifyXmlFile force file_def_orchidee.xml stomate2 name stomate_ipcc_history 68 ;; 69 *) 70 IGCM_debug_Exit "SBG_Update " ${config_SBG_WriteFrequency} " invalid WriteFrequency : choose in 1Y, 1M, 5D, 1D." 71 IGCM_debug_Verif_Exit ;; 129 72 esac 130 73 131 132 #Use of XIOS library only133 134 if [ X${orchidee_UserChoices_XIOS} = Xy ] ; then135 (( STOMATE_WRITE_STEP = 0 ))136 fi137 138 IGCM_comp_modifyDefFile nonblocker orchidee.def STOMATE_HIST_DT ${STOMATE_WRITE_STEP}139 IGCM_comp_modifyDefFile nonblocker orchidee.def STOMATE_HISTLEVEL ${stomate_UserChoices_stomate_LEVEL}140 141 74 if ( [ ${CumulPeriod} -eq 1 ] && [ "${config_SBG_Restart}" = "n" ] ) ; then 142 143 75 echo "STOMATE : without restart" 76 IGCM_comp_modifyDefFile blocker orchidee.def STOMATE_RESTART_FILEIN NONE 144 77 else 145 78 IGCM_comp_modifyDefFile blocker orchidee.def STOMATE_RESTART_FILEIN stomate_rest_in.nc 146 79 fi 147 80 … … 156 89 157 90 if [ $( IGCM_date_DaysBetweenGregorianDate ${PeriodDateEnd} ${year}1230 ) -ge 0 ] ; then 158 159 160 # 161 # 91 IGCM_sys_Put_Out stomate_Cforcing.nc ${R_OUT_SBG_R}/${config_UserChoices_JobName}_${PeriodDateEnd}_stomate_Cforcing.nc 92 IGCM_sys_Put_Out stomate_forcing.nc ${R_OUT_SBG_R}/${config_UserChoices_JobName}_${PeriodDateEnd}_stomate_forcing.nc 93 # rm -f stomate_Cforcing.nc 94 # rm -f stomate_forcing.nc 162 95 fi 163 96 -
CONFIG/UNIFORM/v6/LMDZOR_v6/GENERAL/PARAM/orchidee.def_CWRR
r2415 r2582 20 20 # Use XIOS for writing diagnostics file 21 21 # defulat = n 22 XIOS_ORCHIDEE_OK = _AUTO_ 23 24 # Flag to activate sechiba_out_2.nc history file for SECHIBA 25 # default = FALSE 26 SECHIBA_HISTFILE2 = _AUTO_ 27 28 # SECHIBA history output level (0..10) 29 # default = 5 30 SECHIBA_HISTLEVEL = _AUTO_ 31 32 # SECHIBA history 2 output level (0..10) 33 # default = 1 34 SECHIBA_HISTLEVEL2 = _AUTO_ 35 36 # STOMATE history output level (0..10) 37 # default = 10 38 STOMATE_HISTLEVEL = _AUTO_ 22 XIOS_ORCHIDEE_OK = y 39 23 40 24 # Writefrequency in seconds in sechiba_history.nc 41 25 # default = 86400.0 42 WRITE_STEP = _AUTO_ 43 44 # Writefrequency in seconds sechiba_out_2.nc 45 # default = 1800.0 46 WRITE_STEP2 = _AUTO_ 47 48 # Writefrequency in days in stomate_history.nc 49 # default = 10. 50 STOMATE_HIST_DT = _AUTO_ 51 52 # Writefrequency in days or -1 for monthly output in stomate_ipcc_history.nc 53 # default = 0. 54 STOMATE_IPCC_HIST_DT = -1 55 26 WRITE_STEP = 0 56 27 57 28 # Hydrology parameters … … 72 43 # default = n 73 44 RIVER_ROUTING = y 74 75 45 76 46 #************************************************************************** -
CONFIG/UNIFORM/v6/LMDZOR_v6/GENERAL/PARAM/orchidee.def_Choi
r2415 r2582 20 20 # Use XIOS for writing diagnostics file 21 21 # defulat = n 22 XIOS_ORCHIDEE_OK = _AUTO_ 23 24 # Flag to activate sechiba_out_2.nc history file for SECHIBA 25 # default = FALSE 26 SECHIBA_HISTFILE2 = _AUTO_ 27 28 # SECHIBA history output level (0..10) 29 # default = 5 30 SECHIBA_HISTLEVEL = _AUTO_ 31 32 # SECHIBA history 2 output level (0..10) 33 # default = 1 34 SECHIBA_HISTLEVEL2 = _AUTO_ 35 36 # STOMATE history output level (0..10) 37 # default = 10 38 STOMATE_HISTLEVEL = _AUTO_ 22 XIOS_ORCHIDEE_OK = y 39 23 40 24 # Writefrequency in seconds in sechiba_history.nc 41 25 # default = 86400.0 42 WRITE_STEP = _AUTO_ 43 44 # Writefrequency in seconds sechiba_out_2.nc 45 # default = 1800.0 46 WRITE_STEP2 = _AUTO_ 47 48 # Writefrequency in days in stomate_history.nc 49 # default = 10. 50 STOMATE_HIST_DT = _AUTO_ 51 52 # Writefrequency in days or -1 for monthly output in stomate_ipcc_history.nc 53 # default = 0. 54 STOMATE_IPCC_HIST_DT = -1 55 26 WRITE_STEP = 0 56 27 57 28 # Hydrology parameters … … 72 43 # default = n 73 44 RIVER_ROUTING = y 74 75 45 76 46 #**************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.