windkit.gwc_to_file

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

Write generalized wind climate to file.

Parameters:
  • gwc (xarray.Dataset) – Generalized wind climate dataset.

  • filename (str or Path) – File path to write to.

  • file_format (str) – File format to write to. Supported formats are ‘lib’. Default value is ‘infer’ which will infer the file format from the file extension.

  • kwargs (dict) – Additional arguments to pass to the file writer.