Skip to content

Bulk Flightline Outputs

Module: spectralbridge.bulk.flightline_outputs.

Discovery plus explicit legacy materialization for completed outputs.

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: advanced.

ProductValidationError

ProductValidationError(reason_code: str, detail: str)

Validation failure with a stable machine-readable reason code.

Audience: advanced.

find_canonical_flightline_directories

find_canonical_flightline_directories(input_path: str | Path, *, exclude_dir: str | Path | None = None, identity_parsers: Sequence[FlightlineIdentityParser] = DEFAULT_IDENTITY_PARSERS) -> list[Path]

Find scientifically identifiable flightline directories recursively.

Audience: advanced.

discover_completed_flightlines

discover_completed_flightlines(input_path: str | Path, *, exclude_dir: str | Path | None = None, analysis_profile: str | AnalysisProfile = 'translation', product_registry: ProductRegistry = DEFAULT_PRODUCT_REGISTRY, identity_parsers: Sequence[FlightlineIdentityParser] = DEFAULT_IDENTITY_PARSERS, sensors: Sequence[str] | None = None, translation_pairs: Sequence[str | TranslationPair] | None = None) -> tuple[list[SourceFileRecord], list[FlightlineRecord]]

Inventory identifiable flightlines without reading raster pixels.

Audience: advanced.

extract_flightline_cache

extract_flightline_cache(flightline: FlightlineRecord, paths: BulkAnalysisPaths, *, analysis_run_id: str, chunk_size: int, translation_pairs: Sequence[TranslationPair], force: bool = False) -> tuple[SourceFileRecord, FlightlineRecord]

Explicitly create or reuse a legacy pixel-level observation cache.

Explicitly exported constants and type aliases

These values describe package metadata, schemas or configuration; they are not observations from a production dataset.

Name Source expression
EXTRACTION_SCHEMA_VERSION 1