-
foxes.algorithms.Downwind.calc_points(farm_results, points, point_models=
None
, outputs=None
, calc_parameters={}
, persist_mdata=True
, persist_pdata=False
, finalize=True
, ambient=False
, chunked_results=False
, states_sel=None
, states_isel=None
, **kwargs)[source] Calculate data at a given set of points.
Parameters¶
- farm_results: xarray.Dataset
The farm results. The calculated variables have dimensions (state, turbine)
- points: numpy.ndarray
The points of interest, shape: (n_states, n_points, 3)
- outputs: list of str, optional
The output variables, or None for defaults
- point_models: str or foxes.core.PointDataModel
Additional point models to be executed
- calc_parameters: dict
Parameters for model calculation. Key: model name str, value: parameter dict
- persist_mdata: bool
Switch for forcing dask to load all model data into memory
- persist_fdata: bool
Switch for forcing dask to load all farm data into memory
- finalize: bool
Flag for finalization after calculation
- ambient: bool
Flag for ambient instead of waked calculation
- chunked_results: bool
Flag for chunked results
- states_sel: list, optional
Reduce to selected states
- states_isel: list, optional
Reduce to the selected states indices
- kwargs: dict, optional
Additional parameters for run_calculation
Returns¶
- point_results: xarray.Dataset
The point results. The calculated variables have dimensions (state, point)