stackstac.reader_protocol.Reader

class stackstac.reader_protocol.Reader(*args, **kwargs)

Protocol for a thread-safe, lazily-loaded object for reading data from a single-band STAC asset.

__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(*args, **kwargs)

Initialize self.

close()

Close all resources for the Dataset.

read(window)

Read a portion of data from the Dataset as a NumPy array.