easysnowdata.utils.get_stac_cfg#

easysnowdata.utils.get_stac_cfg(sensor: str = 'sentinel-2-l2a') dict[source]#

Return an ODC-STAC band configuration dict for common sensors.

Parameters:

sensor (str, optional) – Sensor identifier. Supported values: "sentinel-2-l2a", "HLSL30_2.0", "HLSS30_2.0". Default is "sentinel-2-l2a".

Returns:

dict – STAC configuration dict suitable for odc.stac.load(stac_cfg=...).

Raises:

ValueError – If sensor is not a recognised identifier.