stackstac.rio_reader.AutoParallelRioReader#
- class stackstac.rio_reader.AutoParallelRioReader(*, url, spec, resampling, dtype, fill_value, scale_offset, gdal_env=None, errors_as_nodata=())#
rasterio-based Reader that picks the appropriate concurrency mechanism after opening the file.
After opening the
urland seeing which GDAL driver it uses, it’ll useThreadLocalRioDataset(full concurrency, but higher memory usage) if the driver is inMULTITHREADED_DRIVER_ALLOWLIST, otherwiseSingleThreadedRioDatasetfor non-thread-safe drivers.- __init__(*, url, spec, resampling, dtype, fill_value, scale_offset, gdal_env=None, errors_as_nodata=())#
Methods
__init__(*, url, spec, resampling, dtype, ...)close()- rtype:
None
read(window, **kwargs)- rtype:
Attributes
dataset