-
Notifications
You must be signed in to change notification settings - Fork 239
Open
Description
This issue serves as the central place for discussing and tracking the implementation of the grdmask method in PyGMT. The issue will be closed when the initial implementation is complete. Progress is tracked at PyGMT: Wrapping GMT modules.
Documentation
- GMT: https://docs.generic-mapping-tools.org/dev/grdmask.html
- GMT.jl: https://www.generic-mapping-tools.org/GMTjl_doc/documentation/modules/grdmask
- PyGMT: https://www.pygmt.org/dev/api/generated/pygmt.grdmask.html
GMT Option Flags and Modifiers
☑️: Implemented; ⬜: To be implemented/discussed; Strikethrough: Won't implement.
-
-A:steps- Steps for polygon path construction -
-C:clobber- Clobber mode for selecting polygons (f|l|o|u) -
-G:outgrid- Output grid file name(pygmt.grdmask: Create mask grid from polygons or point coverage(required arguments) #4428) -
-I:spacing- Grid spacing increment(pygmt.grdmask: Create mask grid from polygons or point coverage(required arguments) #4428) -
-N:mask_values- Values for outside/edge/inside nodes(pygmt.grdmask: Create mask grid from polygons or point coverage(required arguments) #4428) -
-R:region- Region of interest(pygmt.grdmask: Create mask grid from polygons or point coverage(required arguments) #4428) -
-S:search_radius- Search radius for point coverage mode -
-V:verbose- Verbosity level(pygmt.grdmask: Create mask grid from polygons or point coverage(required arguments) #4428) -
-r:registration- Grid registration (gridline or pixel) -
-x:cores- Number of cores for multi-threading -
-a:aspatial- Aspatial column associations -
-bi:binary_in- Binary input format -
-di:nodata_in- Replace nodata values with NaN -
-e:pattern- Data record pattern matching -
-f:coltypes- Data types of input/output columns -
-g:gaps- Data gaps and line breaks -
-h:header- Header record handling -
-i:incols- Input column selection and transformations -
-j:distcalc- Distance calculation method -
-n:interpolation- Interpolation settings -
-q:inrows- Input row selection -
-w:wrap- Cyclic coordinate conversion -
: Use--PAR=valuepygmt.configinstead
Related GMT configurations
PROJ_ELLIPSOID: Affects distance calculations for geographic coordinatesPROJ_GEODESIC: Method used for geodesic calculationsPROJ_MEAN_RADIUS: Used for spherical distance calculations
Linked Pull Requests
- Initial feature implementation(pygmt.grdmask: Create mask grid from polygons or point coverage(required arguments) #4428)
- Add unit tests(pygmt.grdmask: Create mask grid from polygons or point coverage(required arguments) #4428)
- Add documentation examples(pygmt.grdmask: Create mask grid from polygons or point coverage(required arguments) #4428)
Related Issues and Discussions
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature requestNew feature wantedNew feature wanted
Type
Projects
Status
No status