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
Create a generic script to mask GMT grid files by a polygon provided in a .gmt or .shp file.
Parameters:
Input grd file
Polygon file
Mask inside / mask outside
Output grd file
Buffer (optional, default 0)
Use GMT grdmask to create a mask grid. Subsequently, use GMT grdmath with the 'INSIDE' operator to set data points inside/outside the mask area to NaN.
Shapefiles should be feasible input polygon files as well and automatically converted to .gmt files with to GDAL ogr2ogr (cf. routine in module 'Create Summary Report').
The text was updated successfully, but these errors were encountered:
Create a generic script to mask GMT grid files by a polygon provided in a .gmt or .shp file.
Parameters:
Use GMT grdmask to create a mask grid. Subsequently, use GMT grdmath with the 'INSIDE' operator to set data points inside/outside the mask area to NaN.
Shapefiles should be feasible input polygon files as well and automatically converted to .gmt files with to GDAL ogr2ogr (cf. routine in module 'Create Summary Report').
The text was updated successfully, but these errors were encountered: