odc.stac.RasterLoadParams

class odc.stac.RasterLoadParams(dtype=None, fill_value=None, src_nodata_fallback=None, src_nodata_override=None, use_overviews=True, resampling='nearest', fail_on_error=True)[source]

Captures data loading configuration.

__init__(dtype=None, fill_value=None, src_nodata_fallback=None, src_nodata_override=None, use_overviews=True, resampling='nearest', fail_on_error=True)

Methods

__init__([dtype, fill_value, …])

same_as(src)

Construct from source object.

Attributes

dtype

Output dtype, default same as source.

fail_on_error

Quit on the first error or continue.

fill_value

Value to use for missing pixels.

nearest

Report True if nearest resampling is used.

resampling

Resampling method to use.

src_nodata_fallback

Fallback nodata marker for source.

src_nodata_override

Override nodata marker for source.

use_overviews

Disable use of overview images.