Decompose grid to spherical harmonics coefficients - grd2sph
|Target version:||Candidate for next minor release|
While GMT has sph2grd (evaluate a grid given spherical harmonics coefficients) we do not yet have the inverse solution: Building those coefficients from a global grid. We should add this tool to the GMT 5.2 suite. It must be able to handle both gridline- and pixel-registered grids. As for various normalizations, see the choices offered by sph2grd.