foxes.core.Engine.select_subsets(*datasets, sel=None, isel=None)[source]

Takes subsets of datasets

Parameters

datasets: tuple

The xarray.Dataset or xarray.Dataarray objects

sel: dict, optional

The selection dictionary

isel: dict, optional

The index selection dictionary

Returns

subsets: list

The subsets of the input data