WorksPhysics and Astronomy
LayerCake v1.0: a framework for low- to intermediate-order automated models development
Abstract
A new model development framework called LayerCake is presented. It is written in the Python language and relies on the Sympy symbolic computation package to compute the Galerkin projection of two-dimensional spatially extended geophysical models. These projections provide their time evolution operator in the spectral space on a restricted set of modes. The resulting tendencies of the models can be evaluated either numerically (for time integration) or symbolically (for parameters sensitivity analysis and bifurcation analysis). We provide several simple examples of geophysical models to showcase the capabilities of the framework, and we hint at how more complex systems can be designed.
Introduction
The atmosphere of the Earth constitutes a forced-dissipative dynamical system. The internal variability of the system is the result of the interaction of an immense number of processes, which span a wide range of space and time scales, forced by the radiative energy coming from the Sun. The emergent complexity of this system is so vast, it implies that evaluating its properties within a single framework is an impossible task. Reducing the number of processes that are described by models is at the center of the art of the scientific method and is at the origin of the success of atmospheric modeling and prediction.
Since the advent of scientific computing and modern atmospheric and climate sciences, the number of models has risen extremely fast, with a course to the development of very high resolution spatio-temporal atmospheric and climate models. Besides the very high resolution models necessary for accurate quantitative description of the actual dynamics, two additional categories have always been considered as cornerstones of the understanding of the atmospheric dynamics, namely reduced- to intermediate-order models. These models are developed by limiting the description to a small set of processes interacting with each other, in order to evaluate and understand the emergence of joint dynamics [18, 30, 14]. Typically, reduced-order models have between 1 to 100 degrees of freedom, while for intermediate-order models, the number of variables covers a wider range typically from 1,000 to 100,000. These types of models have the key advantage of being easily implemented on modern computers. An additional advantage of reduced-order models is that some of their solutions can be approached analytically [19, 29, 23].
During the development of past reduced order models, the number of variables considered were usually small. Notable models from this period include the wind-driven transport of Henry Stommel [40] and Walter Munk [28], and the convection model of Barry Saltzman [37] that was used by Ed Lorenz to demonstrate the property of sensitivity to initial conditions [25]. For some geophysical processes, the dimensionality of the models could even be reduced to one or two variables, like the 2-box model of Stommel [41] used to describe the dynamics of the overturning circulation in the North Atlantic, or the 0-variable Budyko-Sellers global temperature model with the albedo feedback [1, 38]. After these first key steps in low-order modeling, there were considerable developments and multiple models of various complexities to describe atmospheric flows [e.g. 31, 4, 32, 2, 49], ocean flows [e.g. 33, 22, 39, 34] and multiscale ocean-atmosphere coupled dynamics [e.g. 21, 17, 26, 36, 46, 44], among others.
Recently, we have developed a series of open source, reduced order multiscale models [7, 20, 48], regrouped within the same code base referred to as qgs1 [12]. These models allow the user to choose the number of modes, basis functions, and parameter values, but the governing equations for each model’s component (land, ocean, atmosphere) are fixed. In the present work, we introduce a new framework in which the governing equations can also be chosen freely. It considerably extends the capabilities and flexibility by allowing the user to define their own governing equations, field projections, domain, boundary conditions and parameter values. This new framework is referred to as LayerCake.
In the next section, this new modeling framework is introduced. § 2 presents applications of the new framework to the barotropic regimes behaviors, to tropical dynamics, and to oversimplified planetary scale motions. The potential and extensions of the framework are discussed in the concluding section.
A new modeling framework
LayerCake is a new python framework designed to ease the development of low- to intermediate-order geophysical models, obtained using a spectral discretization of the partial differential equations (PDEs), a procedure referred to as the Galerkin method. Due to the generally stratified nature of geophysical flows on Earth, it focuses on fields defined on two-dimensional domains. But in practice, the framework allows users to define multiple layers of PDEs, representing a coupled system of PDEs.
The user must express each term of the equations of the PDEs in a Python script, rendering the system definition process automatable. It then relies heavily on the Sympy symbolic computation framework [27] to apply the Galerkin method on a basis, a set of user-defined spatial modes. This consists of performing symbolic or numerical integrations to obtain the inner products representing the projection of the model’s PDEs onto the basis. As a result of the procedure, a set of ordinary differential equations (ODEs) are obtained, involving the projection coefficients for the model’s prognostic fields. Integrating these ODEs then provide the time evolution of these coefficients, yielding the model trajectory in the (truncated) spectral space.
A particularity of LayerCake is that its output is either a Numba-accelerated Python callable ([24]) - providing a numerical function directly - or a list of symbolic ODE tendencies that can be integrated in any of the supported languages (currently Fortran, Julia, and Python, with the possibly of adding other languages in the future). These two different outputs allow for the use of modern analysis tools, which are available in different languages ([10, 6, 15]).
Composing partial differential equations
LayerCake allows a user to compose and specify their system of equations piece by piece, involving basic terms such as linear operators , acting on fields , defined over the specified spatial coordinates and . Simple analytic functions of these coordinates can also be specified. Functional compositions and products of these basic terms can also be specified as components of the equations, allowing for nonlinear behaviors to be included. Finally, some useful operators such as advection (Jacobian) and gradient of fields are also provided.
Using these building blocks provided by LayerCake, a set of two-dimensional partial differential equations (PDEs) can be defined
on a particular domain specified by its and coordinates, where each functional used in the equations above - whether in the LHS or the RHS - are a sum of aforementioned terms:
where is the number of terms in PDE . Above, all of the terms can depend on any of the fields of the system, allowing the PDEs to be coupled to each other.
This way, complete and closed sets of PDEs can be scripted in the LayerCake "language".
Rationale behind LayerCake
Once the set of PDEs and the domain have been specified, LayerCake is then able to transform this set into a system of ordinary differential equations (ODEs) with an automated Galerkin method. This method projects all the fields on given function basis :
The resulting discrete representation of the spatially continuous model defined by the PDEs is known as its (truncated) representation in the spectral domain. The spectral coefficients are determined by taking a specific inner product defined by the user between the fields and the basis of functions :
One can also apply the inner product to the equations (1) above, de facto projecting all the different terms composing them onto subspaces spanned by the basis of functions, and producing a tensor representation for each term:
where the rank of the tensor depends on the actual form of and its dependence on the fields .
This projection procedure results in a set of ODEs for the coefficients . The final goal of LayerCake is to produce numerical or symbolic representation of the tendencies of these sets of ODEs:
In this context, is a state vector consisting of the stacked spectral coefficients
The resulting LayerCake output is either a Python callable, or a set of strings representing the model’s tendencies (and also its Jacobian matrix ) that can be used to:
integrate the model over time
perform sensitivity analysis
perform bifurcation analysis
in a straightforward manner. This framework is therefore highly valuable in providing, in a systematic and reliable way, a set of dynamical equations related to a specific problem in which a limited number of equations are required.
Known limitations & Future developments
There are currently some known limitations in LayerCake. The first one is that non-analytic functions are difficult to represent using the Galerkin method, and are therefore not covered by this software. This precludes for example the formulation of complex geophysical systems that involve the moisture content of the atmosphere or land. For instance, implementing a comprehensive low-order climate model proposed by Lorenz ([26]) proved difficult to the authors. Within LayerCake, these processes must therefore be parameterized in some way using some analytical functions.
Another limitation is the computational cost induced by the quadratures of the inner products (5), using Sympy in symbolic mode or numerical quadratures in numerical mode. This can lead to very long computational time for models with more than one hundred variables. There is little chance to improve the symbolic part further, as it is directly related to Sympy performance, which has not been designed for these kinds of intensive computations. This limits the symbolic computation of the ODEs tendencies to low-order systems with less than hundreds variables. However, in the numerical case, these performance issues could be alleviated by using specific quadrature rules provided for instance by the user (LayerCake currently relies on the dblquad Scipy routine [47] to perform the numerical quadratures). How to implement that in a streamlined fashion for the user remains to be seen. Therefore, improving some aspects related to computation performances will also be considered in the future.
About future developments, one can note that the current composition rules and objects available to compose the partial differential equations already cover a reasonable number of use cases. Nevertheless, new kind of terms could be added in the future, relying on the open-source development of the code on Github.
Additionally, leveraging LayerCake as the projection engine, the development of agents capable of translating PDEs mathematical expressions (for example in LaTeX or Sympy formalism) to Python script could be investigated.
Example of usage
In this section, we describe a few examples of LayerCake usages, covering different domain geometries and model complexity. We start with a well-known "simple" 6-dimensional model for the extratropical atmosphere, then consider a 78-variable system of a tropical atmosphere, and finally a system describing the barotropic dynamics on the sphere. These examples provide an idea of the framework’s versatility.
A 6-dimensional barotropic model with regime behavior
Extratropical barotropic spectral models were proposed in the 1980s to study the interaction of planetary waves with the orography to produce stable regimes (represented by equilibrium points) [3]. Such models were later revived to propose the heteroclinic connections found in them as a plausible mechanism for regime transitions [5]. This model has also been used recently to study the interaction of stochastic forcing and regime dynamics [16]. The approach offered in these works proposes to consider the barotropic equation
with being the linearized Coriolis parameter, the usual advection operator2, and the orographic profile; and project it on the complex modes:
defined on a non-dimensional beta plane . The barotropic streamfunction is then given by the truncated expansion
and recombining linearly these coefficients into the real variables , yields finally the following system of ODEs:
where a certain profile for the forcing (purely zonal, i.e. only and are non-zero) and the orography have been assumed to be a mountain and a valley: (meaning ). The expressions for the coefficients , , , , and can be found in Crommelin et al. [5]. Integrating this system with the parameters proposed in this article (in particular ), and with and such that it is close to a homoclinic bifurcation, which generates excursions far from one equilibrium of the system, approaching its two other equilibria without reaching them (Crommelin et al. [5]), as seen on the top panel of Figure 1.

