<div dir="ltr"><div dir="ltr">Dear NCL experts,<div><br></div><div>I am calculating the shear_stretch deformation routine in NCL (<a href="https://www.ncl.ucar.edu/Document/Functions/Contributed/shear_stretch_deform.shtml">https://www.ncl.ucar.edu/Document/Functions/Contributed/shear_stretch_deform.shtml</a>).</div><div><br></div><div>According to the description:</div><div><br></div><div><span style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:13.3333px"><i>"When the stretch-deformation is negative/positive the flow is confluent/diffluent."</i></span><br></div><div><span style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:13.3333px"><i><br></i></span></div><div><font color="#000000" face="verdana, sans-serif"><span style="font-size:13.3333px">However, I encounter some inconsistensies in the results.</span></font></div><div><br></div><div><font color="#000000" face="verdana, sans-serif"><span style="font-size:13.3333px">Problems:</span></font></div><div><font color="#000000" face="verdana, sans-serif"><span style="font-size:13.3333px"><br></span></font></div><div><font color="#000000" face="verdana, sans-serif"><span style="font-size:13.3333px">[1] When I plot the stretch deformation term, I see positive values (diffluence) along a region of confluence (encircled region in red in the attached figure).</span></font></div><div><font color="#000000" face="verdana, sans-serif"><span style="font-size:13.3333px">This plot is for timestep 62. Shading is for the 925-hPa stretch deformation, while the streamline is for the 925-hPa winds.</span></font></div><div><br></div><div><font color="#000000">I am not sure if I implemented this routine correctly. I am attaching my script in this email. The file that I am using can be accessed here:</font></div><div><font color="#000000"><br></font></div><div><font color="#000000"><a href="https://www.dropbox.com/s/m4sy7n76piw2mwn/ncep_6h_jan.nc?dl=0">https://www.dropbox.com/s/m4sy7n76piw2mwn/ncep_6h_jan.nc?dl=0</a><br></font></div><div><font color="#000000"><br class="gmail-Apple-interchange-newline">I would like to ask for suggestions on how to do this correctly in NCL.<br></font></div><div><font color="#000000"><br></font></div><div><font color="#000000">[2] I would like to draw line along the regions of positive stretch or total deformation. If yes, how can I do this in NCL?</font></div><div> <br></div><div>Thank you in advance for the help.</div><div>Sincerely,</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font face="comic sans ms, sans-serif"><b><u>Lyndz</u></b></font><br><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>