[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20010517: problem with colors using gpmap



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.&nbsp; 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&nbsp; is a simple scripts and maps with gf and gif drive.
><p>I will appreciate your help.
><br>&nbsp;
><p>Wanhong Wang<font size=-1></font>
><p><font size=-1>=============================================================
> ==============</font><font size=-1></font>
><p><font size=-1>Wanhong Wang,&nbsp; 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>&nbsp;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 &lt;&lt; EOF</font>
><br><font size=-1>MAP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 5/1/1</font>
><br><font size=-1>GAREA&nbsp;&nbsp;&nbsp; = dset</font>
><br><font size=-1>PROJ&nbsp;&nbsp;&nbsp;&nbsp; = rad</font>
><br><font size=-1>RADFIL&nbsp;&nbsp; = /ldmdata/nexrad/NIDS/JKL/N0S/${latest_N
> 0S}</font>
><br><font size=-1>LATLON&nbsp;&nbsp; = 0</font>
><br><font size=-1>PANEL&nbsp;&nbsp;&nbsp; = 0</font>
><br><font size=-1>TITLE&nbsp;&nbsp;&nbsp; = 1/-2</font>
><br><font size=-1>TEXT&nbsp;&nbsp;&nbsp;&nbsp; = 1.2/23/1/hw</font>
><br><font size=-1>CLEAR&nbsp;&nbsp;&nbsp; = y</font>
><br><font size=-1>DEVICE&nbsp;&nbsp; = ${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>&nbsp;
><p>3. GPMAP with gif device
><p><img SRC="cid:part2.3B03E97C.FC56170@ca.uky.edu" height=612 width=792>
><br>&nbsp;
><br>&nbsp;
><br>&nbsp;</html>
>