A Python interface to the Dutch Atmospheric Large-Eddy Simulation
Gijs van den Oord,
Fredrik Jansson,
Inti Pelupessy,
Maria Chertova,
Johanna H. Grönqvist,
Pier Siebesma,
Daan Crommelin
Affiliations
Gijs van den Oord
Netherlands eScience Center, Science Park 140, 1098XG Amsterdam, The Netherlands; Corresponding author.
Fredrik Jansson
Centrum Wiskunde & Informatica, Science Park 123, 1098XG Amsterdam, The Netherlands
Inti Pelupessy
Netherlands eScience Center, Science Park 140, 1098XG Amsterdam, The Netherlands
Maria Chertova
Netherlands eScience Center, Science Park 140, 1098XG Amsterdam, The Netherlands
Johanna H. Grönqvist
Physics, Faculty of Science and Engineering, Åbo Akademi University, Porthansgatan 3, 20500 Turku, Finland
Pier Siebesma
Center for Civil Engineering and Geosciences, Delft University of Applied Sciences, Stevinweg 1, 2628CN Delft, The Netherlands; Koninklijk Nederlands Meteorologisch Instituut, Utrechtseweg 297, 3731 GA De Bilt, The Netherlands
Daan Crommelin
Centrum Wiskunde & Informatica, Science Park 123, 1098XG Amsterdam, The Netherlands; Korteweg–de Vries Institute for Mathematics, University of Amsterdam, Science Park 105–107, 1098XG Amsterdam, The Netherlands
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.