windkit.empty.empty_bwc
- windkit.empty.empty_bwc(output_locs, nsec=12, nbins=30, not_empty=True, seed=9876538)[source]
Create empty binned wind climate dataset.
If not_empty=True, the data variables are filled with meaninful random numbers, e.g. the sum of wdfreq is 1.
- Parameters:
output_loc (xarray.Dataset) – Output geospatial information.
nsec (int) – Number of sectors, defaults to 12.
nbins (int) – Number of histogram bins, defaults to 30.
not_empty (bool) – If true, the empty dataset is filled with random meaningful data.
seed (int) – Seed for the random data, defaults to 9876538.
- Returns:
ds – Binned wind climate dataset either empty or filled with random numbers.
- Return type: