I have one xarray foo that I wish to index using a mask derived from another array bar. foo is a timeseries, with many samples, wherea
foo
bar