curryer.correction

Correction module for iterative geolocation alignment.

Provides tools for Monte Carlo-style correction loops, image matching against ground control points, PSF modelling, and error statistics.

Sub-module layout

config

Config models (GeolocationSetup, Sweep, OutputConfig, ParameterConfig, etc.) and the ParameterType enum.

io_config

NetCDF output configuration and standard attribute definitions (NetCDFConfig, NetCDFParameterMetadata, DEFAULT_NETCDF_ATTRIBUTES).

parameters

Random parameter-set generation (load_param_sets()).

kernel_ops

SPICE kernel creation and telemetry/time-offset application.

results_io

NetCDF result file read/write and checkpoint support.

pipeline

Main loop() orchestration and all per-iteration helpers. Preferred-name aliases: run_correction(), run_image_matching(), compute_error_stats(). run_correction() also accepts CorrectionInput objects.

grid_types

Pure grid data containers (ImageGrid, PSFGrid, …).

dataio

Validation helpers and S3 data-access utilities. The S3 utilities (S3Configuration, find_netcdf_objects, download_netcdf_objects) are optional convenience helpers for mission-specific data pipelines; the core correction API does not depend on them.

error_stats

Error statistics computation (ErrorStatsProcessor).

image_match

Image-matching algorithm (integrated_image_match).

io

Unified path resolution (resolve_path). Transparently handles local paths and S3 URIs (s3://…) when boto3 is installed. Optional convenience — the public API contract is local Path objects; S3 support is opt-in.

pairing

Ground-control-point pairing utilities.

psf

Point-spread-function modelling.

search

Image-search / correlation routines.

verification

Standalone geolocation compliance check (verify()).

Submodules