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, dims=())[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, dims=())

Methods

__init__([dtype, fill_value, ...])

patch(**kwargs)

Return a new object with updated fields.

same_as(src)

Construct from source object.

Attributes

dims

Dimension names for this band.

dtype

Output dtype, default same as source.

extra_dims

Non-spatial dimension names.

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.

ydim

Index of y dimension, typically 0.