def METHOD_NAME(self):
    for var in self.simulator.particulator.products.keys():
        n_dimensions = len(self.simulator.particulator.products[var].shape)
        if n_dimensions == 1:
            self.vars[var][:, :] = self.data[var][-self.nz_export :, :]
        elif n_dimensions == 2:
            if self.n_save_spec == 0:
                continue
            if self.n_save_spec == 1:
                self.vars[var][:, :] = self.data[var][-self.nz_export :, :, 0]
            else:
                self.vars[var][:, :, :] = self.data[var][-self.nz_export :, :, :]
        else:
            raise NotImplementedError()