CLI Reference¶
Every pycWB command with its most common options. Run pycwb --help or
pycwb <command> --help for the full list.
Search & Analysis¶
pycwb run <user_parameters.yaml>
Run a single search locally.
pycwb flow <user_parameters.yaml>
Run a search through the Prefect flow wrapper (advanced).
pycwb online <config.yaml>
Run a live streaming gravitational-wave search.
Batch Submission¶
pycwb batch-setup <user_parameters.yaml> [OPTIONS]
Generate HTCondor or SLURM submission scripts.
--cluster condor|slurm Batch system (required)
--submit Submit immediately after generating
--work-dir PATH Working directory (default: .)
--conda-env NAME Conda environment on worker node
--n-proc N CPUs per job
--memory SIZE Memory per job (e.g. 6GB)
--disk SIZE Disk per job (e.g. 8GB)
--job-per-worker N Jobs bundled per worker script
--accounting-group GROUP HTCondor accounting group
--container-image URI Container image (condor)
--walltime TIME SLURM wall-clock limit (e.g. 72:00:00)
--slurm-partition NAME SLURM partition
--slurm-constraint FEAT SLURM node constraint
--n-retries N App-level retries (SLURM, default 5)
--list-n-jobs Print job count, don't submit
--force-overwrite Overwrite existing job directories
pycwb config-setup <workdir> [OPTIONS]
Create a project from a configuration repository.
--config-base-path PATH Path to config repo
--machine NAME Machine profile (machine/<name>.yaml)
--datatype TYPE Data source (gwosc, igwn-osg, local)
--cluster condor|slurm Submission backend
--submit Submit after setup
--dry-run Preview without writing files
(+ all batch-setup options)
pycwb clone-dir <source> <target>
Clone an existing directory layout to a new working directory.
Postproduction¶
pycwb post-process <workflow.yaml>
Run a post-production workflow (background, XGBoost, efficiency).
--diagram-only Print dependency graph, don't run
pycwb simulation-summary <user_parameters.yaml> [OPTIONS]
Build a per-simulation summary Parquet file.
--work-dir PATH Working directory
--output PATH Output file path
pycwb match-simulations <catalog> <simulations> [OPTIONS]
Match trigger catalogs to simulation summaries.
--how outer|inner|right Match type (default: right)
--output PATH Output file path
Data & Utilities¶
pycwb gwosc <event_name> [OPTIONS]
Download GWOSC data and set up an event analysis.
pycwb gwosc-data <user_parameters.yaml>
Download GWOSC data for an existing user-parameter file.
pycwb get-external-modules <user_parameters.yaml>
Fetch configured external modules.
pycwb merge <catalog|wave> <input>... <output>
Merge catalog or wave files.
pycwb xtalk <input> <output>
Convert an xtalk file between formats.
pycwb progress [OPTIONS]
Summarize run progress from catalog/progress Parquet files.
--work-dir PATH Working directory
All Commands (Alphabetical)¶
Command |
Description |
|---|---|
|
Run one batch job payload |
|
Generate HTCondor or SLURM batch scripts |
|
Clone an existing directory layout |
|
Create project from config repository and optionally submit |
|
Run search through Prefect flow wrapper |
|
Fetch configured external modules |
|
Download GWOSC data and set up event analysis |
|
Download GWOSC data for existing user-parameter file |
|
Match trigger catalogs to simulation summaries |
|
Merge catalog or wave files |
|
Run live streaming gravitational-wave search |
|
Run post-production workflow |
|
Summarize run progress from Parquet files |
|
Run a single search locally |
|
Build per-simulation summary Parquet file |
|
Convert xtalk file between formats |
See Also¶
Run on Clusters — full batch submission guide with YAML config examples
Post-Production Workflow Guide — YAML workflow structure and step reference
Analysis Recipes — ready-to-run workflows using these commands