mbm_arc2grdSection: MB-System 5.0 (1)
Updated: 26 October 2009
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 (email@example.com)
Monterey Bay Aquarium Research Institute
Dale N. Chayes (firstname.lastname@example.org)
Lamont-Doherty Earth Observatory
xyz2grd: nx = 1597 ny = 1431
Last Updated: 26 October 2009
Return to list of MB-System manual pages...
Back to MB-System Home Page...