fish()

Arlindo da Silva dasilva at ALUM.MIT.EDU
Mon Feb 4 11:09:01 EST 2008


On Feb 4, 2008 9:01 AM, <gall at meteo.psu.edu> wrote:

> Arlindo,
>
> Thank you for all your help.  I have succesfully installed
> grads-1.9.0-rc1-bin-x86_64...  and grads-1.9.0-rc1-gex-x86_64... and
> set the necessary environmental variables.  When I open grads and do a
> 'query udft', I see fish.
>
> In testing the fish udf, I ran into a problem:
>
> ga-> psi=fish(vor)
> Error from fish: lat/lon coords must be LINEAR
>

Did you try the utFish example.gs? The test data set is here

     http://opengrads.org/test_data


>
> Is there anyway around this or do I need to recreate my ctl and dat
> file with linear lat/lon coords?


You should be able to do this on the fly, read on.


> Is there some grads command I can
> issue to have values interpolated to linear lat-lon coords?
>

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:

             http://opengrads.org/doc/udxt/re/

The simplest usage is

ga-> d re(ps,1)

to interpolate 'ps'  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.


>
> Any clarification would be most appreciated.  Thanks again for all of
> your help.
>


You are welcome. I'm cc'ing this to gradsusr as it may be useful to other
fish() users as well.

   Good Luck,

          Arlindo



>
> --Jeff
>
>
> Quoting Arlindo da Silva <dasilva at alum.mit.edu>:
>
> > On Feb 3, 2008 10:28 PM, <gall at meteo.psu.edu> wrote:
> >
> >> Arlindo,
> >>
> >> Thanks for all of your assistance in helping me figure this out.  I am
> >> running on a PC red hat linux 64-bit system.  Can I use the
> >> precompiled supplibs or do I have to build them?
> >
> >
> > You realize that we have grads binaries for x86_64 that could use
> without
> > doing any build, right? And that if these do not work the i686 binaries
> may
> > work. Look at the "grads" package at our download area at sf.net.
> >
> > Also, if I can use a
> >> pre-compiled supplibs, which file is it?  Is it
> >>        supplibs-2.0.1-x86_64-unknown-linux-gnu.tar.gz ?
> >
> >
> > Yes, you should be able to use the pre-compiled supplibs. Actually, use
> the
> > v2.0.0 for  GrADS v1.9. The supplibs-2.0.1 is meant for the just release
> > GrADS v2. The "Release Notes" should say so.
> >
> > In summary, if are allowed to, just install binaries
> >
> > grads-1.9.0-rc1-bin-x86_64...   (binaries under package grads)
> > grads-1.9.0-rc1-gex-x86_64...  (extensions binary under package
> > "extensions")
> >
> > Then set the UDXT environment variable and you are set to start using
> > fish().
> >
> >           Arlindo
> >
> >
> >
> >
> >
> >
> > --
> > Arlindo da Silva
> > dasilva at alum.mit.edu
> >
>
>
>
> --
> Jeffrey S. Gall
> Graduate Research Assistant
> Dept. of Meteorology
> Pennsylvania State University
>
> www.meteo.psu.edu/~gall <http://www.meteo.psu.edu/%7Egall>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>


--
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20080204/b5de7970/attachment.html 


More information about the gradsusr mailing list