pywasp.wasp.bwc_resample_sectors
- pywasp.wasp.bwc_resample_sectors(source, n_sectors=12)[source]
Resamples a histogram to different sector structure.
- Parameters:
source (
xarray.Dataset
) – Binned wind climate xr.Dataset object that we want to resampletarget (
xarray.Dataset
) – Binned wind climate xr.Dataset object structure that we want to resample to
- Returns:
xarray.Dataset
– Binned Wind ClimateTODO (
make sure we can also resample binned wind climates that have their first bin
)not centered at the north. This can be easily achieved by using the doff argument
in the fortran routine _RESAMPLE_HIST
,which will rotate the histogram with a specified
angle.