windkit.ltc.mcp.LinRegMCP.fit
- LinRegMCP.fit(ds_ref, ds_tgt, **kwargs)
Fit the reference data to the target data by looping through the sectors and fitting the model to the data for that sector.
- Parameters:
ds_ref (xarray.Dataset) – Windkit time series wind climate dataset with wind speed and wind direction for the reference data.
ds_tgt (xarray.Dataset) – Windkit time series wind climate dataset with wind speed and wind direction for the reference data.
- Returns:
self
- Return type:
returns an instance of self.