- class stackstac.rio_env.LayeredEnv(always, open=None, open_vrt=None, read=None)#
Manage GDAL configuration options for different situations (always, opening, reading).
rasterio.Envfor each situation with
layered_env.read, etc. To ensure thread-safety, each thread accessing these properties gets its own thread-local copy of a
Options are layered as follows:
always: the base set of options
- __init__(always, open=None, open_vrt=None, read=None)#
__init__(always[, open, open_vrt, read])
updated([always, open, open_vrt, read])
Duplicate this LayeredEnv, adding additional options for each situation.
rasterio.Envobject to use while opening datasets
rasterio.Envobject to use while opening VRTs
rasterio.Envobject to use while reading from datasets