This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Patrick, The coltbl.xwp should have 33 colors in it, the first being the background color, then the following 32 being the colors accessible in your COLORS, LINE, FLINE etc colors. GEMPAK defines 3 color spaces- Graphics, Radar, Satellite with 32, 20, and 95 colors respectively; so, your tables for each have to respect those number of colors. Otherwise, make sure your tables follow the correct columns. See $GEMTBL/colors/coltbl.ptype for an example of a color table I use for FLINE use in grid contours: http://motherlode.ucar.edu/unidata/images/nids/radar_type.gif Steve CHiswell Unidata User Support On Thu, 2005-01-20 at 07:55, Patrick L. Francis wrote: > chiz... > > trying to be 'chizlike' i created an coltbl.xwp > for temperatures to use on gfs forecast 2m plots... > however, when i load it i can't seem to figure out > the proper way to implement the colors.. meaning.. > if this table (below) represents say temperature > contours 'starting at the top' from -140F-->140F > how to make gempak use the colors in that manner? > I hope my confusion makes sense... coffee hasn't > kicked in yet :) .. > > > ! COLTBL.XWP > ! > ! Default XWP and XW color table > ! > !Color name Abrev Red Green Blue X color name > 0 0 0 > 70 0 107 > 107 0 107 > 130 0 130 > 153 0 153 > 178 0 178 > 204 0 204 > 229 0 229 > 255 0 255 > 206 0 255 > 158 0 255 > 79 0 255 > 0 0 255 > 0 63 255 > 0 126 255 > 0 165 255 > 0 204 255 > 0 229 255 > 0 255 255 > 63 255 127 > 127 255 0 > 191 255 0 > 255 255 0 > 255 229 0 > 255 204 0 > 255 178 0 > 255 153 0 > 255 116 0 > 255 79 0 > 255 74 34 > 255 69 69 > 255 102 102 > 255 135 135 > 255 158 158 > 255 181 181 > 255 206 206 > 255 232 232 > 246 235 235 > 255 255 255