windkit.io.wasp.read_owc#
- windkit.io.wasp.read_owc(filepath)[source]#
Read an .owc/.omwc XML file and return parsed data with normalized frequencies.
- Parameters:
filepath (str or Path) – Path to the .owc or .omwc file.
- Returns:
Dictionary with keys: - “wsfreq”: ndarray(n_wsbins, n_sectors) - wind speed frequencies (0-1) - “wdfreq”: ndarray(n_sectors) - wind direction frequencies (0-1) - “wsbins”: ndarray(n_wsbins+1) - wind speed bin edges - “coords”: dict with “south_north”, “west_east”, “height” - “metadata”: dict with “description”
- Return type: