xugrid.UgridDatasetAccessor.rasterize#

UgridDatasetAccessor.rasterize(resolution: float) Dataset[source]#

Rasterize all face data on 2D unstructured grids by sampling.

Parameters:

resolution (float) – Spacing in x and y.

Returns:

rasterized

Return type:

xr.Dataset