def get_arrays(self, ji_win):
        """Get the data of the a window given the ji_windows derived with :method:`ji_windows`.

        Arguments:
            ji_win {[type]} -- The index of the window or the (multi-resolution) windows returned by :meth:`ji_window`.

        Returns:
            (list of) array(s) -- List of 2D arrays in native resolution in case `dst_res` is `None`
                or a 3D array where all layers are resampled to `dst_res` resolution.
        """
        if isinstance(ji_win, dict):
            ji_windows = ji_win
        else:
            ji_windows = self.ji_windows(ji_win)

        arrays = []
        for filename, res in zip(self._layer_files, self._layer_resolution):
            with rasterio.open(filename) as src:
                arr = src.read(1, window=ji_windows[res])
            arrays.append(arr)
        if self.dst_res is not None:
            arrays = self._resample(arrays=arrays, ji_windows=ji_windows)
        return arrays