Now I have a 24*20 array as below:
In [748]: zb_mean
Out[748]:
array([[ nan, 20.68575654, 14.11937546, nan,
nan, nan, nan, nan,
nan, nan, nan, nan,
nan, nan, nan, nan,
nan, nan, nan, nan],
[ nan, nan, nan, nan,
nan, nan, nan, nan,
nan, nan, nan, nan,
... ... ...
... ... ...
In [749]: zb_mean.shape
Out[749]: (24, 20)
then I creat a grid according to the lat/lon as below:
xi = np.arange(-66,-72,-0.25)
yi = np.arange(40.5,45.5,0.25)
In [755]: len(xi),len(yi)
Out[755]: (24, 20)
xxb,yyb = np.meshgrid(xi, yi)
now the grid and the array have same dimension,I want to plot this grid(xxb,yyb) with the correspond value of array(zb_mean) in the center of each small grid, how should I do?thank you very much!