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
This function will probably be named select, i.e. called using pygmt.select(). As a table in, table out function, the implementation would be similar to already wrapped functions like blockmedian/blockmean. The code snippet would look something like so:
Initial commit for wrapping the gmtselect function for #1427
which selects data table subsets based on multiple spatial
criteria. Original GMT `gmtselect` documentation is at
https://docs.generic-mapping-tools.org/6.2/gmtselect.html.
Aliased non-common optional parameters reverse (I) and
z_subregion (Z).
Initial commit for wrapping the gmtselect function for #1427
which selects data table subsets based on multiple spatial
criteria. Original GMT `gmtselect` documentation is at
https://docs.generic-mapping-tools.org/6.2/gmtselect.html.
Aliased non-common optional parameters reverse (I) and
z_subregion (Z).
Can we close the issue, since the initial wrapper has been done in #1429? Or do we still want to keep this issue open to tracking missing aliases, and gallery examples? Keeping the issue open makes me think that it has not been wrapped.
Description of the desired feature
Implement
gmtselect
which "Select data table subsets based on multiple spatial criteria".Mentioned at https://twitter.com/ATiredGradStdnt/status/1417189659365498884, also partially used before at https://forum.generic-mapping-tools.org/t/gmt-example-18-with-pygmt-volumes-and-spatial-selections/1585.
This function will probably be named
select
, i.e. called usingpygmt.select()
. As a table in, table out function, the implementation would be similar to already wrapped functions likeblockmedian
/blockmean
. The code snippet would look something like so:pygmt/pygmt/src/blockm.py
Lines 41 to 64 in 31980e8
Xref table I/O discussion at #1268 and #1318. Best to wrap this module after #1426.
Are you willing to help implement and maintain this feature? Yes
The text was updated successfully, but these errors were encountered: