xugrid.UgridDataArrayAccessor.rasterize# UgridDataArrayAccessor.rasterize(resolution: float) → DataArray[source]# Rasterize unstructured grid by sampling. Parameters: resolution (float) – Spacing in x and y. Returns: rasterized Return type: xr.DataArray