pywasp.lincom.interpolate_gewc

pywasp.lincom.interpolate_gewc(gewc, target, resampling='natural')[source]

Interpolate GEWC file

Warning

This function is experimental and its signature may change.

Parameters:
  • gewc (xarray.Dataset) – PyWAsP Generalized Extreme Wind Climate Dataset

  • target (xarray.Dataset) – PyWAsP dataset containing target south_north, west_east, and height coordinates

  • resampling (str) – Only natural neighbors (“natural”) is implemented at this time. You can set this to None if you do not need interpolation because the grids match.

Returns:

xarray.Dataset – gewc resampled to the target spatial structure