mbm_arc2grd
Section: MB-System 5.0 (1)
Updated: 3 June 2013
Index
NAME
mbm_arc2grd - Macro to convert an ArcView ASCII grid to a GMT grid file in the GMT NetCDF grid format.VERSION
Version 5.0SYNOPSIS
mbm_arc2grd -Iarcfile -Ogrdfile [-H -V]DESCRIPTION
mbm_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.AUTHORSHIP
David W. Caress (caress@mbari.org)
Monterey Bay Aquarium Research Institute
Dale N. Chayes (dale@ldeo.columbia.edu)
Lamont-Doherty Earth ObservatoryOPTIONS
Running xyz2grd...
xyz2grd: nx = 1597 ny = 1431
Last Updated: 3 June 2013