Re: [Matplotlib-users] reprojecting a Gaussian Grid to a regular grid [SOLVED]

2010-11-02 Thread John
I guess sometimes its best to dig into ipython. I apparently misunderstood interp, but it seems it doesn't need to be used only with grids created from a Basemap instance. I created the following function which accomplishes my goals (I know this shouldn't all be in one function, I'll look into maki

[Matplotlib-users] reprojecting a Gaussian Grid to a regular grid

2010-11-02 Thread John
Hello, I have a set of data on a Gaussian grid. I have a latitude array, a longitude array, and a data array: In [121]: vlats.shape Out[121]: (880, 1760) In [122]: vlons.shape Out[122]: (880, 1760) In [123]: vtypes.shape Out[123]: (880, 1760) The longitude seems to go from -360 to 0.6, the latitud