Re: [Matplotlib-users] Nested grids

2011-06-07 Thread Eric Firing
On 06/07/2011 11:36 AM, Bruce Ford wrote: > That's what I thought, but the code below fails (ValueError: Shape > mismatch objects cannot be broadcast to a single shape) when trying to > plot the 2nd parameter. Do I need another basemap? No, but check the dimensions of t2m; maybe it is transposed

Re: [Matplotlib-users] Nested grids

2011-06-07 Thread Bruce Ford
That's what I thought, but the code below fails (ValueError: Shape mismatch objects cannot be broadcast to a single shape) when trying to plot the 2nd parameter. Do I need another basemap? Appreciate any thoughts! from mpl_toolkits.basemap import Basemap, shiftgrid from netCDF4 import Dataset i

Re: [Matplotlib-users] Nested grids

2011-06-07 Thread Benjamin Root
On Tuesday, June 7, 2011, Bruce Ford wrote: > That's what I thought, but the code below fails (ValueError:  Shape mismatch > objects cannot be broadcast to a single shape) when trying to plot the 2nd > parameter.  Do I need another basemap? > > Appreciate any thoughts! > > from mpl_toolkits.base

Re: [Matplotlib-users] Nested grids

2011-06-06 Thread Benjamin Root
On Monday, June 6, 2011, Bruce Ford wrote: > Does anyone have an example of nested grids. > I need to (for instance), plot a global grid in filled contours, then plot > another, higher resolution grid over the US.The global grid could work > something like this, but I'm not sure where to start w