We present a Python interface for the Dutch Atmospheric Large Eddy Simulation (DALES), an existing Fortran code for high-resolution, turbulence-resolving simulation of atmospheric physics. The interface is based on an infrastructure for remote and parallel function calls and makes it possible to use and control the DALES weather simulations from a Python context. The interface is designed within the OMUSE framework, and allows the user to set up and control the simulation, apply perturbations and forcings, collect and analyse data in real time without exposing the user to the details of setting up and running the parallel Fortran DALES code. Another significant possibility is coupling the DALES simulation to other models, for example larger scale numerical weather prediction (NWP) models that can supply realistic lateral boundary conditions. Finally, the Python interface to DALES can serve as an educational tool for exploring weather dynamics, which we demonstrate with an example Jupyter notebook.

,
doi.org/10.1016/j.softx.2020.100608
SoftwareX
Centrum Wiskunde & Informatica, Amsterdam (CWI), The Netherlands

van den Oord, G., Jansson, F., Pelupessy, I., Chertova, M., Grönqvist, J., Siebesma, P., & Crommelin, D. (2020). A Python interface to the Dutch Atmospheric Large-Eddy Simulation. SoftwareX, 12. doi:10.1016/j.softx.2020.100608