pywasp.add_met_fields#
- pywasp.add_met_fields(wco, fields='emergent', air_density=None)[source]#
Add post-processed meteorological fields to a wind climate.
Warning
This function is experimental and its signature may change.
- Parameters:
wco (
xarray.Dataset) – Weibull or binned wind climate dataset.fields (
{"all", "emergent", "combined", "sector"}, optional) – Field group to add.air_density (
xarray.DataArrayorfloat, optional) – Air density values with dimensions compatible withwco. If omitted, existingair_densityvalues are used when present; otherwise they are calculated forwco. A scalar is broadcast towco.
- Returns:
xarray.Dataset– Wind climate dataset with the requested additional fields.