Perhaps look for both maxima and just automatically reject the one that is more poleward. You can use the cdiff function to compute derivatives and run the first derivative test to find maxima.<div><br>Jeff<br><br><div class="gmail_quote">
On Wed, Dec 12, 2012 at 8:38 PM, Muhammad Yunus Ahmad Mazuki <span dir="ltr"><<a href="mailto:ukm.yunus@gmail.com" target="_blank">ukm.yunus@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Well, I'm also looking into other ways in doing this, other than scripting in GrADS. There are two jet stream, subtropical and polar front, and I want to track the subtropical jet even when it is weak in strength. I'm also looking at how to search it degree by degree (or rather y and z point in GrADS), with some rules. This is because when there is a need to introduce some events in a model that literally wrecks the usual pattern of the subtropical jet stream, I need to be sure that my calculation is tracking purely subtropical jet stream.<br>
<br>Muhammad Yunus<br><br><div class="gmail_quote">On Wed, Dec 12, 2012 at 1:44 AM, Jeff Duda <span dir="ltr"><<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
This is hard to get around given the rules you've set forth. If you can't restrict your search box yet you don't want the maxima that occur at certain spots, how can you tell a script to make that distinction? What is it about the one jet core that makes it the one you want? When you can answer that, then you know how to adjust your search to always get the jet core you want.<br>
<br>Jeff Duda<br><br><div class="gmail_quote"><div><div>On Tue, Dec 11, 2012 at 1:18 AM, Muhammad Yunus Ahmad Mazuki <span dir="ltr"><<a href="mailto:ukm.yunus@gmail.com" target="_blank">ukm.yunus@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>Hello,<br><br>The picture attached is a slice of longitude 180E, from 40 S to 20S. As you can see, the core that I wanted is at the 23S with wind speed of 18. I have tried using maximum value function in grads, as well as maximum location, but it would give me 39S corresponding to a core below 40S, which I do not want. I would like to request suggestion on solving this problem. Changing the latitude range to less than 40S however is not acceptable, as at certain condition the core can be at 38 S. <br>
<br>Sincerely, <br>Muhammad Yunus<br>
<br></div></div>_______________________________________________<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/listinfo/gradsusr</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><span class="HOEnZb"><font color="#888888"><br>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br>
<br>
</font></span></font></span><span class="HOEnZb"><font color="#888888"><br>_______________________________________________<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/listinfo/gradsusr</a><br>
<br></font></span></blockquote></div><br>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br><br>
</div>