matplotlib.mlab.griddata very slow and returns array of nan when valid data is input

后端 未结 4 726
予麋鹿
予麋鹿 2021-02-10 00:23

I am trying to map an irregularly gridded dataset (raw satellite data) with associated latitudes and longitudes to a regularly gridded set of latitudes and longitudes given by <

4条回答
  •  眼角桃花
    2021-02-10 01:02

    If your data is on a grid such that data point at point (datalon[i], datalat[j]) is in data[i,j], then you can use scipy.interpolate.RectBivariateSpline instead of griddata. Some geography-specific libraries may offer more functionality, though.

提交回复
热议问题