wradlib.georef.raster.read_gdal_values

wradlib.georef.raster.read_gdal_values(dataset=None, nodata=None)

Read values from a gdal object.

Parameters
  • dataset (gdal.Dataset) – raster image with georeferencing

  • nodata (float) – replace nodata values

Returns

values (numpy.ndarray) – Array of shape (nrows, ncols) or (nbands, nrows, ncols) containing the data values.

Examples

See Clutter detection by using space-born cloud images.