diff --git a/examples/PyMPDATA_examples/Olesik_et_al_2022/demo_make_dispersion_ratio.ipynb b/examples/PyMPDATA_examples/Olesik_et_al_2022/demo_make_dispersion_ratio.ipynb index c50a3887..beb1d784 100644 --- a/examples/PyMPDATA_examples/Olesik_et_al_2022/demo_make_dispersion_ratio.ipynb +++ b/examples/PyMPDATA_examples/Olesik_et_al_2022/demo_make_dispersion_ratio.ipynb @@ -18,7 +18,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "metadata": {}, "outputs": [], "source": [ @@ -31,7 +31,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "metadata": {}, "outputs": [], "source": [ @@ -42,7 +42,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 3, "metadata": {}, "outputs": [], "source": [ @@ -61,13 +61,13 @@ " for i, _ in enumerate(out_steps):\n", " dp_dr = psi_coord.dx_dr(result['grid']['r'])\n", " analytic_rel_d = rel_disp(result['grid']['rh'], result['analytical'][i]/dp_dr, psi_coord)\n", - " print(analytic_rel_d)\n", + " print(f\"{analytic_rel_d:.3g}\")\n", " return return_value" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 4, "metadata": {}, "outputs": [], "source": [ @@ -78,9 +78,30 @@ }, { "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: 16.0s\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "0.357 dimensionless\n", + "0.202 dimensionless\n", + "0.126 dimensionless\n", + "0.0967 dimensionless\n", + "0.08 dimensionless\n", + "0.069 dimensionless\n" + ] + } + ], "source": [ "compute_table_data(**plot_setup_default, variants=('a',));" ]