pywasp.wasp.generalize_and_downscale#
- pywasp.wasp.generalize_and_downscale(bwc, topo_map, output_locs, generalize_kwargs={}, downscale_kwargs={})[source]#
Creates a generalized wind climate using atlas_nt, calculate site_effects, downscale wind climate, and add meteorlogical fields in a single step.
Deprecated since version 0.7.0: Use
pywasp.wasp.predict_wwc()instead. Will be removed in pywasp 3.0.- Parameters:
output_locs (
xarray.Dataset) – Pywasp xarray.Dataset containging the output locations.bwc (
xarray.Dataset) – PyWAsP xarray.Dataset containing wind climate to be generalized and downscaledtopo_map (
TopographyMap) – Topographical map covering the area represented by the bwcgeneralize_kwargs (
dict) – Additional arguments for the generalize function. If gen_heights is not set, the unique output heights from the output_locs will be used. This will reduce the interpolation error in the downscaling.downscale_kwargs (
dict) – Additional arguments for the downscale function.
- Returns:
wwc (
xarray.Dataset) – Weibull wind climate containing sectorwise A, k, frequency, total A and k at site. Optionally include speedups, rix, elevation and other site_effects, and/or wind speeds, air and power densities.