xugrid.Ugrid2d.create_data_array#
- Ugrid2d.create_data_array(data: Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes], facet: str) UgridDataArray [source]#
Create a UgridDataArray from this grid and a 1D array of values.
- Parameters:
- Returns:
uda
- Return type: