![](https://secure.gravatar.com/avatar/764323a14e554c97ab74177e0bce51d4.jpg?s=120&d=mm&r=g)
On Tue, Aug 11, 2009 at 08:54, John [H2O]<washakie@gmail.com> wrote:
Answering my own question, but seeking comments.
Apparently matplotlib.mlab.griddata does exactly what I need.
However, I would be interested in know more about how to use this, and to exert a little tighter control over it. One issue, as can be seen below, is that there are clearly artifacts. I would like to create a masking array, based on my raw data array, but as it has a highly irregular shape, this doesn't seem trivial. Suggestions?
Are you using lat/lon as X/Y for griddata? Or are you projecting it first? You should project. Not seeing your code or data, I'm not sure I can diagnose what is going wrong with the interpolation. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco