foxes.core.PointDataModel.run_calculation(algo, *data, out_vars, **calc_pars)[source]

Starts the model calculation in parallel, via xarray’s apply_ufunc.

Typically this function is called by algorithms.

Parameters

algo: foxes.core.Algorithm

The calculation algorithm

*data: tuple of xarray.Dataset

The input data

out_vars: list of str

The calculation output variables

**calc_pars: dict, optional

Additional arguments for the calculate function

Returns

results: xarray.Dataset

The calculation results