wradlib.georef.raster.read_gdal_coordinates¶
-
wradlib.georef.raster.
read_gdal_coordinates
(dataset, mode='centers', z=True)¶ Get the projected coordinates from a GDAL dataset.
Parameters: - dataset (gdal.Dataset) – raster image with georeferencing
- mode (string) – either ‘centers’ or ‘borders’
- z (boolean) – True to get height coordinates (zero).
Returns: coordinates (
numpy.ndarray
) – Array of projected coordinates (x,y,z)Examples