I have two data arrays that are on lat-lon grids. The first one, A, has the shape (89, 180). The second one, B, has the shape (94, 192). A's latitudes are in descending order from 88. to -88. & longitudes are in ascending order from 0. to 358. B's latitudes are in descending order from 88.54199982 to -88.54199982 & longitudes are in ascending order from 0. to 358.125.
I want to regrid/interpolate B's data onto A's coordinate system so that I can get both arrays the same size and calculate the spatial correlation between them. (I can also regrid/interpolate A's data onto B's coordinate system if that's easier.) I tried mpl_toolkits.basemap.interp(datain, xin, yin, xout, yout), but that requires xout & yout to be the same size. I also tried scipy.interpolate.griddata, but I can't figure out how it works and I'm not even sure that'll get me what I'm looking for...