Hello, I have a problem using grdfilter. I have a bathymetry grid created by mbsystem with format nf=GMT netCDF format (32-bit float, COARDS, CF-1.5. The idea is to get the residual bathymetry applying a high pass filter but when I try to apply grdfilter with this command:
gmt grdfilter GridBaty.grd -Gresidual_baty.grd -Fm1+h -D4 -R -V
Appears this error:
grdfilter: Output grid domain incompatible with input grid domain
I think it refers to a space or time domain, my data are in space domain, so I don`t understand what is happening.
I changed the format with grdconvert to convert from .grd to .nc but the mistake is still.
Could someone help me to understand what happen?
Thanks a lot,
Cheers
You have -R without an argument, implying that the -R setting will be inherited from the history. What is the last -R setting that you prescribed and how does it compare to the region in GridBaty.grd?
Thanks for your answer.
According with the grdfilter man page:
-R [Default: Same as input.] for this reason I used only -R.
I have just applied -Rwest/east/south/north (with real values) but the error is the same:
grdfilter: Output grid domain incompatible with input grid domain