Hi Tom,
Thanks for your reply. What I am really looking for is a code based
method. For example, if there was a function, let's call it 'getScalar',
that would, for some plot such as a contour plot on a given dataSet, return
the field value at a given latitude/longitude, as in the following code
snippet:
disptype = java.lang.String("planviewcontour")
dc = createDisplay(disptype,dataSet)
fieldValue = dc.getScalar(lat,lon)
Even better would be to obtain the field value without creating a display.
Cheers,
Paul Graham
On 3 January 2013 02:33, Tom Whittaker <whittaker@xxxxxxxx> wrote:
> Paul --
>
> If you want to display interpolated values as you move the pointer
> around with the middle mouse button pressed after you have displayed
> the contour analysis, then set the "sampling mode" (in the Preferences
> panel, under "Formats & Data" tab) to "Weighted Average". (The
> "Nearest Neighbor" choice gives a readout of just the nearest grid
> point.)
>
> If you want to do something else, please provide more info.
>
> tom
>
> On Tue, Jan 1, 2013 at 5:23 PM, Paul Graham <meteorpaul@xxxxxxxxx> wrote:
> > Hi IDV Users,
> >
> > Can someone advise the best way to do grid interpolation in IDV. Is
> there
> > a jython function? For example, if I have a 2d pressure field and want
> to
> > do a contour plot but wish to find contour values at any lat/lon (not
> just
> > on a grid point) what is the best approach?
> >
> > Thanks,
> >
> > Paul
> > _______________________________________________
> > idvusers mailing list
> > idvusers@xxxxxxxxxxxxxxxx
> > For list information, to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/
>
>
>
> --
> Tom Whittaker
> University of Wisconsin-Madison
> Space Science & Engineering Center (SSEC)
> Cooperative Institute for Meteorological Satellite Studies (CIMSS)
> 1225 W. Dayton Street
> Madison, WI 53706 USA
> ph: +1 608 262 2759
>