The codes and data related to the following paper: Pahlavan, H.A., Hassanzadeh, P. and Alexander, M.J., 2024. On the importance of learning non-local dynamics for stable data-driven climate modeling: A 1D gravity wave-QBO testbed. arXiv preprint arXiv:2407.05224.