-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Labels
Description
Issue JP-1894 was created on JIRA by Edward Slavich:
Implement the "stpipe run" CLI subcommand. Here is the tentative help output for the command:
$ ./stpipe run -h
usage: stpipe run [-h] [--config <path>] [-d] [-p <name>=<value>] [-v] <class> <input-file>
run a step or pipeline
positional arguments:
<class> step or pipeline class name (case-insensitive, module path may be omitted for unique class names)
<input-file> input dataset or association
optional arguments:
-h, --help show this help message and exit
--config <path> config file (use 'stpipe print-config' to save and edit the default config)
-d, --debug debug logging (DEBUG level)
-p <name>=<value> override an individual step or pipeline parameter (use 'stpipe describe' to list available parameters)
-v, --verbose verbose logging (INFO level)
examples:
run a pipeline with default parameters recommended by CRDS:
stpipe run jwst.pipeline.Detector1Pipeline dataset.fits
run a pipeline with parameters specified in a local config:
stpipe run --config config.asdf jwst.pipeline.Detector1Pipeline dataset.fits
override an individual pipeline parameter:
stpipe run -p save_calibrated_ramp=true jwst.pipeline.Detector1Pipeline dataset.fits
override an individual step parameter:
stpipe run -p jump.rejection_threshold=3.0 jwst.pipeline.Detector1Pipeline dataset.fitsSee #8 for more discussion.