Re: [Matplotlib-users] re grid non regular data, then mask for continents / artifacts

2009-08-12 Thread Christopher Barker
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/ORR(206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115   (206) 526-6317   main reception

chris.bar...@noaa.gov

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] re grid non regular data, then mask for continents / artifacts

2009-08-11 Thread John [H2O]

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


-- 
View this message in context: 
http://www.nabble.com/regrid-non-regular-data%2C-then-mask-for-continents---artifacts-tp24920704p24926044.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users