def compute(self, data, selected_indexes): return self._var_name, xarray.Variable(('y', 'x'), data.source.values[selected_indexes])