comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Interpolating on two variables
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Interpolating on two variables [message #74874] Sat, 05 February 2011 16:35
mankoff is currently offline  mankoff
Messages: 131
Registered: March 2004
Senior Member
Hi Group,

I'm comfortable interpolating a variable from one vector to another,
but I've come across a slightly more complicated case and am seeking
advice.

I have two variables on a flight path. I have lat1, lon1, var1, and
lat2, lon2, var2. var1 and var2 are sampled on the same track, but at
different rates and locations, and no elements in lat1 are ever
exactly equal to any elements in lat2.

Currently I take the higher frequency sample rate, convert to
distance_along_track, repeat for the other variable, then find the
nearest element, etc... then convert back to lat/lon.

I could also leave things in lat/lon coords, and for each element in
var1, find all var2s within a few 10s of m, do a geo-spatial weighted
average, etc.

Is there some other technique I'm missing to easily get var1, lat1,
and lon1 easily comparable to var2, lat2, and lon2?

Thanks,

-k.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Converting map altitude coordinates (Z)
Next Topic: How to Find Bimodal peak values in an array

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 20:01:41 PDT 2025

Total time taken to generate the page: 0.05099 seconds