stackstac.reader_protocol.FakeReader

class stackstac.reader_protocol.FakeReader(*, dtype, fill_value, **kwargs)

Fake Reader that just returns random numbers.

Meant for performance debugging, to isolate whether performance issues are due to rasterio, or inherent to the dask graph.

__init__(*, dtype, fill_value, **kwargs)

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

Methods

__init__(*, dtype, fill_value, **kwargs)

Initialize self.

close()

rtype

None

read(window, **kwargs)

rtype

np.ndarray