mbm_arc2grdSection: MB-System 5.0 (1)
Updated: 3 June 2013
NAMEmbm_arc2grd - Macro to convert an ArcView ASCII grid to a GMT grid file in the GMT NetCDF grid format.
SYNOPSISmbm_arc2grd -Iarcfile -Ogrdfile [-H -V]
DESCRIPTIONmbm_arc2grd is a macro to convert a ArcView ASCII grid to an GMT grid file in the GMT NetCDF grid format. This allows users to import the grid into GMT. The grid will have the same grid interval in both longitude and latitude. The macro first obtains the bounds, dimensions, and grid cell size of the grid by parsing the six line header. The macro then reformats the gridded data as xyz data, writing it to a temporary file. This temporary file is processed using the GMT program xyz2grd, yielding a GMT GRD format grid file.
AUTHORSHIPDavid W. Caress (firstname.lastname@example.org)
Monterey Bay Aquarium Research Institute
Dale N. Chayes (email@example.com)
Lamont-Doherty Earth Observatory
xyz2grd: nx = 1597 ny = 1431
Last Updated: 3 June 2013
Return to list of MB-System manual pages...
Back to MB-System Home Page...