foxes.core.Algorithm.get_models_data(idata=None, sel=None, isel=None)[source]

Creates xarray from model input data.

Parameters

idata: dict, optional

The dict has exactly two entries: data_vars, a dict with entries name_str -> (dim_tuple, data_ndarray); and coords, a dict with entries dim_name_str -> dim_array. Take algorithm’s idata object by default.

sel: dict, optional

Selection of coordinates in dataset

isel: dict, optional

Selection of coordinates in dataset

Returns

ds: xarray.Dataset

The model input data