Coefficients from grdtrend

Hello Dear developers,

I wonder if there is a way to get the coefficients from gmt grdtrend, in my case m1, m2, m3 since I’m fitting a plane and subtract it from a grid file. I need to evaluate the trend.

Thanks in advance,

Seems to be no option for that. I take it you need those to compute things outside of GMT? You can file a feature request on GitHub.

Actually I detrended a grid file with Matlab. Then, the comparison between detrended grids with “grdtrend” and Matlab give differences in the order of 25e-2, which in my case I consider them significant, that’s why I wanted to have a look at the coefficients.
Thanks, I will request it on GitHub.