Command-Line Interface (CLI)¶
<p class="sb-kicker">Usage</p>
<h1>Command-Line Interface</h1>
<p class="sb-doc-lead">The CLI provides restart-safe entry points for downloading NEON flightlines, running the full pipeline, generating QA outputs, and repairing missing intermediate products.</p>
<p class="sb-doc-note">Legacy CLI aliases still forward to the same implementation, but the primary command names are <code>spectralbridge-*</code>.</p>
<p class="sb-kicker">Entry points</p>
<h2>Available commands</h2>
<div class="sb-doc-grid sb-doc-grid--two">
<article class="sb-doc-card">
<h3><code>spectralbridge-download</code></h3>
<p>Download NEON HDF5 flightlines into a workspace.</p>
</article>
<article class="sb-doc-card">
<h3><code>spectralbridge-pipeline</code></h3>
<p>Run the full NEON processing pipeline end to end.</p>
</article>
<article class="sb-doc-card">
<h3><code>spectralbridge-qa</code></h3>
<p>Re-render QA PNG/JSON outputs for processed flightlines.</p>
</article>
<article class="sb-doc-card">
<h3><code>spectralbridge-recover-raw</code></h3>
<p>Backfill raw ENVI exports when corrected outputs already exist.</p>
</article>
<article class="sb-doc-card">
<h3><code>spectralbridge-qa-summary</code></h3>
<p>Build a multi-page PDF summary of recursive drone QA PNG outputs.</p>
</article>
<article class="sb-doc-card">
<h3><code>spectralbridge-merge-duckdb</code></h3>
<p>Merge per-product parquet outputs into a flightline-level master table.</p>
</article>
spectralbridge-download SOAP \
--year-month 2021-06 \
--flight NEON_D17_SOAP_DP1_L057-1_20210615_directional_reflectance \
--output data
spectralbridge-pipeline \
--base-folder output_demo \
--site-code NIWO \
--year-month 2023-08 \
--product-code DP1.30006.001 \
--flight-lines NEON_D13_NIWO_DP1_L020-1_20230815_directional_reflectance \
--engine thread \
--max-workers 2
spectralbridge-qa --base-folder output_demo --quick
spectralbridge-recover-raw \
--base-folder output_demo \
--brightness-offset 0.0
spectralbridge-qa-summary drone_outputs --output-pdf drone_outputs/qa_summary.pdf
spectralbridge-merge-duckdb --help