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
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
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
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
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 with the 2nd (nested) grid to go atop.
fig=plt.figur