Figure 1. Top panel: Trajectory of the system (8) with the parameters found in Crommelin et al. [5] (in particular ) and . Bottom panel: Trajectory of the system (14) with the same parameters and , computed directly by LayerCake in numerical mode.
Using LayerCake symbolic mode, equation (8) can be coded with the following simple script:
# Defining the domain
######################
b = symbols('b')
b_param = Parameter(0.5, symbol=b)
parameters = [b_param]
cs = PlanarCartesianCoordinateSystem(extent=((0, 2*pi), (0, b*pi)))
# Defining a specific basis for the model
##########################################
basis = SymbolicBasis(cs, parameters)
# coordinates
x = basis.coordinate_system.coordinates_symbol_as_list[0]
y = basis.coordinate_system.coordinates_symbol_as_list[1]
basis.functions.append(sqrt(2) * cos(y / b))
basis.functions.append(2 * cos(x) * sin(y / b))
basis.functions.append(2 * sin(x) * sin(y / b))
basis.functions.append(sqrt(2) * cos(2 * y / b))
basis.functions.append(2 * cos(x) * sin(2 * y / b))
basis.functions.append(2 * sin(x) * sin(2 * y / b))
# creating a inner product definition with an optimizer for trigonometric functions
coordinate_system=basis.coordinate_system
inner_products_definition = StandardSymbolicInnerProductDefinition(coordinate_system=coordinate_system,
optimizer='trig',
kwargs={'conds': 'none'})
# Defining the fields
#######################
p = u'ψ'
psi = Field("psi", p, basis, inner_products_definition, units="[m^2][inner_products^-2]", latex=r'\psi')
# Barotropic field equation definition
#######################################
# defining the LHS as the time derivative of the vorticity
vorticity = OperatorTerm(psi, Laplacian, basis.coordinate_system)
barotropic_equation = Equation(psi, lhs_terms=vorticity)
# defining the advection term
advection_term = vorticity_advection(psi, psi, basis.coordinate_system, sign=-1)
barotropic_equation.add_rhs_terms(advection_term)
# adding an orographic term
gamma = Parameter(0.2, symbol=symbols(u'γ'), latex=r'\gamma')
hh = np.zeros(len(basis))
hh[1] = 0.5
h = ParameterField('h', u'h', hh, basis, inner_products_definition)
orographic_term = Jacobian(psi, h, basis.coordinate_system, sign=-1, prefactors=(gamma, gamma))
barotropic_equation.add_rhs_terms(orographic_term)
# adding the beta term
beta = Parameter(1.25, symbol=symbols(u'β'), latex=r'\beta')
beta_term = OperatorTerm(psi, D, x, prefactor=beta, sign=-1)
barotropic_equation.add_rhs_term(beta_term)
# adding a Newtonian cooling
C_param = Parameter(0.1, symbol=symbols('C'))
newtonian_cooling1 = OperatorTerm(psi, Laplacian, basis.coordinate_system, prefactor=C_param, sign=-1)
psi_ast_array = np.zeros(len(basis))
r = -0.801
psi_ast_array[0] = 0.95 * b_param
psi_ast_array[3] = r * psi_ast_array[0]
psi_ast = ParameterField('psi_ast', p+u'*', psi_ast_array, basis,
inner_products_definition, latex=r'\psi^\ast')
newtonian_cooling2 = OperatorTerm(psi_ast, Laplacian, basis.coordinate_system, prefactor=C_param)
barotropic_equation.add_rhs_terms((newtonian_cooling1, newtonian_cooling2))
partially reproduced from the corresponding example accompanying the code. The computation of the inner products and final symbolic equations then take place, and yields a list of the said equations defining the dynamical system to be investigated. We compare this system evolution to the original one of Charney and DeVore [3], projecting Eq. (8) on the real modes:
using the inner product
to yield a set of equations which with , and can be rewritten as
We see that one gets exactly the same system as in Crommelin et al. [5], except for the advection terms , for which an extra factor appears in front. With a correct rescaling of the forcing , this yields a similar dynamics, as shown on the bottom panel of Figure 1.
This case is one of the basic coding examples bundled with the LayerCake code, implemented as the example barotropic_one_layer.py in the examples folder of the code (Demaeyer and Hamilton [11]).
A 78-dimensional version of the WTG Tropical Model
Recently, a new low-order "dry" atmospheric tropical model has been proposed by Vannitsem and Demaeyer [45]. The model is barotropic one-layer atmosphere with a specific divergent forcing which results in a multiplicative forcing acting on some modes. The non-dimensional barotropic equation reads like this:
where the non-dimensional forcing is provided by
We direct the reader to the Vannitsem and Demaeyer [45] reference for more details about this interesting model, in particular its stability properties. Most of the symbolic and numerical computation displayed there have been obtained by leveraging the functionalities of LayerCake. One of the latest experiments made using this model is displayed on the left panel of Figure 2 where a Hovmöller diagram of 78 modes version of the model (15) is depicted. One striking aspect of this diagram is the presence of fine, filament-like structures in the streamfunction plots. These structures were absent in the lower dimensional version of this model (Vannitsem and Demaeyer [45]). This might be partly due to the lack of dissipation at small scales as the resolution of the model is increased. In order to introduce such dissipation, we leveraged LayerCake abilities to model PDEs and added a term proportional to the square of the Laplacian to the equation (15). This term models the kinematic dissipation of energy due to turbulent diffusion at smaller scales ([8, 43]), and adding it only requires a few lines in the WTG model LayerCake script. The results of this addition can be seen on the right panel of Figure 2 where the field appears smoothed and the remaining filaments are larger.

