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