odc.stac.bench.BenchLoadParams
- class odc.stac.bench.BenchLoadParams(scenario='', method='odc-stac', chunks=(2048, 2048), bands=None, resolution=None, crs=None, resampling=None, patch_url=None, extra=<factory>)[source]
Per experiment configuration.
- __init__(scenario='', method='odc-stac', chunks=(2048, 2048), bands=None, resolution=None, crs=None, resampling=None, patch_url=None, extra=<factory>)
Methods
__init__
([scenario, method, chunks, bands, ...])compute_args
([method])Translate into call arguments for a given method.
from_json
(json_text)Construct from JSON string.
to_json
([indent])Convert to JSON string.
with_method
(method)Replace method field only.
Attributes
bands
Bands to load, defaults to All
chunks
Chunk size in pixels in
Y, X
orderchunks_as_dict
Return chunks in dictionary form.
crs
Projection to use, leave as
None
for nativeepsg
Return EPSG code of crs if it was configured, else
None
.method
Method to use for loading:
odc-stac|stackstac
patch_url
Accepts
planetary_computer.sign
resampling
Set resampling method when reprojecting at load
resolution
Resolution, leave as
None
for nativescenario
Name for this scenario
extra
Extra params per
method