easysnowdata.providers.gdal_env#

easysnowdata.providers.gdal_env(*, cloud_defaults: bool = True, lazy: bool = True, **options: Any) Iterator[dict[str, Any]][source]#

Apply GDAL options for the duration of the block (and to lazy reads).

Parameters:
  • cloud_defaults – Start from CLOUD_DEFAULTS.

  • lazy – Also register the options with odc-stac (configure_rio) so Dask chunk reads scheduled inside the block — and on a distributed client, if one exists — see them later.

  • **options – Extra GDAL configuration options; None values are dropped.

Yields:

dict – The effective options.