windkit.generalized_wind_climate

Generalized wind climate module

This module contains the various functions for working with generalized wind climates.

Currently this only supports creating gwc datasets from .lib files or from NetCDF files. In the future we will also support the ability to read in .gwc files.

Functions

interpolate_gwc(gwc, /, output_locs[, method])

Spatially interpolate GWC data to a grid of locations.

lib_string(gwc, /[, gen_height])

Generates string representation of gwc dataset.

read_gwc(file_or_obj[, crs, west_east, ...])

Create gwc xarray.Dataset from file.

reproject_gwc(gwc, /, to_crs)

Reprojects Generalized wind climate dataset.

to_libfile(gwc, /[, path, gen_height])

Creates lib-style ascii file from gwc dataset