Skip to main content

ScanProcessor

Trait ScanProcessor 

Source
pub trait ScanProcessor {
    // Required methods
    fn name(&self) -> &str;
    fn process_scan(
        &self,
        scan: &Scan,
        fields: &[SweepField],
    ) -> Result<Vec<SweepField>>;
}
Expand description

Processes fields with full scan context (multiple elevations).

This trait is for algorithms that need to consider data across elevations, such as velocity dealiasing.

No built-in implementations are provided. This trait is an extension point for downstream crates to implement scan-level processing algorithms.

Required Methods§

Source

fn name(&self) -> &str

A human-readable name for this processor.

Source

fn process_scan( &self, scan: &Scan, fields: &[SweepField], ) -> Result<Vec<SweepField>>

Process sweep fields using the full scan context.

Takes the scan metadata and all sweep fields for the relevant product, returning a new set of processed fields (one per input field).

Implementors§