Sorry to come out so often with GMT solutions in this GDAL list but
somethings are so trivial there. If you can trust that all your negative values are (mean)seawater, this will do the job grdclip yourGrid -Sb0/0 -Gclipped_grid.nc Note, one need the dev GMT5 version to read all grid formats through GDAL, otherwise (GMT4) "yourGrid" should be netCDF Joaquim
|
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev