pywasp.wasp.downscale_from_geostrophic_and_site_effects_to_wwc(geowc, site_effects, conf=None, interp_method='given', mesoclimate=None, mesoclimate_interp_method='nearest', return_site_factors=False, add_met=False)[source]

Downscale a geostrophic wind climate using precalculated site effects


This function is experimental and its signature may change.

  • geowc (xarray.Dataset) – Geostrophic wind climate to downscale

  • site_effects (xarray.Dataset) – Site effects dataset created from TopographyMap.get_site_effects or TopographyMap.rose_to_site_effects.

  • conf (Config) – Configuration information from WAsP

  • interp_method (str, optional {'nearest', None}) – String indicating interpolation method, by default None

  • mesoclimate (xarray.Dataset, default None) – If None use the ERA5 reanalysis to obtain the mesoclimate, otherwise one can create a dataset using the pw.wasp.get_climate() method

  • mesoclimate_interp_method (str, optional) – Interpolation method for mesoclimate, by default ‘linear’

  • return_site_factors (bool, optional) – If True, return site factors along with the wind climate data

  • add_met (bool, optional) – If True, add meteorological fields to the wind climate data


xarray.Dataset – PyWAsP formated xr.Dataset containing a weibull wind climate


This will take a geostrophic binned wind climate and convert it to a site specific weibull distribution based on the local conditions.