- foxes.core.Engine.get_chunk_input_data(algo, model_data, farm_data, point_data, states_i0_i1, targets_i0_i1, out_vars)[source]
Extracts the data for a single chunk calculation
Parameters¶
- algo: foxes.core.Algorithm
The algorithm object
- model_data: xarray.Dataset
The initial model data
- farm_data: xarray.Dataset
The initial farm data
- point_data: xarray.Dataset
The initial point data
- states_i0_i1: tuple
The (start, end) values of the states
- targets_i0_i1: tuple
The (start, end) values of the targets
- out_vars: list of str
Names of the output variables
Returns¶
- data: list of foxes.core.Data
Either [mdata, fdata] or [mdata, fdata, tdata]