windkit.sector

Routines for working with the sector coordinate.

Functions

create_direction_coords([nsec, direction])

Create wind direction coordinate as a DataArray

create_sector_coords(nsec)

Create wind sector coordinate as a data array.

create_sector_coords_from_edges(sectors_array)

Create sector coordinates from an array of sector edges.

create_ws_bin_coords([bin_width, nws])

Create wind speed bins coordinates from a bin width and a number of bins.

create_ws_bin_coords_from_values(wsbins)

Create wind speed bins coordinates from an array of bins.