MB-System Unix Manual Page

mbm_grdinfo

Section: MB-System 5.0 (1)
Updated: 3 June 2013
Index
 

NAME

mbm_grdinfo - Macro to get information regarding a GMT grd file when the region of interest is a subset of the area covered in the input file.

 

VERSION

Version 5.0

 

SYNOPSIS

mbm_grdinfo -Iinfile [-Rw/e/s/n -H -V]

 

DESCRIPTION

mbm_grdinfo is a macro to get information regarding a GMT grd file when the region of interest is a subset of the area covered in the input file. If no bounds are specified, the program grdinfo is called directly. If longitude and latitude bounds are specified, then the specified region is cut from the input file using the macro mbm_grdinfo, and the information is obtained from the subset temporary grd file using grdinfo.

 

MB-SYSTEM AUTHORSHIP

David W. Caress

  Monterey Bay Aquarium Research Institute
Dale N. Chayes

  Center for Coastal and Ocean Mapping

  University of New Hampshire
Christian do Santos Ferreira

  MARUM - Center for Marine Environmental Sciences

  University of Bremen

 

OPTIONS

-H
This "help" flag cause the program to print out a description of its operation and then exit immediately.
-I
infile
Sets the filename of the input GMT grid file. This file must be in the GMT NetCDF GRD format.
-R
w/e/s/n
Sets the bounds of the area of interest in the grid file. The information reported will pertain to this area only.
-V
The -V option causes mbm_grdinfo to print out status messages.

 

EXAMPLES

Suppose that we have used mbgrid to obtain a topography grid file called KohalaA_bath.grd in the GMT NetCDF GRD format:
        mbgrid -Idatalist \

                -OKohalaA_bath \

                -R-155.72855/-155.31928/20.09488/20.47645 \

                -E30.0/0m! -A2 -N -G3 -C1 -V

Further suppose that one wishes to determine the depth range in a smaller area with bounds of 155 degrees 31 minutes W to 155 degrees 26 minutes W in longitude and 20 degrees 13 minutes N to 20 degrees 18 minutes N in latitude. The following will suffice:
        mbm_grdinfo -I KohalaA_bath.grd                 -R-155:31/-155:26/20:13/20:18           -V

 

SEE ALSO

mbsystem(1), mbm_grdplot(1), mbm_grdinfo(1)

 

BUGS

This macro is new and hasn't been tested in serious usage yet - let us know what to fix, add, or change!.


 

Index

NAME
VERSION
SYNOPSIS
DESCRIPTION
MB-SYSTEM AUTHORSHIP
OPTIONS
EXAMPLES
SEE ALSO
BUGS


Last Updated: 3 June 2013