On Feb 4, 2008 9:01 AM,  &lt;<a href="mailto:gall@meteo.psu.edu">gall@meteo.psu.edu</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Arlindo,<br><br>Thank you for all your help. &nbsp;I have succesfully installed<br>grads-1.9.0-rc1-bin-x86_64... &nbsp;and grads-1.9.0-rc1-gex-x86_64... and<br>set the necessary environmental variables. &nbsp;When I open grads and do a<br>
&#39;query udft&#39;, I see fish.<br><br>In testing the fish udf, I ran into a problem:<br><br>ga-&gt; psi=fish(vor)<br>Error from fish: lat/lon coords must be LINEAR<br></blockquote><div><br>Did you try the utFish <a href="http://example.gs">example.gs</a>? The test data set is here<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://opengrads.org/test_data">http://opengrads.org/test_data</a><br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Is there anyway around this or do I need to recreate my ctl and dat<br>file with linear lat/lon coords? &nbsp;</blockquote><div><br>You should be able to do this on the fly, read on.<br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is there some grads command I can<br>issue to have values interpolated to linear lat-lon coords?<br></blockquote><div><br>Yes, unfortunately fishpak requires a regular lat/lon grid. However you should be able to use the re() extension to interpolate it to a regular grid. Documentation for re() is here:<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://opengrads.org/doc/udxt/re/">http://opengrads.org/doc/udxt/re/</a><br><br>The simplest usage is<br><br>ga-&gt; d re(ps,1)<br><br>to interpolate &#39;ps&#39;&nbsp; to a 1x1 regular lat/lon grid. It may be better to compute vorticity on the native grid and then interpolate it to a regular grid.<br>
&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Any clarification would be most appreciated. &nbsp;Thanks again for all of<br>your help.<br>
</blockquote><div><br><br>You are welcome. I&#39;m cc&#39;ing this to gradsusr as it may be useful to other fish() users as well.<br><br>&nbsp;&nbsp; Good Luck,<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Arlindo<br><br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>--Jeff<br><div><div></div><div class="Wj3C7c"><br><br>Quoting Arlindo da Silva &lt;<a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>&gt;:<br><br>&gt; On Feb 3, 2008 10:28 PM, &lt;<a href="mailto:gall@meteo.psu.edu">gall@meteo.psu.edu</a>&gt; wrote:<br>
&gt;<br>&gt;&gt; Arlindo,<br>&gt;&gt;<br>&gt;&gt; Thanks for all of your assistance in helping me figure this out. &nbsp;I am<br>&gt;&gt; running on a PC red hat linux 64-bit system. &nbsp;Can I use the<br>&gt;&gt; precompiled supplibs or do I have to build them?<br>
&gt;<br>&gt;<br>&gt; You realize that we have grads binaries for x86_64 that could use without<br>&gt; doing any build, right? And that if these do not work the i686 binaries may<br>&gt; work. Look at the &quot;grads&quot; package at our download area at <a href="http://sf.net" target="_blank">sf.net</a>.<br>
&gt;<br>&gt; Also, if I can use a<br>&gt;&gt; pre-compiled supplibs, which file is it? &nbsp;Is it<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;supplibs-2.0.1-x86_64-unknown-linux-gnu.tar.gz ?<br>&gt;<br>&gt;<br>&gt; Yes, you should be able to use the pre-compiled supplibs. Actually, use the<br>
&gt; v2.0.0 for &nbsp;GrADS v1.9. The supplibs-2.0.1 is meant for the just release<br>&gt; GrADS v2. The &quot;Release Notes&quot; should say so.<br>&gt;<br>&gt; In summary, if are allowed to, just install binaries<br>&gt;<br>
&gt; grads-1.9.0-rc1-bin-x86_64... &nbsp; (binaries under package grads)<br>&gt; grads-1.9.0-rc1-gex-x86_64... &nbsp;(extensions binary under package<br>&gt; &quot;extensions&quot;)<br>&gt;<br>&gt; Then set the UDXT environment variable and you are set to start using<br>
&gt; fish().<br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Arlindo<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Arlindo da Silva<br>&gt; <a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>&gt;<br><br><br>
<br></div></div><div><div></div><div class="Wj3C7c">--<br>Jeffrey S. Gall<br>Graduate Research Assistant<br>Dept. of Meteorology<br>Pennsylvania State University<br><br><a href="http://www.meteo.psu.edu/%7Egall" target="_blank">www.meteo.psu.edu/~gall</a><br>
<br>----------------------------------------------------------------<br>This message was sent using IMP, the Internet Messaging Program.<br><br></div></div></blockquote></div><br><br clear="all"><br>-- <br>Arlindo da Silva<br>
<a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>