td_run_all_local module¶
Look for all unfinished tomodirs in the present directory (and subdirectories), and run them subsequently by calling CRmod/CRTomo. The number of cores to use can be specified using a command line option.
Note that this script does not allow any kind of parallel calling of CRTomo, or remote execution of inversions.
This file is self-contained: it does not need any additional python scripts, and can thus be also used without installing crtomo-tools. The only requirement is that CRMod/CRTomo is available in the $PATH variable, i.e., that CRMod/CRTomo can be called.
- td_run_all_local.check_if_needs_inversion(tomodir)[source]¶
check of we need to run CRTomo in a given tomodir
- td_run_all_local.check_if_needs_modeling(tomodir)[source]¶
check of we need to run CRMod in a given tomodir