wradlib.georef.raster.create_raster_dataset¶
-
wradlib.georef.raster.create_raster_dataset(data, coords, projection=None, nodata=-9999)¶ Create In-Memory Raster Dataset
Parameters: - data (
numpy.ndarray) – Array of shape (rows, cols) or (bands, rows, cols) containing the data values. - coords (
numpy.ndarray) – Array of shape (rows, cols, 2) containing xy-coordinates. - projection (osr object) – Spatial reference system of the used coordinates, defaults to None.
- nodata (int) – Value of NODATA
Returns: dataset (gdal.Dataset) – In-Memory raster dataset
Note
The origin of the provided data and coordinates is UPPER LEFT.
- data (