CLI Reference#
Adapt command structure: adapt <command> [options]
adapt run-nexrad # run the processing pipeline
adapt config # generate a config.yaml template
adapt dashboard # open the GUI dashboard
adapt run-nexrad#
Download and process NEXRAD Level-II data from AWS S3.
adapt run-nexrad [config.yaml] --radar KLOT --mode realtime
adapt run-nexrad [config.yaml] --radar KDIX --base-dir /data \
--start-time 2025-03-05T15:00:00Z \
--end-time 2025-03-05T18:00:00Z
Positional argument#
Argument |
Description |
|---|---|
|
Path to a config file ( |
Options#
Flag |
Default |
Description |
|---|---|---|
|
— |
4-letter NEXRAD site code, e.g. |
|
|
|
|
— |
Start of historical window, ISO 8601 (e.g. |
|
— |
End of historical window, ISO 8601 |
|
— |
Root output directory for all artifacts |
|
— |
Resume a previous run by ID (format: |
|
— |
Stop after this many minutes (realtime mode only) |
|
off |
Delete existing output for this radar before starting |
|
off |
Disable the plot consumer thread |
|
|
How often the plot consumer checks for new data (seconds) |
|
off |
Open a live window showing plots as they are produced |
|
off |
Enable DEBUG-level logging |
Mode selection logic#
If --start-time or --end-time is supplied, mode is automatically set to historical
even if --mode is not given explicitly.
adapt config#
Write a commented YAML configuration template to disk.
adapt config # writes ./config.yaml
adapt config /path/to/my.yaml # writes to a specific path
Argument |
Description |
|---|---|
|
Destination path. Defaults to |
The generated file includes all tunable parameters with inline comments.
Edit it, then pass it as the first argument to adapt run-nexrad.
adapt dashboard#
Launch the read-only GUI dashboard.
adapt dashboard
adapt dashboard --repo ~/adapt_output
Flag |
Description |
|---|---|
|
Pre-populate the repository path field in the GUI. |
The dashboard reads from an existing output repository. It does not start or affect a running pipeline. Run it in a second terminal while the pipeline runs.