<div dir="ltr"><div dir="ltr"><div>Dear NCL-experts.</div><div><br></div><div>I am plotting the potential temperature gradient and I want to:</div><div><br></div><div>[1] Extract the location (lat-lon points) along a region of minimum temperature gradient.</div><div>[2] Save the output of [1] to a text file</div><div>[3] Draw a line over the region with minimum potential temperature gradient.</div><div><br></div><div>The desired output is as shown in the attached figure (test_ncl.jpg).</div><div><br></div><div>The file that I am using can be accessed in the following link:</div><div><a href="https://www.dropbox.com/s/epkk2jtwis5sfuc/pottemp_gradient_jan_2017.nc?dl=0">https://www.dropbox.com/s/epkk2jtwis5sfuc/pottemp_gradient_jan_2017.nc?dl=0</a><br></div><div><br></div><div>I am also attaching my script in generating the plot.</div><div><br></div><div>Any suggestions on how to do this correctly in NCL?</div><div>I'll appreciate any help regarding this.</div><div><br></div><div>Sincerely,</div><div><br></div><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">Lyndz<br><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>