Io Neon Legacy¶
Module: spectralbridge.io.neon_legacy.
Direct-module reference; consult the linked workflow for processing context.
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.
NeonPaths
dataclass
¶
NeonPaths(reflectance: str, wavelength: str, fwhm: Optional[str], solar_zenith: Optional[str], sensor_zenith: Optional[str])
Group legacy NEON HDF5 dataset locations for reflectance, wavelengths and ancillary metadata.
Audience: advanced.
detect_legacy_neon_schema ¶
detect_legacy_neon_schema(h5: File) -> bool
Heuristically detect pre-2021 NEON AOP DP1.30006 HDF5 layout. Legacy signals (any True -> legacy): - Spectral wavelength dataset capitalized as 'Wavelength' not 'wavelength' - FWHM capitalized 'FWHM' not 'fwhm' - Angle metadata capitalized: 'to-sun_Zenith_Angle', 'to-sensor_Zenith_Angle'
Audience: advanced.
resolve_neon_paths ¶
resolve_neon_paths(h5: File) -> NeonPaths
Return canonical dataset paths that work for both legacy and modern files.