I use grdtrack to extract grid points from a grid. The file with the grid points looks like this:
lon lat name altitude 7.4475 46.9480 Bern 540
Now, grdtrack inserts the value from the grid between the latitude-column and name-column. Is it possible with an option that grdtrack inserts the value from the grid at the end (after the altitude)?
lon lat name altitude sample 7.4475 46.9480 Bern 540 0.8782911
I am using GMT 6.1.1. Under GMT 4.5.5 the value (sample) was added at the end of the line by default.
Thank you for the support!