Changes between Version 16 and Version 17 of Documentation/UserGuide/FLUXNETValidation
- Timestamp:
- 2019-12-12T09:29:53+01:00 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/UserGuide/FLUXNETValidation
v16 v17 69 69 17) SPIN_OptionsStomate from ${}/COMP/spinup.driver sets the values of SPINUP_ANALYTIC, TimeSeriesVars3D and TimeSeriesVars2D in ${}/STOI/COMP/sechiba.card, as well as the values of FORCESOIL_STEP_PER_YEAR, STOMATE_FORCING_NAME, and STOMATE_CFORCING_NAME in ${}/STOI/PARAM/run.def. 70 70 18) Execute the STOI run 71 72 Sometimes, the scripts replace variables by values found in the various .card and .def files. Othertimes, the variables are added onto the end. This distinction is important if you get an error saying that a variable appears multiple times. 71 73 72 74 == Practical steps == … … 215 217 NINPUT_UPDATE=0Y 216 218 NINPUT_SUFFIX_YEAR = n 219 220 (remove the following lines, otherwise ORCHIDEE will not find a land point for any site outside of this window) 221 LIMIT_WEST=8 222 LIMIT_NORTH=48 223 LIMIT_SOUTH=46 224 LIMIT_EAST=10 225 217 226 }}} 218 227 … … 317 326 (make sure the following are in run.def and not in orchidee.def) 318 327 328 STOMATE_IMPOSE_CN = _AUTO_ 319 329 SECHIBA_restart_in = _AUTOBLOCKER_ 320 330 STOMATE_RESTART_FILEIN = _AUTOBLOCKER_ … … 329 339 STOMATE_OK_STOMATE = _AUTOBLOCKER_ 330 340 NINPUT_UPDATE = _AUTO_ 341 342 (now copy the files) 343 cp PARAM/*def ../SPINUP/SUBJOB/OOL_SEC_STO/PARAM/ 331 344 }}} 332 345 Notice that SPINUP_PERIOD and SPINUP_ANALYTIC had to be deleted from orchidee.def, but we already had them in run.def since we copied them from fluxnet.card. 333 346 334 347 Note that we can not use the analytical spinup at the present. In order to use the analytical spinup, we need to make sure CyclicBegin and CyclicEnd appear in the ${}/STOI/config.card, as ${}/STOI/COMP/stomate.card checks for these values. I have not yet figured out how to do that. 348 349 Some variables appear in fluxnet.card, but they are also special variables having an AUTO value in orchidee.def (that we moved to param.def). Therefore, remove the following lines from FLUXNET/fluxnet.card and PARAM/run.def (if they exist). We remove the _AUTO_ value of SPINUP_PERIOD since we attempt to calculate that in an automatic way using 350 a different variable in Job_ENSEMBLE, as opposed to in SPINUP/COMP/spinup.driver. 351 {{{ 352 NINPUT_UPDATE=0Y 353 SPINUP_ANALYTIC=y 354 SPINUP_PERIOD = _AUTO_ 355 XIOS_ORCHIDEE_OK=n 356 357 (now copy the file) 358 cp PARAM/run.def ../SPINUP/SUBJOB/OOL_SEC_STO/PARAM/ 359 }}} 335 360 336 361 Launch the job (from the README file). … … 458 483 which leads to libIGCM getting confused. The solution is to replace "10Y" in the line above with "NONE". You must then go into the config/ORCHIDEE_OL/SPINUP directory, remove the Job_JOBNAME file, and redo the ../../../libIGCM/ins_job command to create a new Job_JOBNAME file. 459 484 485 Another error: 486 {{{ 487 IGCM_debug_Exit : IGCM_comp_modifyDefFile : Error in run.def: Variable=STOMATE_HIST_DT is set 2 times 488 }}} 489 Either you added a variable to FLUXNET/PARAM/run.def and forgot to delete it from FLUXNET/PARAM/orchidee.def or FLUXNET/PARAM/orchidee_pft.def_28pft.1ac, OR the variable appears in FLUXNET/PARAM/*def and it gets added to the run.def by the ensemble (doesn't appear to be possible, even if there is a line written in the run.def indicating it happens...the script crashes if the option doesn't already exist) or spinup (SubJobParams in ${}/COMP/spinup.card or ${}/COMP/spinup.driver). 490 460 491 == Cleaning == 461 492 If an ENSEMBLE run crashes, it can sometimes be difficult to clean up all the files so that you can easily relaunch the run after figuring out what went wrong. In particular, each site creates a new directory, which can add up to a lot of directories. It's possible that some of your runs overlap, too (i.e., they use the same base directory, but the current run only uses forested sites, while a different run used agricultural sites). There may be a libIGCM tool that does this well, but if you aren't familiar with it, here is a short script that works. Copy it to your submission directory (i.e., where you launch the ./Job_ENSEMBLE script), make it executable (e.g., chmod +x clean.sh), and launch it before re-launching the run (e.g., ./clean.sh).