gmt icon indicating copy to clipboard operation
gmt copied to clipboard

Making grids: create flow chart to help users

Open anbj opened this issue 3 years ago • 6 comments

GMT provides several ways of gridding data;

  • triangulate
  • nearneighbor
  • greenspline(?)
  • sphinterpolate(?)
  • surface
  • more?

What about adding a section (where appropriate) and figure/flow chart in the docs that help users to choose the right algorithm for their data?

I'm happy to help with this (when time permits..), but I would need some help and input. Many of the aforementioned utilities are new to me, and I don't have the necessary fingerspitzengefühl.

anbj avatar Apr 09 '22 19:04 anbj

It is a good idea and has been considered before. I may have some background stuff for this in the interpolation section in my course notes/book, but not looking forward to the latex to rst translation. Well, not to bad.

PaulWessel avatar Apr 09 '22 21:04 PaulWessel

Very interesting. You write book; are you referring to ‘Introduction to statistics & data analysis’?

anbj avatar Apr 09 '22 21:04 anbj

No, something not published.

PaulWessel avatar Apr 09 '22 21:04 PaulWessel

Sounds like a hidden gem.

anbj avatar Apr 09 '22 21:04 anbj

Some thoughts that I have (or, questions really)

  • sparse vs. dense data
  • geo vs. cartesian (does this matter? One may go from one to the other)
  • speed..?

anbj avatar Apr 29 '22 07:04 anbj

There is also data size. If less than ~10k data points (computer memory dependent) you can get an exact solution with greenspline whereas with surface you will get an approximate one since it never will fully converge. But surface can handle gazillion points. There is issues such as global geo (spherical earth matters) vs local small area (no wrapping over poles to worry about)

PaulWessel avatar Apr 29 '22 18:04 PaulWessel