You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to write a wrapper of the xyz2grd function , in a similar way to the grdfilter wrapper:
I added the function to the gridops.py file, and call it in the init.py file. Still, the function doesn't appear when I try to call it.
Maybe it wasn't as simple as change the 'grdcut' to 'grdfilter', but I would expect it to recognise the function anyway, and then give me errors...
xyz2grd
The function is used to transform a table/text file into a binary grid file.
@carocamargo It seems you almost finished wrapping xyz2grd. Perhaps you could submit a pull request so that we can comment and improve it together? Of course, it's OK if you want to finish grdfilter (#616) first.
BTW, xyz2grd is a gridding module. Perhaps better to put it in pygmt/gridding.py, like surface?
@carocamargo It seems you almost finished wrapping xyz2grd. Perhaps you could submit a pull request so that we can comment and improve it together? Of course, it's OK if you want to finish grdfilter (#616) first.
BTW, xyz2grd is a gridding module. Perhaps better to put it in pygmt/gridding.py, like surface?
Ok, I think I did a PR for the xyz2grd function (on gridding.py)
Activity
weiji14 commentedon Sep 28, 2020
Could you try removing the space at line 222 between
@kwargs_to_stringanddef xyz2grdto see if that helps?carocamargo commentedon Sep 28, 2020
It didn't...
seisman commentedon Sep 28, 2020
@carocamargo It seems you almost finished wrapping xyz2grd. Perhaps you could submit a pull request so that we can comment and improve it together? Of course, it's OK if you want to finish grdfilter (#616) first.
BTW,
xyz2grdis a gridding module. Perhaps better to put it inpygmt/gridding.py, likesurface?carocamargo commentedon Sep 29, 2020
Ok, I think I did a PR for the xyz2grd function (on gridding.py)