pysepal.mapping.visualization.get_viz_params_async#
- async pysepal.mapping.visualization.get_viz_params_async(ee_object, gee_interface)[source]#
Asynchronously retrieve and process visualization parameters for a given Earth Engine object.
- Parameters:
ee_object (ComputedObject) – The Earth Engine object (Image, FeatureCollection, etc.) to process.
gee_interface (GEEInterface) – The interface to read the object’s properties through. Required since 4.0: this used to build its own on a miss, which read the machine’s credentials rather than the caller’s identity and leaked an event-loop thread on every call, because the interface was never closed.
- Returns:
A tuple containing the processed image, object, and visualization parameters.
- Raises:
AttributeError – If the provided Earth Engine object is not of a recognized type.
- Return type:
tuple