From 8c3548c1ff20d9b945250a809c7ed3cf6dfba3eb Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Sat, 9 Dec 2023 23:42:41 -0700 Subject: [PATCH 1/2] add some comments on what each subplot does --- notebooks/5-skewt.ipynb | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/notebooks/5-skewt.ipynb b/notebooks/5-skewt.ipynb index 1188a35..e66bd2e 100644 --- a/notebooks/5-skewt.ipynb +++ b/notebooks/5-skewt.ipynb @@ -321,9 +321,10 @@ "\n", "\n", "# LCL and parcel profile skew-T\n", + "# At what point an air parcel lifted as a dry parcel becomes saturated\n", "skewt_plots[0].ax.set_title('LCL and Parcel Profile')\n", "skewt_plots[0].plot(p, lcl_prof, 'k')\n", - "skewt_plots[0].plot(lcl_p, lcl_t, 'ko')\n", + "skewt_plots[0].plot(lcl_p, lcl_t, 'ko') # Lifted Condensation Level \n", "\n", "\n", "# add constant temperature line at t=0\n", @@ -332,13 +333,17 @@ "\n", "\n", "# shade CAPE and CIN\n", + "# Area above and below the Level of Free Convection (LFC) - where the temeprature line crosses the moist adiabat\n", + "# Updraft energy for thunderstorms (CAPE) and energy needed for the storm to start (CIN)\n", "skewt_plots[2].ax.set_title('Shade CAPE and CIN')\n", "skewt_plots[2].plot(p, lcl_prof, 'k')\n", - "skewt_plots[2].shade_cin(p*units.hPa, T*units.degC, lcl_prof, Td*units.degC)\n", - "skewt_plots[2].shade_cape(p*units.hPa, T*units.degC, lcl_prof)\n", + "skewt_plots[2].shade_cin(p*units.hPa, T*units.degC, lcl_prof, Td*units.degC) # Convective INhibition\n", + "skewt_plots[2].shade_cape(p*units.hPa, T*units.degC, lcl_prof) # Convective Available Potential Energy\n", "\n", "\n", "# Hodograph\n", + "# A linethat connects the tips of wind vectors between two atmospheric heights\n", + "# # Used for understanding wind sheer\n", "skewt_plots[3].ax.set_title('Hodograph')\n", "ax_hod = inset_axes(skewt_plots[3].ax, '30%', '30%')\n", "hod = Hodograph(ax_hod, component_range=50)\n", From acc80a8be2efa1472ecca3589b33334122a207b2 Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Sat, 9 Dec 2023 23:44:47 -0700 Subject: [PATCH 2/2] space --- notebooks/5-skewt.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/5-skewt.ipynb b/notebooks/5-skewt.ipynb index e66bd2e..693fcdc 100644 --- a/notebooks/5-skewt.ipynb +++ b/notebooks/5-skewt.ipynb @@ -342,7 +342,7 @@ "\n", "\n", "# Hodograph\n", - "# A linethat connects the tips of wind vectors between two atmospheric heights\n", + "# A line that connects the tips of wind vectors between two atmospheric heights\n", "# # Used for understanding wind sheer\n", "skewt_plots[3].ax.set_title('Hodograph')\n", "ax_hod = inset_axes(skewt_plots[3].ax, '30%', '30%')\n",