<div dir="ltr"><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Dear NCL-experts,</div><div><br></div><div>I saw this script that computes the Potential vorticity in isobaric levels.</div><div><a href="https://www.ncl.ucar.edu/Applications/pot_vort.shtml">https://www.ncl.ucar.edu/Applications/pot_vort.shtml</a><br></div><div><br></div><div>Based on the examples, the static stability and potential temperatures can be extracted. I would like to ask how to extract the diabatic heating (based on potential temperature) from this?</div><div><br></div><div>I'll appreciate any help on this.</div><div><br></div><div>Sincerely,</div><div>Lyndz</div></div></div></div></div></div></div></div></div></div></div>