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
bandsBands to load, defaults to All
chunksChunk size in pixels in
Y, Xorderchunks_as_dictReturn chunks in dictionary form.
crsProjection to use, leave as
Nonefor nativeepsgReturn EPSG code of crs if it was configured, else
None.methodMethod to use for loading:
odc-stac|stackstacpatch_urlAccepts
planetary_computer.signresamplingSet resampling method when reprojecting at load
resolutionResolution, leave as
Nonefor nativescenarioName for this scenario
extraExtra params per
method