geeViz.eeCatalogHelpers.discovery

Recursive TIFF discovery.

Functions

build_image_dict(image_folder, name_format, ...)

Discover matching TIFFs recursively and build geeViz ingest entries.

geeViz.eeCatalogHelpers.discovery.build_image_dict(image_folder: str | Path, name_format: str, pyramiding_policies: Mapping[str, Any], nodata_values: Mapping[str, Any], gcs_prefix: str, normalize_attribute_name: Callable[[str], str] | None = None, include_attribute: Callable[[str], bool] | None = None, resolve_duplicate_band: Callable[[str, Path, Path], Path | None] | None = None) → dict[str, dict[str, Any]][source]

Discover matching TIFFs recursively and build geeViz ingest entries.

name_format must contain an {attribute} placeholder. Dataset-owned normalization and filtering rules can be supplied as callbacks.