-
foxes.engines.XArrayEngine.run_calculation(algo, model, model_data=
None
, farm_data=None
, point_data=None
, out_vars=[]
, chunk_store={}
, sel=None
, isel=None
, persist=True
, iterative=False
, **calc_pars)[source] Runs the model calculation
Parameters¶
- algo: foxes.core.Algorithm
The algorithm object
- model: foxes.core.DataCalcModel
The model that whose calculate function should be run
- model_data: xarray.Dataset
The initial model data
- farm_data: xarray.Dataset
The initial farm data
- point_data: xarray.Dataset
The initial point data
- out_vars: list of str, optional
Names of the output variables
- chunk_store: foxes.utils.Dict
The chunk store
- sel: dict, optional
Selection of coordinate subsets
- isel: dict, optional
Selection of coordinate subsets index values
- persist: bool
Flag for persisting xarray Dataset objects
- iterative: bool
Flag for use within the iterative algorithm
- calc_pars: dict, optional
Additional parameters for the model.calculate()
Returns¶
- results: xarray.Dataset
The model results