From the docs https://unidata.github.io/MetPy/latest/api/generated/metpy.interpolate.natural_neighbor_to_grid.html
I have my xp, yp, variable points etc similar to how you would do it in mpl mlab gridder or scipy interpolate, but how is the meshgrid dimension (M,2)?
if i have 1000 columns and 1000 rows, np.meshgrid
would return
# set up a square grid with the same extents as our measured data
numcols, numrows = 1000, 1000
xi = np.linspace(min_grid_val_x, max_grid_val_x, numcols)
yi = np.linspace(min_grid_val_y, max_grid_val_y, numrows)
x_grid, y_grid = np.meshgrid(xi, yi)
# x_grid and y_grid will have shape 1000x1000 respectively
But metpy seems fixed that the dimension is 2? and why is the output (M,N)? shouldn't it be (M,M)? is there something im missing here?