| 514 | |
| 515 | Whether the analytical spinup will be used or not is set in COMP/stomate.card by the parameter SPINUP_ANALYTIC. By default the SPINUP_PERIOD is calculated as the length of the time series used in cyclic_begin and cyclic_end as set in the config.card. This calculation is done in the COMP/stomate.driver |
| 516 | {{{ |
| 517 | ### Begin Code in COMP/stomate.driver |
| 518 | if [ X${stomate_UserChoices_SPINUP_ANALYTIC} = Xy ] ; then |
| 519 | IGCM_comp_modifyDefFile nonblocker orchidee.def SPINUP_ANALYTIC y |
| 520 | |
| 521 | # Test if CyclicBegin and CyclicEnd is set in config.card |
| 522 | if ( [ X${config_UserChoices_CyclicBegin} = X ] || [ X${config_UserChoices_CyclicEnd} = X ] ) ; then |
| 523 | IGCM_debug_Exit "CyclicBegin and CyclicEnd must be set in config.card to run option spinup_analytic." |
| 524 | fi |
| 525 | # Calculate and set number of years of forcing data |
| 526 | CycleNb=$(( ${config_UserChoices_CyclicEnd} - ${config_UserChoices_CyclicBegin} + 1 )) |
| 527 | IGCM_comp_modifyDefFile nonblocker orchidee.def SPINUP_PERIOD ${CycleNb} |
| 528 | else |
| 529 | IGCM_comp_modifyDefFile nonblocker orchidee.def SPINUP_ANALYTIC n |
| 530 | IGCM_comp_modifyDefFile nonblocker orchidee.def SPINUP_PERIOD -1 |
| 531 | fi |
| 532 | ### End Code in COMP/stomate.driver |
| 533 | }}} |
| 534 | |
| 535 | The calculated value can be overwritten by setting SPINUP_PERIOD in PARAM/orchidee.def. |
| 536 | |
| 537 | In rXXXX a pre-spinup was introduced as SPINUP_ANALYTIC_FG0 and SPINUP_ANALYTIC_FG0nd. The purpose of the pre-spinup is to break the synchronicity of neighboring pixels. With FG0, all pixels will be zero years old at t=0 of the FG1 spinup. Because neighboring pixels often experience the same climate and have the same soil properties they will all mature and die within the same decade. This results in some cyclic NBP for some PFTs. FG0 is run for 200 years and within this 200 years each pixel x PFT is cut once at random (the random cutting is prescribed through a map and is therefore reproducible). This random cutting breaks the synchronicity of neighboring pixels and is thought to result quicker in a more stable steady-state (to be confimed). |