-
foxes.output.PointCalculator.calculate(points, *args, states_mean=
False
, weight_turbine=0
, to_file=None
, write_vars=None
, write_pars={}
, **kwargs)[source] Calculate point results
Parameters¶
- points: numpy.ndarray
The points, shape: (n_points, 3) or (n_states, n_points, 3)
- args: tuple, optional
Additional arguments for algo.calc_points
- states_mean: bool
Flag for taking the mean over states
- weight_turbine: int, optional
Index of the turbine from which to take the weight
- to_file: str, optional
The output netCDF file name
- write_vars: list of str
The variables to be written to file, or None for all
- write_pars: dict, optional
Additional parameters for write_nc
- kwargs: tuple, optional
Additional arguments for algo.calc_points
Returns¶
- point_results: xarray.Dataset
The point results. The calculated variables have dimensions (state, point)