Changeset 2511 for CONFIG/UNIFORM/v6_rc0/IPSLCM6/GENERAL/DRIVER
- Timestamp:
- 05/07/15 17:24:54 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6_rc0/IPSLCM6/GENERAL/DRIVER/lmdz.driver
r2343 r2511 338 338 339 339 # XIOS XML definition 340 if [ X${lmdz_UserChoices_XIOS} = Xy ] ; then 340 341 # Default init : files are desactivated 341 342 IGCM_comp_modifyXmlFile force file_def_histmth_lmdz.xml histmth enabled .FALSE. … … 348 349 IGCM_comp_modifyXmlFile force file_def_histdayNMC_lmdz.xml histdayNMC enabled .FALSE. 349 350 IGCM_comp_modifyXmlFile force file_def_histhfNMC_lmdz.xml histhfNMC enabled .FALSE. 350 if [ X${lmdz_UserChoices_XIOS} = Xy ] ; then 351 IGCM_comp_modifyXmlFile force file_def_histmthCOSP_lmdz.xml histmthCOSP enabled .FALSE. 352 IGCM_comp_modifyXmlFile force file_def_histdayCOSP_lmdz.xml histdayCOSP enabled .FALSE. 353 IGCM_comp_modifyXmlFile force file_def_histhfCOSP_lmdz.xml histhfCOSP enabled .FALSE. 354 351 355 # Default output level : 5 352 IGCM_comp_modifyXmlFile force file_def_histmth_lmdz.xml histmth output_level 5 353 IGCM_comp_modifyXmlFile force file_def_histday_lmdz.xml histday output_level 5 354 IGCM_comp_modifyXmlFile force file_def_histhf_lmdz.xml histhf output_level 5 355 # IGCM_comp_modifyXmlFile force file_def_histhf3h_lmdz.xml histhf3h output_level 5 356 # IGCM_comp_modifyXmlFile force file_def_histhf3hm_lmdz.xml histhf3hm output_level 5 357 IGCM_comp_modifyXmlFile force file_def_histstn_lmdz.xml histstn output_level 5 358 IGCM_comp_modifyXmlFile force file_def_histmthNMC_lmdz.xml histmthNMC output_level 5 359 IGCM_comp_modifyXmlFile force file_def_histdayNMC_lmdz.xml histdayNMC output_level 5 360 IGCM_comp_modifyXmlFile force file_def_histhfNMC_lmdz.xml histhfNMC 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 361 368 # Filling of XML files 362 369 if [ X${ok_mensuel} = Xy ] ; then … … 411 418 IGCM_comp_modifyXmlFile force file_def_histhfNMC_lmdz.xml histhfNMC name histhfNMC 412 419 fi 420 if [ X${LMDZ_COSP_monthly} = Xy ] ; then 421 IGCM_comp_modifyXmlFile force file_def_histmthCOSP_lmdz.xml histmthCOSP enabled .TRUE. 422 IGCM_comp_modifyXmlFile force file_def_histmthCOSP_lmdz.xml histmthCOSP output_freq 1mo 423 IGCM_comp_modifyXmlFile force file_def_histmthCOSP_lmdz.xml histmthCOSP name histmthCOSP 424 fi 425 if [ X${LMDZ_COSP_daily} = Xy ] ; then 426 IGCM_comp_modifyXmlFile force file_def_histdayCOSP_lmdz.xml histdayCOSP enabled .TRUE. 427 IGCM_comp_modifyXmlFile force file_def_histdayCOSP_lmdz.xml histdayCOSP output_freq 1d 428 IGCM_comp_modifyXmlFile force file_def_histdayCOSP_lmdz.xml histdayCOSP name histdayCOSP 429 fi 430 if [ X${LMDZ_COSP_hf} = Xy ] ; then 431 IGCM_comp_modifyXmlFile force file_def_histhfCOSP_lmdz.xml histhfCOSP enabled .TRUE. 432 IGCM_comp_modifyXmlFile force file_def_histhfCOSP_lmdz.xml histhfCOSP output_freq 6h 433 IGCM_comp_modifyXmlFile force file_def_histhfCOSP_lmdz.xml histhfCOSP name histhfCOSP 434 fi 435 413 436 fi 414 437 … … 416 439 # Modification of variable iphysiq depending on the physics 417 440 if [ X${LMDZ_Physics} = X"AP" ] ; then 418 value=10 419 else 441 if [ ${RESOL_ATM_3D} = 96x95x39 ]; then 442 value=10 443 elif [ ${RESOL_ATM_3D} = 144x142x39 ]; then 444 value=15 445 else 446 IGCM_debug_Print 1 "LMDZ_Physics=${LMDZ_Physics} has not been tested for the current resolution RESOL_ATM_3D=${RESOL_ATM_3D}. " 447 IGCM_debug_Print 1 "iphysiq must be defined for the current combination of resolution and phyiscs package" 448 IGCM_debug_Exit "You need to add a special case in lmdz.driver to handle the above combination." 449 fi 450 elif [ X${LMDZ_Physics} = X"NPv3.1" ] ; then 451 if [ ${RESOL_ATM_3D} = 96x95x39 ] ; then 452 value=5 453 elif [ ${RESOL_ATM_3D} = 144x142x39 ] ; then 454 value=5 455 else 456 IGCM_debug_Print 1 "LMDZ_Physics=${LMDZ_Physics} has not been tested for the current resolution RESOL_ATM_3D=${RESOL_ATM_3D}. " 457 IGCM_debug_Print 1 "iphysiq must be defined for the current combination of resolution and phyiscs package" 458 IGCM_debug_Exit "You need to add a special case in lmdz.driver to handle the above combination." 459 fi 460 elif [ X${LMDZ_Physics} = X"NPv3.2" ] ; then 461 if [ ${RESOL_ATM_3D} = 96x95x39 ] ; then 462 value=5 463 elif [ ${RESOL_ATM_3D} = 144x142x39 ] ; then 464 value=5 465 elif [ ${RESOL_ATM_3D} = 128x118x39 ] ; then 466 value=15 467 else 468 IGCM_debug_Print 1 "LMDZ_Physics=${LMDZ_Physics} has not been tested for the current resolution RESOL_ATM_3D=${RESOL_ATM_3D}. " 469 IGCM_debug_Print 1 "iphysiq must be defined for the current combination of resolution and phyiscs package" 470 IGCM_debug_Exit "You need to add a special case in lmdz.driver to handle the above combination." 471 fi 472 else 473 # Take default value set in gcm.def 420 474 value=DEFAULT 421 475 fi 422 476 IGCM_comp_modifyDefFile nonblocker gcm.def iphysiq $value 423 477 424 478 425 479 ## run.def parameters … … 437 491 IGCM_comp_modifyDefFile blocker run.def anneeref ${year} 438 492 IGCM_comp_modifyDefFile blocker run.def calend ${CalendarTypeForCreate} 493 494 # Temporary, set use_filtre_fft=n because we now use dyn3d for ce0l version where fft is not implemented. 495 # In more recent versions of LMDZ, this will not be needed. 496 IGCM_comp_modifyDefFile force run.def use_filtre_fft n 439 497 else 440 498 # for case gcm : take first year of simulation … … 570 628 iodef.xml.tmp > iodef.xml 571 629 rm iodef.xml.tmp add.tmp 630 631 # Set ok_all_xml=y in run.def 632 IGCM_comp_modifyDefFile nonblocker run.def ok_all_xml y 633 else 634 # Deactivate ok_all_xml in run.def 635 IGCM_comp_modifyDefFile nonblocker run.def ok_all_xml n 572 636 fi 573 637
Note: See TracChangeset
for help on using the changeset viewer.