Skip to content

Io Neon Schema

Module: spectralbridge.io.neon_schema.

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.

NeonResolved dataclass

NeonResolved(ds_reflectance: Dataset, ds_wavelength: Dataset, ds_fwhm: Optional[Dataset], ds_sun_zen: Optional[Dataset], ds_sensor_zen: Optional[Dataset], is_legacy: bool)

References to key NEON HDF5 datasets and legacy flag.

Audience: advanced.

detect_legacy

detect_legacy(h5: File | Group) -> bool

Return True when the legacy (pre-2021) NEON schema is detected.

Audience: advanced.

resolve

resolve(h5: File | Group) -> NeonResolved

Return dataset handles for reflectance, wavelength, FWHM, and angles.

Audience: advanced.

canonical_vectors

canonical_vectors(nr: NeonResolved) -> Tuple[np.ndarray, Optional[np.ndarray], Optional[np.ndarray], Optional[np.ndarray]]

Load spectral/angle vectors in canonical float32 units.