<div dir="ltr"><div>There is no NCL function "to find out the position of the trough."<b> </b>This is complicated. See: <br></div><div> <a href="https://www.mdpi.com/2073-4433/8/7/121"><b>Objective Identification of Trough Lines Using Gridded Wind Field Data</b></a></div><div>====</div><div><a href="http://www.ncl.ucar.edu/Applications/polyg.shtml"><b>http://www.ncl.ucar.edu/Applications/polyg.shtml</b></a></div><div><br></div><div>If <b>*you*</b> know the lat/lon locations</div><div><pre> res = True ; plot mods desired
res@gsnDraw = False ; don't draw yet
res@gsnFrame = False ; don't advance yet<br></pre><pre> res@ ... other resources<br><br></pre><pre>;---Resources for the polyline
plres = True ; polyline mods desired
plres@gsLineThicknessF = 2.0 ; line thickness
plres@gsLineColor = "blue" ; color of line <br></pre><pre>;************************************************
; create points for trough line
;************************************************
lat_trough = (/ ...... /) ; multiple points
lon_trough = (/ ...... /)<br><br> plot = gsn_csm_contour_map(wks,...,res) ; create the create the
trough_line = gsn_add_polyline(wks,plot, lon_trough ,lat_trough ,plres) <br> draw(plot)
frame(wks)</pre></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 9, 2020 at 10:40 PM Babitha George via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hai,</div><div><br></div><div>I was trying to plot the axis of a trough or to find out the position of the trough in NCL. Can anyone direct me on this?<br></div><div><br></div><div>Thanks in advance.</div><div>Regards<br></div>-- <br><div dir="ltr"><div dir="ltr">Babitha George<div>Research Scholar</div><div>IIST, Valiamala</div><div>Thiruvananthapuram</div><div>+91 9656661855</div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>