windkit.sector.create_sector_coords_from_edges

windkit.sector.create_sector_coords_from_edges(sectors_array)[source]

Create sector coordinates from an array of sector edges.

Create a data array with the sector centers, ceiling and floor.

Parameters:

wsbins (numpy.ndarray or array_like) – 1D array with sector edges.

Returns:

cen_da – Data array with sector edges.

Return type:

xarray.DataArray