<div dir="ltr">Thank You So much Jennifer! I have successfully got my result output.<br><br><br><br><br><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr">With Regards!</div><div dir="ltr"><br></div><div><b>Gandiboyina Revathi</b></div><div>Research Scholar</div><div>Department of Meteorology and Oceanography</div><div>Andhra University.</div></div></div></div></div></div>
</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 18, 2017 at 6:25 PM, Jennifer M Adams <span dir="ltr">&lt;<a href="mailto:jadams21@gmu.edu" target="_blank">jadams21@gmu.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-size:12px;color:#777;font-family:&#39;Lucida Grande&#39;,Helvetica,Arial,sans-serif;background-color:#fff;padding:4px">
<a href="https://www.boxbe.com/overview" style="text-decoration:none;color:#5e96ea" target="_blank"><img alt="Boxbe" src="http://www.boxbe.com/images/logo_dark_small.png" style="margin-left:0px;border:none" width="64px"></a>

<img src="http://www.boxbe.com/stfopen?tc_serial=32865542283&amp;tc_rand=1999210249&amp;utm_source=stf&amp;utm_medium=email&amp;utm_campaign=ANNO_CLEANUP_ADD&amp;utm_content=001">

This message is eligible for Automatic Cleanup! (<a href="mailto:jadams21@gmu.edu" target="_blank">jadams21@gmu.edu</a>) 
<a style="text-decoration:none;color:#5e96ea" href="https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Fkey%3DthKGFWtbDFb%252BRwD9ctNeeB%252BADRZ8LIgsaD1o4Tja0VM%253D%26token%3D0uBamGvBTkKmWv6PjNgu7q1X4850AcPn9X0%252BCxtqWyAEOT6jrr7NQJvl3O4cIWLHGfEA7gczL0qPKTe9%252FpRpc3EXgdSwUe9DHlmImXWqPf5uITjLIXnhQG5Vnff%252BQprn5zqiWYzcOHQ%253D&amp;tc_serial=32865542283&amp;tc_rand=1999210249&amp;utm_source=stf&amp;utm_medium=email&amp;utm_campaign=ANNO_CLEANUP_ADD&amp;utm_content=001" title="Add a new automatic cleanup rule" target="_blank">Add cleanup rule</a>
 | <a style="text-decoration:none;color:#5e96ea" href="http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=32865542283&amp;tc_rand=1999210249&amp;utm_source=stf&amp;utm_medium=email&amp;utm_campaign=ANNO_CLEANUP_ADD&amp;utm_content=001" title="Get info on automatic cleanup" target="_blank">More info</a>
<br>

    </div>

<br>



<div style="word-wrap:break-word">
<div dir="auto" style="word-wrap:break-word">
Many have asked me for the code to draw cyclone tracks. My scripts to draw these plots are still under development and are being hardened with every forecast cycle. I will share when they are ready. The core of the algorithm is below, starting with a ulon/ulat
 that are close to the center of a local minimum in sea level pressure:</div>
<div dir="auto" style="word-wrap:break-word">
<br>
</div>
<div dir="auto" style="word-wrap:break-word">
<font style="font-size:14px" face="Courier">&#39;set lon &#39;ulon<br>
&#39;set lat &#39;ulat<br>
dimexpr=&#39;lon=&#39;ulon-radius&#39;,<wbr>lon=&#39;ulon+radius&#39;,lat=&#39;ulat-<wbr>radius&#39;,lat=&#39;ulat+radius<br>
* get the grid coordinates </font></div>
<div dir="auto" style="word-wrap:break-word">
<font style="font-size:14px" face="Courier">&#39;d aminlocx(mslp.1,&#39;dimexpr&#39;)&#39; ; minlocx=subwrd(result,4)<br>
&#39;d aminlocy(mslp.1,&#39;dimexpr&#39;)&#39; ; minlocy=subwrd(result,4)<br>
<br>
* Convert the grid coordinates to lat/lon, save in a script variable <br>
&#39;set x &#39;minlocx ; minlon.e.t=subwrd(result,4)<br>
&#39;set y &#39;minlocy ; minlat.e.t=subwrd(result,4)</font></div>
<div dir="auto" style="word-wrap:break-word">
<br>
</div>
<div dir="auto" style="word-wrap:break-word">
The above code is in a loop, so that each minlon/minlat becomes the starting point (ulon/ulat) for the next time step/ensemble. After I have all the slp minimum location data for each ensemble member and time step, then I draw the lines. Start with an empty
 lat/lon map to set up the scaling, then use ‘q w2xy’ to get the page coordinates for each point and save them in another script variable. Connect the points with ‘draw line’:</div>
<div dir="auto" style="word-wrap:break-word">
<br>
</div>
<div dir="auto" style="word-wrap:break-word">
<font style="font-size:14px" face="Courier">*   get the page coordinates<br>
&#39;q w2xy &#39;minlon.e.t&#39; &#39;minlat.e.t<br>
minx.e.t=subwrd(result,3) <br>
miny.e.t=subwrd(result,6)    <br>
*   draw the line<br>
tm1=t-1<br>
&#39;draw line &#39;minx.e.tm1&#39; &#39;miny.e.tm1&#39; &#39;minx.e.t&#39; ‘miny.e.t</font><br>
<br>
Bells and whistles include the background map, line styles and colors, mark types and sizes, watches and warnings and position data from NHC, annotation, and the wind masks, which are defined using the following expressions:</div>
<div dir="auto" style="word-wrap:break-word">
<br>
</div>
<div dir="auto" style="word-wrap:break-word">
<font style="font-size:14px" face="Courier">&#39;spd39=sum(sum(const(const(<wbr>maskout(mph.2,mph.2-39),1),0,-<wbr>u),t=1,t=&#39;tfinal&#39;),e=2,e=&#39;<wbr>efinal&#39;)&#39;<br>
&#39;spd58=sum(sum(const(const(<wbr>maskout(mph.2,mph.2-58),1),0,-<wbr>u),t=1,t=&#39;tfinal&#39;),e=2,e=&#39;<wbr>efinal&#39;)&#39;<br>
&#39;spd74=sum(sum(const(const(<wbr>maskout(mph.2,mph.2-74),1),0,-<wbr>u),t=1,t=&#39;tfinal&#39;),e=2,e=&#39;<wbr>efinal&#39;)&#39;<br>
</font><br>
That ought to be enough to get you started drawing your own cyclone tracks. </div>
<div dir="auto" style="word-wrap:break-word">
<br>
</div>
<div dir="auto" style="word-wrap:break-word">
In the meanwhile, here is my latest, with Jose and Maria: </div>
<div dir="auto" style="word-wrap:break-word">
<br>
</div>
<div dir="auto" style="word-wrap:break-word">
<img id="m_3053969448574981989FA6CC470-041E-4D2B-B098-FA90A514A52A" src="cid:2AFE93CD-A2FC-4E13-A95C-E655390F8E75@mesa.gmu.edu"><br>
<div><br>
<div><br>
<blockquote type="cite">On Sep 7, 2017, at 3:40 PM, Frank Colby &lt;<a href="mailto:Frank_Colby@uml.edu" target="_blank">Frank_Colby@uml.edu</a>&gt; wrote:<br>
<br>
Jennifer,<br>
<br>
Beautiful map!  Would you share the script?<br>
<br>
Thanks,<br>
Frank Colby<br>
UMass Lowell<br>
<br>
______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
</blockquote>
<br>
<div>--<br>
Jennifer Miletta Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
George Mason University<br>
<br>
<br>
</div>
<br>
</div>
</div>
</div>
</div>

<br>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br></blockquote></div><br></div></div>