getting intersection region of two grids

Eric Fielding <[email protected]> Sat, 5 Jul 2014 15:11:32 -1000
Newsgroups gmane.comp.gis.gmt.user
Message-ID <4348858716331589.WA.eric.j.fieldingJPL.NASA.GOV@listserv.hawaii.edu>
This may be a frequently asked question, but I looked for a while in the archives and did not find it. I have two grids with different spacings and regions that I want to combine, they only partially overlap. I was going to use grdresample or grdcut on one to match the other, but both grids include area outside of the other, so I can't just use grid A as the region to cut grid B nor grid B as the region to cut grid A. Is there a trick to do this? Or do I have to go in and calculate the intersection region by hand from grdinfo outputs?

Thanks,
      ++Eric

Mailing list for GMT discussions of all kinds.  If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message "signoff gmt-help" to [email protected]
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.