Hi, I’m still working on my interpolating from an irregularly space grid and then running pcolormesh on the resulting output. With some of the newer data I’ve been plotting I’ve noticed that my plots are complete garbage. I realized that this was actually because of the output from griddata rather than some problem with pcolormesh/pcolor/etc (basically I get huge negative values like -80000 from the interpolation when all of my data points lie within [0,20]) .
Googling I found out that the default griddata has some problems, and that there is a better, more robust version available through natgrid. I downloaded the natgrid-0.2.1 package from here http://sourceforge.net/projects/matplotlib/files%2Fmatplotlib-toolkits%2Fnatgrid-0.2/.
My question now is, how do I install this and give it a shot? I’m running on Ubuntu (or Xubuntu rather). The README doesn’t seem to have any directions.
Also, let’s say that this new griddata doesn’t work for me, is there something else I could try? The interpolation problems are strange, because I can break my data into 3 segments (I read 3 files to obtain the data so this is the natural way to do it) and I can plot and interpolate correctly any segment individually. It’s only when I do all 3 segments together that the interpolation begins to fail.
Thanks for the continued help!