windkit.wwc_to_file
- windkit.wwc_to_file(wwc, filename, *, file_format='infer', **kwargs)[source]
Write a weibull wind climate dataset to a file.
- Parameters:
wwc (xarray.Dataset) – Weibull wind climate dataset.
filename (str or pathlib.Path) – Path to the file to write the dataset to.
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”, and “nc”. Defaults to “infer”.
**kwargs – Additional keyword arguments passed to the write function