geeViz.eeCatalogHelpers.properties

Image property and nodata resolution helpers.

Functions

build_image_properties(...)

Build image properties from declarative field and lookup mappings.

coerce_nodata_value(value)

Normalize nodata values to native numeric types where possible.

resolve_lookup_value(record, value_key[, ...])

Resolve a value key with optional alias support from a lookup record.

resolve_property_value(spec, context)

Resolve one property spec item using raw, callable, or lookup syntax.

geeViz.eeCatalogHelpers.properties.coerce_nodata_value(value: Any) → Any[source]

Normalize nodata values to native numeric types where possible.

geeViz.eeCatalogHelpers.properties.resolve_lookup_value(record: dict[str, Any], value_key: str, default: Any = None) → Any[source]

Resolve a value key with optional alias support from a lookup record.

geeViz.eeCatalogHelpers.properties.resolve_property_value(spec: Any, context: dict[str, Any]) → Any[source]

Resolve one property spec item using raw, callable, or lookup syntax.

geeViz.eeCatalogHelpers.properties.build_image_properties(image_property_fields: list[str], image_property_lookups: dict[str, Any], image_context: dict[str, Any]) → dict[str, Any][source]

Build image properties from declarative field and lookup mappings.