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