Hi there…
I am looking for a more “elegant” way to merge several grids at once without using temp files like this:
gmt grdmath GRD_X1.grd GRD_X2.grd ADD = temp.grd
gmt grdmath temp.grd GRD_X3.grd ADD = temp1.grd
gmt grdmath temp1.grd GRD_X4.grd ADD = temp2.grd
gmt grdmath temp2.grd GRD_X5.grd ADD = FINAL.grd
I have some few now and I capable to manage them but for sure one or two lines could help.