Export and save a grid with pyGMT

https://www.pygmt.org/latest/api/generated/pygmt.grdlandmask.html

Parameters:

  • outgrid (str or None) – Name of the output netCDF grid file