windkit.spatial.to_stacked_point

windkit.spatial.to_stacked_point(obj)[source]

Converts a WindKit dataset or dataarray to a ‘stacked_point’ structure

Parameters:

obj (xarray.Dataset, xarray.DataArray) – WindKit xarray.Dataset or DataArray containing spatial dimensions and CRS variable

Returns:

WindKit xarray dataset or dataarray as a ‘stacked_point’ structure

Return type:

xarray.Dataset, xaray.DataArray