get_chip#
- get_chip(raster_source: RasterSource, window: Box, nodata_value: float | None = 0) numpy.ndarray | None [source]#
Return chip or None if all values are NODATA.
- Parameters:
raster_source (RasterSource) –
window (Box) –
nodata_value (float | None) –
- Return type:
numpy.ndarray | None