Re: [idvusers] Grid interpolation in IDV

Hi Stuart,

In hindsight, contours were not a good example of what I am wanting.  What
I am wanting is to be able to interpolate gridded data sets, so I can put
in a lat/lon and obtain a field value, preferably using a Jython method.
 It would be good if IDV has a Jython method that could do this.

Paul Graham

On 3 January 2013 10:42, Stuart Wier <wier@xxxxxxxxxx> wrote:

> Paul,
>
> Given:
>
>
>  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,
>>
>
> such contour lines would be in most cases be derived from the "data set"
> (presumably gridded or irregular values) and hence be a degraded
> characterization of the data set.
>
> Why not interpolate directly from the "data set" to the desired location?
>  There are many algorithms to do that, outside the IDV.  No value at all in
> going through contour lines if you have data point values.
>
> I have in the distant past written code to make contour lines from grids
> (some of that code may still be in the IDV) and also to make grids from
> contour lines.  But I would never chain those two together.  Nor do I have
> the second code any longer.  Highly specialized and not very reliable.
>
> Stuart Wier
>
> UNAVCO
>
>
>  return
>
>> the field value at a given latitude/longitude, as in the following code
>> snippet:
>>
>>
>


-- 
Paul Graham
Email: meteorpaul@xxxxxxxxx
Mobile: 0403003784