Figure 2. Left panel: Hovmöller diagram of the WTG model (15), projected on 78 Fourier modes by LayerCake. Right panel: Hovmöller diagram of the WTG model (15) with the addition of a turbulent diffusion term , again projected on 78 Fourier modes.
A final note on these two diagrams is that the waves in this model are predominently travelling westward, with some local interesting eastward propagations, a feature already noted in Vannitsem and Demaeyer [45] and apparently surviving at higher resolution, as shown here.
A low-order barotropic model on the sphere
Finally, we present here an example with a geometry of the domain that is different from the planar domain of the two previous ones. We consider the following barotropic model on the sphere:
which is very close to equation (8). The spherical nature of the model is then imposed by selecting spherical harmonics as the model’s spectral modes. LayerCake, relying on the Sympy Python symbolic computation package, is then able to process the computation of the inner products on the sphere, showing its versatility in model development. The LayerCake code for this simple barotropic model is quite simple and reads:
# Defining the domain
######################
# Adimensional Earth sphere radius parameter
Rp = Parameter(1., symbol=Symbol("R"), units='')
parameters = [Rp]
basis = SphericalHarmonicsBasis(parameters, {'M': 4})
coordinate_system=basis.coordinate_system
inner_products_definition = StandardSymbolicInnerProductDefinition(coordinate_system=coordinate_system,
optimizer='trig',
kwargs={'conds': 'none'})
# coordinates
llambda = basis.coordinate_system.coordinates_symbol_as_list[0]
phi = basis.coordinate_system.coordinates_symbol_as_list[1]
# Earth rotation angular speed
omega = Parameter(7.292e-5, symbol=Symbol(u'ω'), units='[s^-1]')
# Timescale parameter
T = Parameter(1. / (2. * float(omega)), symbol=symbols('T'), units='[s]')
# Defining the fields
#######################
p = u'ψ'
psi = Field("psi", p, basis, inner_products_definition, units="[m^2][^-2]", latex=r'\psi')
# Barotropic field equation definition
#######################################
# defining the LHS as the time derivative of the vorticity
vorticity = OperatorTerm(psi, Laplacian, basis.coordinate_system)
barotropic_equation = Equation(psi, lhs_terms=vorticity)
# defining the advection term
advection_term = vorticity_advection(psi, psi, basis.coordinate_system, sign=-1)
barotropic_equation.add_rhs_terms(advection_term)
# adding an orographic term (sin theta * h)
sin_th_h = np.array([-0.001711890606304873, 0.0022332703338084825,
0.001014260540193253, 0.002428461633157703,
0.0016877961736783316, 0.0015782594096663554,
-0.003619193452466132, -0.006561605391195204,
0.0009603132306877926, -0.00197822560376025,
0.019943023135503446, -0.00420363112509415,
0.0074384102492688975, -0.014195299050184684,
-1.137858057111412e-05, -0.001941233058648731,
0.0009283207552447782, 0.0012240310990215871,
-0.004083320319716952, -0.007690520373983598,
-0.005570890927646672, -0.0014451628606521009,
-0.0009667440544924891, 0.002455772979125063])
oro = ParameterField('h', u'h', sin_th_h, basis, inner_products_definition)
orographic_term = Jacobian(psi, oro, basis.coordinate_system, sign=-1)
barotropic_equation.add_rhs_terms(orographic_term)
# adding the beta term
beta_term = OperatorTerm(psi, D, llambda, sign=-1)
barotropic_equation.add_rhs_term(beta_term)
# adding a Newtonian cooling
C_param = Parameter(0.00294, symbol=symbols('C')) # corresponds roughly to a 27 days timescale
newtonian_cooling1 = OperatorTerm(psi, Laplacian, basis.coordinate_system, prefactor=C_param, sign=-1)
# somewhat exaggerated forcing (~10 times) to generate chaos in this T4 model
psi_ast_array = np.array([ 0.00144388, 0.00092015, -0.00364928, -0.01180132, -0.02419153,
-0.0184391 , -0.02481095, -0.04143466, -0.01375496, 0.01036605,
-0.06866103, -0.00700027, 0.00255661, 0.00643457, -0.00858923,
-0.00973486, 0.01376331, -0.00086079, -0.02540955, -0.02291994,
-0.02918463, -0.02469974, -0.01380329, 0.00674556])
psi_ast = ParameterField('psi_ast', p+u'*', psi_ast_array, basis,
inner_products_definition, latex=r'\psi^\ast')
newtonian_cooling2 = OperatorTerm(psi_ast, Laplacian, basis.coordinate_system, prefactor=C_param)
barotropic_equation.add_rhs_terms((newtonian_cooling1, newtonian_cooling2))
The full code for this model is implemented as the example barotropic_planetary_flow.py in the examples portfolio of LayerCake [11] with a very low-order T4 truncation, leading to a 24-dimensional ordinary differential equation. This model resolves planetary waves 1-4 and a broad zonal-mean jet structure, but nothing smaller. An example of an integration is provided as Hovmöller diagram on Figure 3, with a somewhat arbitrary and exaggerated forcing and a dissipation corresponding to a 27 days timescale. This was deliberately chosen to make the nonlinear terms dominate and drive the system into a chaotic region. The diagram shows eastward propagation of waves on the Northern hemisphere midlatitudes, and stationary waves in the Southern hemisphere, probably related to forcing differences between the two (i.e. the orographic and climatological differences between the two hemispheres).

