windkit.read_wwc

windkit.read_wwc(filename, *, file_format='infer', **kwargs)[source]

Read a weibull wind climate dataset from a file.

Parameters:
  • filename (str or pathlib.Path) – Path to the file to read the dataset from.

  • file_format (str) – File format of the file. If “infer”, the file format is inferred from the file extension. Supported file formats are “rsf”, “wrg”, “grd”, and “nc”. Defaults to “infer”.

  • **kwargs – Additional keyword arguments passed to the read function

Returns:

Weibull wind climate dataset.

Return type:

xarray.Dataset