John [H2O] wrote:
> Impatiently I somewhat double posted (though, actually, I thought this was a
> better list than scipy for the question). Regardless... the conversation is
> mostly here:
> http://www.nabble.com/2d-interpolation%2C-non-regular-lat-lon-grid-td24909685.html
One comment:
mgrid() is designed to interpolate form unstructured data to a regular grid.
Given that your data is, in fact, quite structured, I suspect you may
get better results from a a custom-written interpolator -- simple
bi-linear (or bspline) interpolation would be pretty easy to write, and
may give you a cleaner result. You may even be able to grab code
straight from scipy.interpolate, an apply it on the different portions
of your grid separately.
HTH,
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chr...@no...
|