Re: xyz2grd
Paul Wessel <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <[email protected]> |
I assume those "rivers" are the locations where you actually have data. If you want to interpolate between these data you will need to consider a 2-D interpolation, a.k.a. gridding. xyz2grd is not a gridder, it is a reformatter, mostly. For gridding, see examples in the gallery that uses surface, greenspline, triangulate, etc. -p On Mar 3, 2014, at 1:07 PM, Mr Abhash Kumar <[email protected]> wrote: > Hi, > I am using xyz2grd to convert the text file into grid file as follows: > > xyz2grd Perugravity.txt -R-78/-66/-20/-9 -I1k -GPerugravity.grd -V > > and then trying to get image of the grid file: > > system "grdimage -Y2i Perugravity.grd $rflag $jflag $bflag -C$cptfn2 -V -K > $psfn\n"; > > Instead of getting a smooth grid surface of bouguer anomaly for the Peru region, I am getting image with discrete branching like course of river distributed all over. I have attached both the text file and the image of the grid. I would extremely grateful for any suggestion. > > Thanks > Abhash kumar > University of North Carolina at Chapel Hill > To unsubscribe, send the message "signoff gmt-help" to [email protected] <Bouguer.pdf><Perugravity.txt> To unsubscribe, send the message "signoff gmt-help" to [email protected]