libera_utils.scene_identification.scene_id_algorithm.run_scene_identification#
- libera_utils.scene_identification.scene_id_algorithm.run_scene_identification(fmatch_file_path: str | Path | S3Path, config: SceneIdRunnerConfig) FootprintData#
Classify all footprints in a single input file into scene IDs.
- Parameters:
fmatch_file_path (str | pathlib.Path | cloudpathlib.S3Path) – Path (local or S3) to an input NetCDF file (a CERES SSF placeholder or a FMATCH product).
config (SceneIdRunnerConfig) – Runner parameters supplying the reader and scene types.
- Returns:
The processed footprint data, with derived variables and scene IDs added, plus the observation-time variable used as the product’s time axis.
- Return type:
Notes
The reader (
from_ceres_ssf()/from_fmatch_cam_camtime()) opens the file throughsmart_open(), so local and S3 inputs are handled uniformly.