gr2stn function use

sajjad saeed sajjad_met at HOTMAIL.COM
Thu May 17 01:02:04 EDT 2007


Dear all,

The general form to use gr2stn is

gr2stn(grid_expr, lon, lat <,-a>)
or
gr2stn(grid_expr, stn_expr <,-a>)

where grid_expr is a GrADS expression that gives a grid result. stn_expr is
a GrADS expression that gives a station data result.

but when I am using the above function the following error occurs

ga-> d gr2stn(rfddd,72.5,33.2,-a)
Error from GR2STN:  Too many or too few args
                    Two arguments expected
Operation Error:  Error from gr2stn function
  Error ocurred at column 1
DISPLAY error:  Invalid expression
  Expression = gr2stn(rfddd,72.5,33.2,-a)

I also tried the above function as below

ga-> d gr2stn(rfddd,72.5,33.2)
Notice:  Automatic Grid Interpolation Taking Place
Error from GR2STN: 2nd argument must be stns
Operation Error:  Error from gr2stn function
  Error ocurred at column 1

or
ga-> d gr2stn(rfddd,lon=72.5,lat=33.2,-a)
Error from GR2STN:  Too many or too few args
                    Two arguments expected
Operation Error:  Error from gr2stn function
  Error ocurred at column 1
DISPLAY error:  Invalid expression
  Expression = gr2stn(rfddd,lon=72.5,lat=33.2,-a)


Can some one help me how to use it?

Many thankx in advance

Sajjad

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search!
http://search.msn.com/



More information about the gradsusr mailing list