ozone_ode, a Python code which sets up and solves a stiff system of four ordinary differential equations (ODE) that simulate the daily variation in atmospheric ozone concentration.


The computer code and data files described and made available on this web page are distributed under the MIT license


ozone_ode is available in a MATLAB version and an Octave version and a Python version.

Related Data and codes:

python_ode, Python codes which sets up various systems of ordinary differential equations (ODE).


  1. Dale Durran,
    Numerical methods for fluid dynamics, with applications to geophysics,
    Second Edition,
    Springer, 2010,
    ISBN13: 978-1-4419-6412-0.
  2. Willem Hundsdorfer, Jan Verwer,
    Numerical solution of time dependent advection-diffusion-reaction equations,
    Springer, 2003,
    ISBN13: 978-3-662-09017-6.

Source Code:

Last revised on 11 June 2021.