Figure 3. Left panel: Hovmöller diagram at different latitudes for the T4 truncated system (17) Northern hemisphere, showing eastward traveling waves. Right panel: Hovmöller diagram at different latitudes for the same model in the Southern hemisphere, showing stationary waves.
A video is also provided as supplementary material of the present article to show the evolution of streamfunction on the sphere of this T4 heavily truncated model [13].
Additional available applications
All the three examples presented so far consisted of only one two-dimensional partial differential equation, but as it is frequently the case in geosciences, one can discretize stratified fluid models and design system of layered partial differential equations to represent them [42]. Typical examples include baroclinic models of the midlatitude atmosphere [4, 35], or more recently ocean-atmosphere or land-atmosphere coupled models [46, 48].
Being able to model such layered systems is the main goal of LayerCake. In this respect, it should be noted that a two-layer baroclinic model with 10 modes (the one developed in Reinhold and Pierrehumbert [35]), as well as the MAOOAM ocean-atmosphere model [7] with 18 modes have been reproduced using LayerCake, and are proposed as basic examples in the examples folder of the code [11].
Conclusions
We have introduced here LayerCake, a new Python framework to develop systems of layered and coupled partial differential equations, which are frequently encountered in theoretical studies in geosciences. These systems are then automatically projected on sets of spatial modes by LayerCake, producing their reduced time evolution operator as sets of ordinary differential equations (typically one per spatial mode), which are easily integrable on modern computers. This work allows for the study of models of increased complexity, both in term of the number of modes and in term of the design of the system itself. Indeed, as shown in § 2.2, one can easily add new terms to the partial differential equations to alter the model or add new processes. Here, we have presented the capabilities of LayerCake on a few well known simple atmospheric models to present the potential of LayerCake. We believe the package allows one to investigate new research questions by designing adhoc low-order models, and test the outcome as the complexity and realism is increased.
LayerCake was developed to address the limitations of previous frameworks, like MAOOAM ([7], in Fortran and Lua languages) or qgs ([12], in Python language), where the model’s number of modes and parameters can be changed by the user, but not the equations of the model itself. This forced a user, who wanted to alter these equations, to go deep into the model’s code to change them, with the possibility of adding errors always present. However, the underlying Galerkin procedure generating the equations is easily reproduced by a computer, provided that it has access to a symbolic computation system. The development of Sympy [27] opened this door. The extension to even higher dimensional systems needs to be further explored by reducing the computer demand for the computation of the inner products.
A final word must be said about the development of frontier AI models. Work on developing LayerCake started in 2024, when agentic LLM capabilities were still in their infancy. Since then, they have been shown to be able to solve open questions in research level mathematics, proving that an advanced usage of these tools for research was possible. While these tools have proven their importance in mathematical and scientific research, they are unreliable as the sole engine for long or repeated symbolic computation. In addition, there is no easy manner for a researcher to verify the resulting symbolic computation from LLMs, and repeated computations may result in different expansions of the equations, further complicating verification. Instead of asking AI to perform the Galerkin expansion, we see a potential for using AI to generate the Python scripts to run LayerCake. This would provide researchers with a fast method of building such models, while providing an easily verifiable output to inspect.
We plan to continue using and developing LayerCake for the construction of future atmospheric and climate models as done for instance in the analysis of the Weak Temperature Gradient tropical model [45]. The scientific community is welcome to use this tool for their own research problems, and to contribute to its developments on Github.
Code availability. The LayerCake code is available on Github at https://github.com/Climdyn/LayerCake. Open source development will continue on this platform in the future. Additionally, it is archived on Zenodo at https://doi.org/10.5281/zenodo.24166282 [11].
The code of the Tropical Weak Temperature Gradient model [45] used for the example in § 2.2 is available on Github at https://github.com/Climdyn/WTG-TM. Additionally, it is also archived on Zenodo at https://doi.org/10.5281/zenodo.20760509 [9].
Video supplement. The time evolution of the streamfunction field of barotropic T4 model is provided in a video, which is available online [13], highlighting the modeling capabilities on the sphere provided by LayerCake.
Author contributions. Inspired by O. H. contribution to the symbolic part of qgs [12], J.D. initiated the development of the LayerCake code. O.H. contributed to the code in some specific areas. All the authors, O.H., S.V. and J.D., have discussed and developed the examples of reduced-order model, have produced and discussed the results, and have written the manuscript.
Competing interests. The authors declares no competing interest.
Acknowledgements
S. Vannitsem is partly supported by the Ministry of Education, Singapore, under Academic Research Fund (AcRF) Tier 1 Grant RG15/26.
References
- [1]Budyko, M. I.: The effect of solar radiation variations on the climate of the Earth, Tellus, 21, 611–619, https://doi.org/10.1111/j.2153-3490.1969.tb00466.x, 1969.
- [2]Cehelsky, P. and Tung, K. K.: Theories of Multiple Equilibria and Weather Regimes—A Critical Reexamination. Part II: Baroclinic Two-Layer Models, Journal of the Atmospheric Sciences, 44, 3282–3303, https://doi.org/10.1175/1520-0469(1987)044<3282:TOMEAW>2.0.CO;2, 1987.
- [3]Charney, J. G. and DeVore, J. G.: Multiple flow equilibria in the atmosphere and blocking, Journal of the atmospheric sciences, 36, 1205–1216, 1979.doi.org/10.1175/1520-0469(1979)036<1205:mfeita>2.0.co;2
- [4]Charney, J. G. and Straus, D. M.: Form-Drag Instability, Multiple Equilibria and Propagating Planetary Waves in Baroclinic, Orographically Forced, Planetary Wave Systems, Journal of the Atmospheric Sciences, 37, 1157–1176, https://doi.org/10.1175/1520-0469(1980)037<1157:FDIMEA>2.0.CO;2, 1980.
- [5]Crommelin, D. T., Opsteegh, J., and Verhulst, F.: A mechanism for atmospheric regime behavior, Journal of the atmospheric sciences, 61, 1406–1419, 2004.doi.org/10.1175/1520-0469(2004)061<1406:amfarb>2.0.co;2
- [6]Datseris, G.: DynamicalSystems.jl: A Julia software library for chaos and nonlinear dynamics, Journal of Open Source Software, 3, 598, https://doi.org/10.21105/joss.00598, 2018.
- [7]De Cruz, L., Demaeyer, J., and Vannitsen, S.: The modular arbitrary-order ocean-atmosphere model: MAOOAM v1. 0, Geoscientific Model Development, 9, 2793–2808, 2016.DOI
- [8]De Cruz, L., Schubert, S., Demaeyer, J., Lucarini, V., and Vannitsen, S.: Exploring the Lyapunov instability properties of high-dimensional atmospheric and climate models, Nonlinear Processes in Geophysics, 25, 387–412, 2018.DOI
- [9]Demaeyer, J.: Climdyn/WTG-TM: v1.0.0 alpha release, https://doi.org/10.5281/zenodo.20760509, 2026.
- [10]Demaeyer, J. and Hamilton, O.: auto-AUTO: A Python Layer for Automatically Running the AUTO-07p Continuation Software, Journal of Open Source Software, 10, 8079, https://doi.org/10.21105/joss.08079, 2025.
- [11]Demaeyer, J. and Hamilton, O.: LayerCake: version 1.0.8, https://doi.org/10.5281/zenodo.24166282, 2026.
- [12]Demaeyer, J., De Cruz, L., and Vannitsen, S.: qgs: A flexible Python framework of reduced-order multiscale climate models, Journal of Open Source Software, 5, 2597, 2020.
- [13]Demaeyer, J., Hamilton, O., and Vannitsen, S.: Highly truncated T4 barotropic global spectral model on the sphere using the LayerCake framework, Copernicus Publications, https://doi.org/10.5446/74135, 2026.
- [14]Dijkstra, H. A.: Nonlinear Climate Dynamics, Cambridge University Press, 2013.DOI
- [15]Doedel, E. J., Champneys, A. R., Dercole, F., Fairgrieve, T. F., Kuznetsov, Y. A., Oldeman, B., Paffenroth, R., Sandstede, B., Wang, X., and Zhang, C.: AUTO-07P: Continuation and bifurcation software for ordinary differential equations, 2007.
- [16]Dorrington, J. and Palmer, T.: On the interaction of stochastic forcing and regime dynamics, Nonlinear Processes in Geophysics, 30, 49–62, 2023.DOI
- [17]Frankignoul, C. and Hasselmann, K.: Stochastic climate models, Part II: Application to sea-surface temperature anomalies and thermocline variability, Tellus, 29, 289–305, https://doi.org/10.3402/tellusa.v29i4.11362, 1977.
- [18]Ghil, M. and Childress, A. S.: Topics in Geophysical Fluid Dynamics: Atmospheric Dynamics, Dynamo Theory, and Climate Dynamics, vol. 60 of Applied Mathematical Sciences, Springer-Verlag, New York, ISBN 3-540-96475-4, 1987.DOI
- [19]Guckenheimer, J. and Holmes, P.: Nonlinear oscillations, dynamical systems, and bifurcations of vector fields, vol. 42 of Applied Mathematical Sciences, Springer-Verlag, New York, ISBN 0-387-90819-6, 1983.
- [20]Hamilton, O., Demaeyer, J., Vannitsen, S., and Crucifix, M.: Multistability in a coupled ocean–atmosphere reduced-order model: Nonlinear temperature equations, Quarterly Journal of the Royal Meteorological Society, 149, 3423–3439, 2023.DOI
- [21]Hasselmann, K.: Stochastic climate models Part I. Theory, Tellus, 28, 473–485, https://doi.org/10.3402/tellusa.v28i6.11316, 1976.
- [22]Jin, F.-F. and Ghil, M.: Bifurcation Structure and Low-Frequency Variability of a Large-Scale Ocean Circulation Pattern. Part I: Steady-State and Periodic Solutions, Journal of Physical Oceanography, 20, 465–483, https://doi.org/10.1175/1520-0485(1990)020<0465:BSALFV>2.0.CO;2, 1990.
- [23]Kuznetsov, Y. A.: Elements of Applied Bifurcation Theory, vol. 112 of Applied Mathematical Sciences, Springer International Publishing, Cham, Switzerland, 4th edn., ISBN 978-3-031-22006-7, 2023.
- [24]Lam, S. K., Pitrou, A., and Seibert, S.: Numba: A LLVM-based Python JIT compiler, in: Proceedings of the Second Workshop on the LLVM Compiler Infrastructure in HPC, LLVM ’15, pp. 1–6, ACM, https://doi.org/10.1145/2833157.2833162, 2015.
- [25]Lorenz, E. N.: Deterministic Nonperiodic Flow, Journal of the Atmospheric Sciences, 20, 130–141, https://doi.org/10.1175/1520-0469(1963)020<0130:DNF>2.0.CO;2, 1963.
- [26]Lorenz, E. N.: Formulation of a Low-Order Model of a Moist General Circulation, Journal of the Atmospheric Sciences, 41, 1933–1946, https://doi.org/10.1175/1520-0469(1984)041<1933:FOALOM>2.0.CO;2, 1984.
- [27]Meurer, A., Smith, C. P., Paprocki, M., Čertík, O., Kirpichev, S. B., Rocklin, M., Kumar, A., Ivanov, S., Moore, J. K., Singh, S., Rathnayake, T., Vig, S., Granger, B. E., Muller, R. P., Bonazzi, F., Gupta, H., Vats, S., Johansson, F., Pedregosa, F., Curry, M. J., Terrel, A. R., Roučka, Š., Saboo, A., Fernando, I., Kulal, S., Cimrman, R., and Scopatz, A.: SymPy: symbolic computing in Python, PeerJ Computer Science, 3, e103, https://doi.org/10.7717/peerj-cs.103, 2017.
- [28]Munk, W. H.: On the wind-driven ocean circulation, Journal of Meteorology, 7, 80–93, https://doi.org/10.1175/1520-0469(1950)007<0080:OTWDOC>2.0.CO;2, 1950.
- [29]Nicolis, G.: Introduction to nonlinear science, Cambridge University Press, Cambridge, 1995.DOI
- [30]Nicolis, G. and Nicolis, C.: Foundations of Complex Systems: Nonlinear Dynamics, Statistical Physics, Information and Prediction, World Scientific, Hackensack, NJ, ISBN 9789812700438, 2007.
- [31]Pedlosky, J.: Finite-Amplitude Baroclinic Waves, Journal of the Atmospheric Sciences, 27, 15–30, https://doi.org/10.1175/1520-0469(1970)027<0015:FABW>2.0.CO;2, 1970.
- [32]Pedlosky, J. and Frenzen, C.: Chaotic and Periodic Behavior of Finite-Amplitude Baroclinic Waves, Journal of the Atmospheric Sciences, 37, 1177–1196, https://doi.org/10.1175/1520-0469(1980)037<1177:CAPBOF>2.0.CO;2, 1980.
- [33]Pierini, S.: A divergent quasi-geostrophic model for wind-driven oceanic fluctuations in a closed basin, Dynamics of Atmospheres and Oceans, 14, 259–277, https://doi.org/10.1016/0377-0265(90)90019-9, 1990.
- [34]Pierini, S.: Low-Frequency Variability, Coherence Resonance, and Phase Selection in a Low-Order Model of the Kuroshio Extension, Journal of Physical Oceanography, 41, 1585–1602, https://doi.org/10.1175/JPO-D-10-05018.1, 2011.
- [35]Reinhold, B. B. and Pierrehumbert, R. T.: Dynamics of weather regimes: Quasi-stationary waves and blocking, Monthly Weather Review, 110, 1105–1145, 1982.doi.org/10.1175/1520-0493(1982)110<1105:dowrqs>2.0.co;2
- [36]Roebber, P. J.: Climate variability in a low-order coupled atmosphere-ocean model, Tellus A: Dynamic Meteorology and Oceanography, 47, 473–494, https://doi.org/10.1034/j.1600-0870.1995.t01-3-00006.x, 1995.
- [37]Saltzman, B.: Finite Amplitude Free Convection as an Initial Value Problem—I, Journal of the Atmospheric Sciences, 19, 329–341, https://doi.org/10.1175/1520-0469(1962)019<0329:FAFCAA>2.0.CO;2, 1962.
- [38]Sellers, W. D.: A Global Climatic Model Based on the Energy Balance of the Earth-Atmosphere System, Journal of Applied Meteorology and Climatology, 8, 392–400, https://doi.org/10.1175/1520-0450(1969)008<0392:AGCMBO>2.0.CO;2, 1969.
- [39]Simonnet, E., Ghil, M., Ide, K., Temam, R., and Wang, S.: Low-Frequency Variability in Shallow-Water Models of the Wind-Driven Ocean Circulation. Part I: Steady-State Solutions, Journal of Physical Oceanography, 33, 712–728, https://doi.org/10.1175/1520-0485(2003)33<712:LVISMO>2.0.CO;2, 2003.
- [40]Stommel, H.: The westward intensification of wind-driven ocean currents, Eos, Transactions American Geophysical Union, 29, 202–206, https://doi.org/10.1029/tr029i002p00202, 1948.
- [41]Stommel, H.: Thermohaline convection with two stable regimes of flow, Tellus, 13, 224–230, https://doi.org/10.1111/j.2153-3490.1961.tb00079.x, 1961.
- [42]Vallis, G. K.: Atmospheric and Oceanic Fluid Dynamics: Fundamentals and Large-Scale Circulation, Cambridge University Press, Cambridge, UK, 2 edn., https://doi.org/10.1017/9781107588417, 2017.
- [43]Van der Avoird, E., Dijkstra, H., Nauw, J., and Schuurmans, C.: Nonlinearly induced low-frequency variability in a midlatitude coupled ocean–atmosphere model of intermediate complexity, Climate dynamics, 19, 303–320, 2002.
- [44]Vannitsem, S.: The role of the ocean mixed layer on the development of the North Atlantic Oscillation: A dynamical system’s perspective, Geophysical Research Letters, 42, 8615–8623, https://doi.org/10.1002/2015GL065974, 2015.
- [45]Vannitsem, S. and Demaeyer, J.: Emergence of chaos in the tropical atmosphere: Study of the weak temperature gradient system, EGUsphere, 2026, 1–20, https://doi.org/10.5194/egusphere-2026-3631, 2026.
- [46]Vannitsem, S., Demaeyer, J., De Cruz, L., and Ghil, M.: Low-frequency variability and heat transport in a low-order nonlinear coupled ocean–atmosphere model, Physica D: Nonlinear Phenomena, 309, 71–85, https://doi.org/10.1016/j.physd.2015.07.006, 2015.
- [47]Virtanen, P., Gommers, R., Oliphant, T. E., Haberland, M., Reddy, T., Cournapeau, D., Burovski, E., Peterson, P., Weckesser, W., Bright, J., van der Walt, S. J., Brett, M., Wilson, J., Millman, K. J., Mayorov, N., Nelson, A. R. J., Jones, E., Kern, R., Larson, E., Carey, C. J., Polat, İ., Feng, Y., Moore, E. W., VanderPlas, J., Laxalde, D., Perktold, J., Cimrman, R., Henriksen, I., Quintero, E. A., Harris, C. R., Archibald, A. M., Ribeiro, A. H., Pedregosa, F., van Mulbregt, P., and SciPy 1.0 Contributors: SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python, Nature Methods, 17, 261–272, https://doi.org/10.1038/s41592-019-0686-2, 2020.
- [48]Xavier, A. K., Demaeyer, J., and Vannitsem, S.: Variability and predictability of a reduced-order land–atmosphere coupled model, Earth System Dynamics, 15, 893–912, 2024.
- [49]Yoden, S.: Classification of simple low-order models in geophysical fluid dynamics and climate dynamics, Nonlinear Analysis-theory Methods & Applications, 30, 4607–4618, https://api.semanticscholar.org/CorpusID:13549973, 1997.DOI