diff --git a/examples/PyMPDATA_examples/Olesik_et_al_2022/demo_make_plots.ipynb b/examples/PyMPDATA_examples/Olesik_et_al_2022/demo_make_plots.ipynb
index f021720f..87bb640b 100644
--- a/examples/PyMPDATA_examples/Olesik_et_al_2022/demo_make_plots.ipynb
+++ b/examples/PyMPDATA_examples/Olesik_et_al_2022/demo_make_plots.ipynb
@@ -18,7 +18,7 @@
},
{
"cell_type": "code",
- "execution_count": null,
+ "execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
@@ -31,20 +31,12 @@
},
{
"cell_type": "code",
- "execution_count": null,
- "metadata": {},
- "outputs": [],
- "source": [
- "import os\n",
- "os.environ[\"NUMBA_DISABLE_JIT\"] = \"1\""
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
+ "execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
+ "import warnings\n",
+ "from numba.core.errors import NumbaExperimentalFeatureWarning\n",
"from matplotlib import pyplot\n",
"from open_atmos_jupyter_utils import show_plot\n",
"from PyMPDATA_examples.Olesik_et_al_2022.analysis import compute_figure_data, rel_disp, third_moment\n",
@@ -56,19 +48,21 @@
},
{
"cell_type": "code",
- "execution_count": null,
+ "execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"plot_steps = [0, 2, 5]\n",
"def compute_and_plot(psi_coord, grid_layout, n_bins, GC_max, variants, plots, filename):\n",
- " results, settings = compute_figure_data(\n",
- " psi_coord=psi_coord, \n",
- " grid_layouts=(grid_layout,),\n",
- " nr=n_bins,\n",
- " GC_max = GC_max,\n",
- " opt_set=tuple(default_opt_set[variant] for variant in variants)\n",
- " )\n",
+ " with warnings.catch_warnings():\n",
+ " warnings.simplefilter(\"ignore\", category=NumbaExperimentalFeatureWarning)\n",
+ " results, settings = compute_figure_data(\n",
+ " psi_coord=psi_coord, \n",
+ " grid_layouts=(grid_layout,),\n",
+ " nr=n_bins,\n",
+ " GC_max = GC_max,\n",
+ " opt_set=tuple(default_opt_set[variant] for variant in variants)\n",
+ " )\n",
" return_value = {}\n",
" for _, result in results.items():\n",
" out_steps = result['grid']['out_steps']\n",
@@ -127,7 +121,7 @@
},
{
"cell_type": "code",
- "execution_count": null,
+ "execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
@@ -140,81 +134,28300 @@
},
{
"cell_type": "code",
- "execution_count": null,
+ "execution_count": 5,
"metadata": {},
- "outputs": [],
+ "outputs": [
+ {
+ "name": "stderr",
+ "output_type": "stream",
+ "text": [
+ "[Parallel(n_jobs=-2)]: Using backend ThreadingBackend with 11 concurrent workers.\n",
+ "[Parallel(n_jobs=-2)]: Done 1 tasks | elapsed: 14.3s\n"
+ ]
+ },
+ {
+ "data": {
+ "image/svg+xml": [
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "text/plain": [
+ "