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 (nrows, ncols, 2) containing pixel center coordinates or Array of shape (nrows+1, ncols+1, 2) containing pixel edge 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 (