Hello,friends
there has four data is 12.5m spacing,and i use grdblend command to blend them together,and the blendedfile shows it has a spacing of 12.5005167852m.
but the range was right ,it seemed to call a resample command,Why? and how i can get a 12.5m blended file?
Thanks a lot!
the four data ready to be blend:
The manul told :Any input grid that does not share the final output grid’s node registration and grid spacing will automatically be resampled ,but it obviously not that case.
Thanks a lot,Then i tryed another range: gmt grdblend blend.job -Gblend.grd -R759256.6875/900431.6875<U+202C>/8149043.00/8268355.5<U+202C>
Which is the multiple of 12.5,and the info of result:
Big Thanks! Professor! Then i tryed another range: gmt grdblend blend.job -Gblend.grd -R759256.6875/900431.6875<U+202C>/8149043.00/8268355.5<U+202C>
Which is the multiple of 12.5,and the info of result:
How to choose a right range?
I want the result is 12.5m spacing and non resampled
I tried another software name global mapper and it return the result i wanted,
But i also hope to use gmt to do the same thing!
Wait a minute. Your -R is full of hidden control characters that switches the args around. Please the -R again without copy/paste from a web page or word doc or whatever you did. Works fine then.
I think this is the result of a mix between grid and pixel registrations. Sometimes the blend is reported as grid and other as pixel. And about the difference from 12.5, see
(12.5 /2)/11294
ans =
0.000553391181158137
which is the difference from 12.5 in your case above
Not sure what you mean. Would need to check more closely, but it might happen that your case does not have a solution that does not reinterpolate (which is different from the 12.5 increment issue). If grid origins are not at integer steps of 12.5 from each other to do a blend some must be reinterpolated. The non 12.5 issue is a question -R and -r