A Python interface to the Dutch Atmospheric Large-Eddy Simulation

Abstract 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.

[1]  S. Valcke,et al.  The OASIS3 coupler: a European climate modelling community software , 2012 .

[2]  Pearu Peterson,et al.  F2PY: a tool for connecting Fortran and Python programs , 2009, Int. J. Comput. Sci. Eng..

[3]  F. Inti Pelupessy,et al.  Multi-physics simulations using a hierarchical interchangeable software interface , 2011, Comput. Phys. Commun..

[4]  Stefan Behnel,et al.  Cython: The Best of Both Worlds , 2011, Computing in Science & Engineering.

[5]  A. Pier Siebesma,et al.  Regional Superparameterization in a Global Circulation Model Using Large Eddy Simulations , 2019, Journal of Advances in Modeling Earth Systems.

[6]  F. Inti Pelupessy,et al.  Creating a Reusable Cross-Disciplinary Multi-scale and Multi-physics Framework: From AMUSE to OMUSE and Beyond , 2019, ICCS.

[7]  Ulrich Schumann,et al.  Coherent structure of the convective boundary layer derived from large-eddy simulations , 1989, Journal of Fluid Mechanics.

[8]  Brian E. J. Rose,et al.  CLIMLAB: a Python toolkit for interactive, process-oriented climate modeling , 2018, J. Open Source Softw..

[9]  Joy Merwin Monteiro,et al.  sympl (v. 0.4.0) and climt (v. 0.15.3) – towards a flexible framework for building model hierarchies in Python , 2018, Geoscientific Model Development.

[10]  Robert Johansson,et al.  Numerical Python , 2018, Apress.

[11]  A. P. Siebesma,et al.  Formulation of the Dutch Atmospheric Large-Eddy Simulation (DALES) and overview of its applications , 2010 .

[12]  W. Grabowski Coupling Cloud Processes with the Large-Scale Dynamics Using the Cloud-Resolving Convection Parameterization (CRCP) , 2001 .

[13]  Vanessa Sochat,et al.  Singularity: Scientific containers for mobility of compute , 2017, PloS one.

[14]  Jay Walter Larson,et al.  The Model Coupling Toolkit: A New Fortran90 Toolkit for Building Multiphysics Parallel Coupled Models , 2005, Int. J. High Perform. Comput. Appl..

[15]  et al.,et al.  Jupyter Notebooks - a publishing format for reproducible computational workflows , 2016, ELPUB.

[16]  Ben van Werkhoven,et al.  The Oceanographic Multipurpose Software Environment (OMUSE v1.0) , 2017 .