windkit.sector.create_direction_coords
- windkit.sector.create_direction_coords(nsec=None, direction=None)[source]
Create wind direction coordinate as a DataArray
Wind direction coordinates use “sector” as their dimension, but represent a single wind direction rather than a sectoral region.
- Parameters:
- Returns:
dir_da – Data array with direction coordinates.
- Return type: