mbm_grdtiff
Section: MB-System 5.0 (l)
Updated: 13 November 2002
Index
NAME
mbm_grdtiff - Create an executable shellscript which will generate a TIFF image of gridded data in a GMT grd file.VERSION
Version 5.0SYNOPSIS
mbm_grdtiff -Ifile [-Amagnitude[/azimuth/elevation] -Gcolor_mode -H -Kintensity_file -Oroot -S[color/shade] -V -W[color_style[/pallette[ncolors]] | cptfile] ]
Additional Options:
[-Dflipcolor/flipshade -MGSscalefactor -Q -Rw/e/s/n -X -Y -Zmin/max]DESCRIPTION
mbm_grdtiff is a macro to generate a shellscript which, when executed, will use the program mbgrdtiff to generate a geographically located TIFF image of gridded data. The primary purpose of this macro is to allow the simple, semi-automated production of a nice looking image with a few command line arguments. Several styles of images can be generated, including color fill and shaded relief maps. The available options mirror a subset of the options in mbm_grdplot, allowing users to easily generate equivalent Postscript plots and TIFF images of gridded data. The program mbgrdtiff recognizes the coordinate system used by mbgrid or mbmosaic to generate a grid file, and then embeds the projection and grid bounds information into the TIFF image in accordance with the GeoTIFF standard. A number of GIS software packages recognize the georeferencing information in GeoTIFF images. In particular, images generated by mbgrdtiff from grids created using mbgrid or mbmosaic can be loaded into the GRASS, ArcInfo, ArcView, and ArcGIS GIS packages as geographically located coverages. The mbgrid and mbmosaic manual pages each contain an appendix with a complete list of the projected coordinate systems that may used in grid generation.AUTHORSHIP
David W. Caress (caress@mbari.org)
Monterey Bay Aquarium Research Institute
Dale N. Chayes (dale@ldeo.columbia.edu)
Lamont-Doherty Earth ObservatorySIMPLE DESCRIPTION OF BASIC OPTIONS
If color_style = 1 [default], then
the color scheme used will be a continuous grading
of colors. If color_style = 2, the color scheme
will be a set of discrete color intervals. The color
pallette used is set using pallette. Five pallettes
are available:
pallette = 1: Haxby colors [default]
pallette = 2: high Intensity colors
pallette = 3: low Intensity colors
pallette = 4: grayscale
pallette = 5: uniform grayscale
A complete description of the color pallettes is given
in the COMPLETE DESCRIPTION OF OPTIONS section below.
The ncolors parameter sets the number of color
values used in plotting, whether the colors are
represented in a continuous color scale or a
stepped, discrete color scale [default is 11].
If the option argument is the path to an existing GMT color pallette (CPT) file, then that CPT file and its color scheme will be used for the plot
If color_style = 1 [default], then
the color scheme used will be a continuous grading
of colors. If color_style = 2, the color scheme
will be a set of discrete color intervals. The color
pallette used is set using pallette. Seven pallettes
are available:
pallette = 1: Haxby colors [default]
pallette = 2: high Intensity colors
pallette = 3: low Intensity colors
pallette = 4: grayscale
pallette = 5: uniform grayscale
pallette = 6: uniform black
pallette = 7: uniform white
The RGB definitions of the color pallettes are:
color pallette 1 - Haxby Color Table
red: 255 255 255 255 240 205 138 106 50 40 37
green: 255 186 161 189 236 255 236 235 190 127 57
blue: 255 133 68 87 121 162 174 255 255 251 175
color pallette 2 - High Intensity Colors
red: 255 255 255 255 128 0 0 0 0 128 255
green: 0 64 128 255 255 255 255 128 0 0 0
blue: 0 0 0 0 0 0 255 255 255 255 255
color pallette 3 - Low Intensity Colors
red: 200 194 179 141 90 0 0 0 0 90 141
green: 0 49 90 141 179 200 141 90 0 0 0
blue: 0 0 0 0 0 0 141 179 200 179 141
color pallette 4 - Grayscale
red: 255 230 204 179 153 128 102 77 51 26 0
green: 255 230 204 179 153 128 102 77 51 26 0
blue: 255 230 204 179 153 128 102 77 51 26 0
color pallette 5 - Uniform Grayscale
red: 128 128 128 128 128 128 128 128 128 128 128
green: 128 128 128 128 128 128 128 128 128 128 128
blue: 128 128 128 128 128 128 128 128 128 128 128
color pallette 6 - Uniform Black
red: 0 0 0 0 0 0 0 0 0 0 0
green: 0 0 0 0 0 0 0 0 0 0 0
blue: 0 0 0 0 0 0 0 0 0 0 0
color pallette 7 - Uniform White
red: 255 255 255 255 255 255 255 255 255 255 255
green: 255 255 255 255 255 255 255 255 255 255 255
blue: 255 255 255 255 255 255 255 255 255 255 255
The Haxby colors have been adapted from a pallette
developed by Dr. William Haxby of the Lamont-Doherty
Earth Observatory; this pallette is pleasing to the
eye and well suited for shading. The high intensity
colors describe linear paths through RGB space from
red to blue to green to purple; because the colors are high
intensity they are not well suited to shading.
The low intensity colors are similar to the high
intensity, but muted and thus well suited to shading.
The grayscale pallette runs linearly from white to
black and is commonly used for plots of sidescan and amplitude
data. The uniform grayscale is useful for non-color
shaded relief plots.
The ncolors parameter sets the number of color
values used in plotting, whether the colors are
represented in a continuous color scale or a
stepped, discrete color scale [default is 11].
If the option argument is the path to an existing GMT color pallette (CPT) file, then that CPT file and its color scheme will be used for the plot
Last Updated: 13 November 2002