pywasp.lincom.interpolate_gewc

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

Interpolate GEWC file

gewcxarray.Dataset

PyWAsP Generalized Extreme Wind Climate Dataset

targetxarray.Dataset

PyWAsP dataset containing target south_north, west_east, and height coordinates

resamplingstr

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