Running ehthops
Launching the pipeline
Arguments are passed only to the 0.launch step which sets environment variables used by the other scripts.
Some of the arguments define environment variables and are set using SET_ENVVAR=VALUE syntax.
The rest of the arguments are passed to the pipeline as command-line arguments.
The launch script can be run with the -h option to display all available options.
The fastest and the simplest way to launch the pipeline is to use the ehthops_pipeline.sh script which runs
all stages of the pipeline in sequence. This script can be used with a configuration file (e.g., settings.config)
that defines the environment variables and command-line arguments for the launch stage. On a SLURM cluster,
the pipeline can be launched by submitting the ehthops_slurm.job script with appropriate modifications.
The maximum number of concurrent fourfit jobs can be set using SET_JOBARRAY_CAP in settings.config.
Some notes on the environment variables and running the stages manually (the following are taken care of automatically by scripts/ehthops_pipeline.sh):
0.launchattempts to set reasonable defaults for the environment variables if they are not specified. We recommend setting/verifying the values of at leastSRCDIR,CORRDAT,METADIR, andOBSYEARevery time0.launchis run.In stages 0 to 5,
SRCDIRpoints to the top level directory that hosts the archival data. In stage 6,SRCDIRmust point to the directory5.+close/datain the current band.If not starting from
0.bootstrap, ensure that0.launchand9.nextare run before stage 1 (1.+flags+wins). This copies all relevant scripts and control files.The user can set
SHRDIRto any directory containing runnablemarimonotebooks to replace the default notebooks provided.The
METADIRis expected to be organized according to the description given in the Metadata organization section.
Todo
Instructions to run as Docker image to be added.
Helper scripts
The ehthops/scripts directory contains several helper scripts:
ehthops_pipeline.shruns all stages of the pipeline, applicable to any band. It is a good starting point to quickly start running the pipeline.settings.configprovides a sample configuration that can be updated and passed toehthops_pipeline.sh.ehthops_slurm.jobcan be used to submit the pipeline to a SLURM cluster with appropriate modifications.cleanup.shdeletes all data generated during a previous run and leaves the working area in a clean state.