Qa Runner¶
Module: spectralbridge.qa.runner.
Rebuild stage QA from an already completed canonical flightline directory.
API glossary ยท Workflow / scientific context
Signatures and documentation below are collected from the current source. Advanced objects are not newly declared stable by inclusion here.
Audience: public. Also exported as spectralbridge.qa.run_completed_flightline_qa.
run_completed_flightline_qa ¶
run_completed_flightline_qa(flightline_dir: Path, *, mode: str = 'standard', force: bool = False, topo_fit_mode: str = 'scene') -> dict[str, Any]
Generate every applicable stage report from existing real artifacts.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
flightline_dir
|
Path
|
Existing canonical completed flightline directory containing stage artifacts and QA sidecars. |
required |
mode
|
str
|
Diagnostic coverage level, normally 'standard' or 'deep'; existing artifacts are inspected without rerunning correction. |
'standard'
|
force
|
bool
|
Regenerate the requested outputs instead of reusing an otherwise valid checkpoint or report. |
False
|
topo_fit_mode
|
str
|
Topographic fit mode passed to correction/QA; the default 'scene' retains the existing scene-wide fit. |
'scene'
|
Returns:
| Type | Description |
|---|---|
dict[str, Any]
|
Mapping of applicable stage IDs to their QA report results, generated only from existing artifacts. |
Raises:
| Type | Description |
|---|---|
FileNotFoundError
|
If a required source or completed artifact is absent. |
See Also
spectralbridge.qa.metrics.reflectance_summary : Related source-derived API contract.