On Tue, Feb 15, 2011 at 8:04 PM, Ting-Chi Wu <span dir="ltr">&lt;<a href="mailto:twu@rsmas.miami.edu">twu@rsmas.miami.edu</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br><br>I tried to use<big><strong><span> &quot;fish.gex&quot; (GrADS Extension Library for Calculating Streamfunction/Velocity Potential</span></strong></big>) to calculate streamfunction from known u and v fields. I read through the website here: <a href="http://opengrads.org/doc/udxt/fish/fish.html" target="_blank">http://opengrads.org/doc/udxt/fish/fish.html</a><br>

It looks like this function can only apply to global lat/lon domain.<br></blockquote><div><br></div><div>True. Solving the poisson equation on a local domain is trickier because you need to specify boundary conditions.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">My data is in lat/lon coordinate already, but it is not global since my data is output from mesoscale model.<br>
Whenever I used fish_psi(u,v) to get streamfunction, I get error messages &quot;error from fish: rc=1000&quot;<br>
I tried to narrow down my lat and lon range, and it still doesn&#39;t allow me to calculate.<br>Does anybody know how should I deal with it?<br></blockquote><div><br></div><div>Sorry, fish requires a global domain. </div>
<div><br></div><div>   Arlindo</div><div><br></div></div><br>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>