[Matplotlib-users] grd file

2007-04-20 Thread Lionel Roubeyrie
hi all, is there a way to plot (contourf) a .grd file from GMT directly with Basemap? I have a problem with contourf because I can't reshape to 2D the Z values ,x and y are in Lambert projection, so I can't compute the shape :-( thanks -- Lionel Roubeyrie - [EMAIL PROTECTED] Chagé d'études et

Re: [Matplotlib-users] grd file

2007-04-20 Thread Jeff Whitaker
Lionel Roubeyrie wrote: Hi Jeff, yes, lambert is not the problem, you're right. I have some .grd files with x,y,z values, and I want to project z values on maps and interpolate them. I don't have the dimensions of the shape, but with m.scatter(x, y, z), I see that the scatters are

Re: [Matplotlib-users] grd file

2007-04-20 Thread Lionel Roubeyrie
By grd file, I mean csv like file, with one line by value, like X1 Y1 Z1 X2 Y1 Z2 X3 Y1 Z3 ... X1 Y2 Zk X2 Y2 Zk+1 ... Xi Yj Zn this is in geographic format, where there is a repetition in the X values and the Y values, because the grid