Good day to all
I have 3 1D arrays of data, let’s say lat=[28.9, 30.2, 27.5], lon=[18.0, 17.6, 18.85], Temp=[22.22, 20.1, 20.1]. Please notice that none of them is in ascending or descending order of values. How can I make the required 2D arrays to plot them over a basemap with contourf of matplotlib? I understand that I first have to arrange the lon and lat arrays in ascending order (using sort) and then create the meshgrid. My problem is how to create the related 2D array of Temp.
Thank you in advance Sakis