Interpolating on two variables [message #74874] |
Sat, 05 February 2011 16:35 |
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.
|
|
|