brightwind.transform.transform.scale_wind_speed

brightwind.transform.transform.scale_wind_speed(spd, scale_factor: float)

Scales wind speed by the scale_factor

Parameters
  • spd – Series or data frame or a single value of wind speed to scale

  • scale_factor – Scaling factor in decimal, if scaling factor is 0.8 output would be (1+0.8) times wind speed,

if it is -0.8 the output would be (1-0.8) times the wind speed :return: Series or data frame with scaled wind speeds