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.
Wanhong, For the gpmap script below, you haven't set LUTFIL, so it looks like you have gotten gray from somewhere else. Try setting: LUTFIL=default Are you launching NMAP and NMAP2 from ntl? If not, then you won't have the shared color map segment for use with the other programs. Make sure you are running ntl to launch the GUIs. Steve Chiswell Unidata User Support >From: Wanhong Wang <address@hidden> >Organization: UCAR/Unidata >Keywords: 200105171511.f4HFBgp27991 > >--------------1A62CD642104018F7D4EA0F1 >Content-Type: text/plain; charset=us-ascii >Content-Transfer-Encoding: 7bit > >Hey Steve, > >I installed the new Gempak 5.6.C.1 on our RedHat Linux 7.0 server and >try >to display radar maps. The NMAP and NMAP2 work fine, but gpmap with >xw and gf devices has problem with colors, gpmap with gif device doesn't > >work. Is it problem with video driver ? >Following is a simple scripts and maps with gf and gif drive. > >I will appreciate your help. > > >Wanhong Wang > >=========================================================================== > >Wanhong Wang, IS Tech Support Spec III.....email: address@hidden >Ag. Weather Center >243 Ag. Engineering Bldg.....................phone: 859-257-7381 ext 243 > >Dept. of Biosystems and Ag. Engr. >University of Kentucky >Lexington, KY 40546-0276 >=========================================================================== > > 1. gpmap script > >#!/bin/csh -f >source ~gempak/Gemenviron >cd ~gempak/scripts/TEST >set latest_N0S = `ls /ldmdata/nexrad/NIDS/JKL/N0S|tail -1` > >set device = "gf|nids_gf.gif" > >gpmap << EOF >MAP = 5/1/1 >GAREA = dset >PROJ = rad >RADFIL = /ldmdata/nexrad/NIDS/JKL/N0S/${latest_N0S} >LATLON = 0 >PANEL = 0 >TITLE = 1/-2 >TEXT = 1.2/23/1/hw >CLEAR = y >DEVICE = ${device} >\$mapfil = hipowo.gsf > >r > >e >EOF > >gpend > >2. GPMAP with xw and gf devices > >[Image] > > >3. GPMAP with gif device > >[Image] > > > > >--------------1A62CD642104018F7D4EA0F1 >Content-Type: multipart/related; > boundary="------------B0CFA33C7F3BDE2F06EE4D54" > > >--------------B0CFA33C7F3BDE2F06EE4D54 >Content-Type: text/html; charset=us-ascii >Content-Transfer-Encoding: 7bit > ><!doctype html public "-//w3c//dtd html 4.0 transitional//en"> ><html> >Hey Steve, ><p>I installed the new Gempak 5.6.C.1 on our RedHat Linux 7.0 server and >try ><br>to display radar maps. The NMAP and NMAP2 work fine, but gpmap >with ><br>xw and gf devices has problem with colors, gpmap with gif device doesn't ><br>work. Is it problem with video driver ? ><br>Following is a simple scripts and maps with gf and gif drive. ><p>I will appreciate your help. ><br> ><p>Wanhong Wang<font size=-1></font> ><p><font size=-1>============================================================= > ==============</font><font size=-1></font> ><p><font size=-1>Wanhong Wang, IS Tech Support Spec III.....email: >address@hidden</font> ><br><font size=-1>Ag. Weather Center</font> ><br><font size=-1>243 Ag. Engineering Bldg.....................phone: 859-257- > 7381 >ext 243</font><font size=-1></font> ><p><font size=-1>Dept. of Biosystems and Ag. Engr.</font> ><br><font size=-1>University of Kentucky</font> ><br><font size=-1>Lexington, KY 40546-0276</font> ><br><font size=-1>============================================================ > ===============</font><font size=-1></font> ><p> 1. gpmap script ><p><font size=-1>#!/bin/csh -f</font> ><br><font size=-1>source ~gempak/Gemenviron</font> ><br><font size=-1>cd ~gempak/scripts/TEST</font> ><br><font size=-1>set latest_N0S = `ls /ldmdata/nexrad/NIDS/JKL/N0S|tail >-1`</font><font size=-1></font> ><p><font size=-1>set device = "gf|nids_gf.gif"</font><font size=-1></font> ><p><font size=-1>gpmap << EOF</font> ><br><font size=-1>MAP = 5/1/1</font> ><br><font size=-1>GAREA = dset</font> ><br><font size=-1>PROJ = rad</font> ><br><font size=-1>RADFIL = /ldmdata/nexrad/NIDS/JKL/N0S/${latest_N > 0S}</font> ><br><font size=-1>LATLON = 0</font> ><br><font size=-1>PANEL = 0</font> ><br><font size=-1>TITLE = 1/-2</font> ><br><font size=-1>TEXT = 1.2/23/1/hw</font> ><br><font size=-1>CLEAR = y</font> ><br><font size=-1>DEVICE = ${device}</font> ><br><font size=-1>\$mapfil = hipowo.gsf</font><font size=-1></font> ><p><font size=-1>r</font><font size=-1></font> ><p><font size=-1>e</font> ><br><font size=-1>EOF</font><font size=-1></font> ><p><font size=-1>gpend</font><font size=-1></font> ><p>2. GPMAP with xw and gf devices<font size=-1></font> ><p><img SRC="cid:part1.3B03E97C.FC56170@ca.uky.edu" height=604 width=806> ><br> ><p>3. GPMAP with gif device ><p><img SRC="cid:part2.3B03E97C.FC56170@ca.uky.edu" height=612 width=792> ><br> ><br> ><br> </html> >