libera_utils.scene_identification.scene_id_algorithm.scene_id_cli_handler#

libera_utils.scene_identification.scene_id_algorithm.scene_id_cli_handler(parsed_args: Namespace) → Path | S3Path#

Run the SCENE-ID variant selected by LIBERA_SCENE_ID_VARIANT from an input manifest.

Parameters:

parsed_args (argparse.Namespace) – Parsed CLI arguments. Uses parsed_args.manifest (the input manifest path).

Returns:

Path to the written output manifest file.

Return type:

pathlib.Path | cloudpathlib.S3Path

Raises:

ValueError – If LIBERA_SCENE_ID_VARIANT is not set or names no SCENE-ID variant.