Re: [gembud] Changing the Background color in GEMPAK

If you are scripting this, then to change the background color to white set
BND = bg/31

In this case in my color table 31 is white.  Yours may be different.

As far as gpend, you use that after you finish running programs that invoke
a gplt process.  For example gpmap requires you to run the command gpend
after exiting out of it.  If you don't, you will have numerous gplt
processes that haven't terminated using up memory and causing seg faults.



Brian Kolts
Advanced Scientist
Environmental Energy Delivery Services
FirstEnergy Corp.
330.384.5474



From:   gembud-request@xxxxxxxxxxxxxxxx
To:     gembud@xxxxxxxxxxxxxxxx
Date:   02/15/2011 02:00 PM
Subject:        gembud Digest, Vol 25, Issue 6
Sent by:        gembud-bounces@xxxxxxxxxxxxxxxx



Send gembud mailing list submissions to
                 gembud@xxxxxxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
                 http://mailman.unidata.ucar.edu/mailman/listinfo/gembud
or, via email, send a message with subject or body 'help' to
                 gembud-request@xxxxxxxxxxxxxxxx

You can reach the person managing the list at
                 gembud-owner@xxxxxxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gembud digest..."


Today's Topics:

   1. Re: Changing the Background color in GEMPAK (Foland, Michael)
   2. Re: Changing the Background color in GEMPAK (Jeff Lake - Admin)
   3. gpend not working (Delmarva WX)
   4. gpend / color table queries (Kevin R. Tyle)


----------------------------------------------------------------------

Message: 1
Date: Mon, 14 Feb 2011 16:19:33 -0500
From: "Foland, Michael" <mfoland@xxxxxxxxxxxxxxx>
To: <gembud@xxxxxxxxxxxxxxxx>
Subject: Re: [gembud] Changing the Background color in GEMPAK
Message-ID: <004001cbcc8c$e113cc90$a33b65b0$@com>
Content-Type: text/plain;                charset="us-ascii"

Clint, how do I run the gpend? Is there a certain command I have to put in?
I've tried running it by clicking on it, and tried in terminal like
/usr/local/lib/gempak/GEMPAK6.2.0/os/linux/bin/gpend and it didn't change
the coloring.. What to do? :(

-----Original Message-----
From: gembud-bounces@xxxxxxxxxxxxxxxx
[mailto:gembud-bounces@xxxxxxxxxxxxxxxx] On Behalf Of
gembud-request@xxxxxxxxxxxxxxxx
Sent: Monday, February 14, 2011 2:00 PM
To: gembud@xxxxxxxxxxxxxxxx
Subject: gembud Digest, Vol 25, Issue 5

Send gembud mailing list submissions to
                 gembud@xxxxxxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
                 http://mailman.unidata.ucar.edu/mailman/listinfo/gembud
or, via email, send a message with subject or body 'help' to
                 gembud-request@xxxxxxxxxxxxxxxx

You can reach the person managing the list at
                 gembud-owner@xxxxxxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gembud digest..."


Today's Topics:

   1. Changing the Background color in GEMPAK (Foland, Michael)
   2. Re: Changing the Background color in GEMPAK (Clinton Rowe)


----------------------------------------------------------------------

Message: 1
Date: Sun, 13 Feb 2011 21:57:17 -0500
From: "Foland, Michael" <mfoland@xxxxxxxxxxxxxxx>
To: <gembud@xxxxxxxxxxxxxxxx>
Subject: [gembud] Changing the Background color in GEMPAK
Message-ID: <001e01cbcbf2$e58cdf90$b0a69eb0$@com>
Content-Type: text/plain; charset="us-ascii"

Hello,



I've been trying to change the map background to WHITE, however when I edit
the coltbl.xwp file to change black to white, with the white color values,
the map is still black. Is there anything else that needs to be edited?



Also.. I have some cords that I put on my map with the custom file to
orient
it, because I am not sure how to make GPMAP work with the SPC cords to get
that map to work in NMAP. Is there any file that we need to edit to make
the
default map be different?



Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<
http://mailman.unidata.ucar.edu/mailing_lists/archives/gembud/attachments/2
0110213/b03fd6da/attachment.html>

------------------------------

Message: 2
Date: Sun, 13 Feb 2011 22:06:45 -0600
From: Clinton Rowe <crowe1@xxxxxxx>
To: gembud@xxxxxxxxxxxxxxxx
Subject: Re: [gembud] Changing the Background color in GEMPAK
Message-ID: <20110213220645.iem50dqrk0owock0@xxxxxxxxxxxxxxxx>
Content-Type: text/plain;                charset=ISO-8859-1;
DelSp="Yes";
                 format="flowed"

Did you run gpend after changing the coltbl.xwp?  If you don't, you're
still using the previous color table.

Clint


Quoting "Foland, Michael" <mfoland@xxxxxxxxxxxxxxx>:

> Hello,
>
>
>
> I've been trying to change the map background to WHITE, however when I
edit
> the coltbl.xwp file to change black to white, with the white color
values,
> the map is still black. Is there anything else that needs to be edited?
>
>
>
> Also.. I have some cords that I put on my map with the custom file to
orient
> it, because I am not sure how to make GPMAP work with the SPC cords to
get
> that map to work in NMAP. Is there any file that we need to edit to make
the
> default map be different?
>
>
>
> Thanks
>
>



====================================================================
Clinton M. Rowe
Professor
Meteorology/Climatology Program                  phone:(402)472-1946
Earth & Atmospheric Sciences                       fax:(402)472-4917
University of Nebraska-Lincoln                        crowe1@xxxxxxx



------------------------------

_______________________________________________
gembud mailing list
gembud@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit:
http://www.unidata.ucar.edu/mailing_lists/

End of gembud Digest, Vol 25, Issue 5
*************************************



------------------------------

Message: 2
Date: Mon, 14 Feb 2011 16:26:59 -0500
From: "Jeff Lake - Admin" <admin@xxxxxxxxxxxxxxxxxxxx>
To: "Foland, Michael" <mfoland@xxxxxxxxxxxxxxx>,
                 <gembud@xxxxxxxxxxxxxxxx>
Subject: Re: [gembud] Changing the Background color in GEMPAK
Message-ID: <4149CA1EC31B408390C6C06E7F804EBC@Jeff>
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
                 reply-type=original

your running GEMPAK via the GUI ??
If I was you, look into creating/running scripts ..
I would think, gpend, would run automatically in the GUI

Jeff Lake K8JSL
http://www.MichiganWxSystem.com
https://www.TheWeatherCenter.net



> Clint, how do I run the gpend? Is there a certain command I have to put
in?
> I've tried running it by clicking on it, and tried in terminal like
> /usr/local/lib/gempak/GEMPAK6.2.0/os/linux/bin/gpend and it didn't change
> the coloring.. What to do? :(



------------------------------

Message: 3
Date: Mon, 14 Feb 2011 21:19:37 -0500
From: Delmarva WX <delmarvawx@xxxxxxxxx>
To: gembud@xxxxxxxxxxxxxxxx
Subject: [gembud] gpend not working
Message-ID:
                 <AANLkTin4Ab-YJHciexav54bFQcuRPzKsBB77P8yhktnu@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"

hey for some reason gpend is not responding to commands and not opening.
Every possible solution to change the NMAP background to white isnt
working.
even taking black out of the equation in the COLTBL.tbl any help on getting
this to work?

--
*

~Hunter Clifton Outten~*
*AnalystWxCast CEO 2009-11*
*302-519-2356*
*570-673-5771*
*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://mailman.unidata.ucar.edu/mailing_lists/archives/gembud/attachments/20110214/0c3c58c5/attachment.html
>

------------------------------

Message: 4
Date: Tue, 15 Feb 2011 15:47:11 +0000
From: "Kevin R. Tyle" <ktyle@xxxxxxxxxxxxxxxx>
To: gembud@xxxxxxxxxxxxxxxx
Subject: [gembud] gpend / color table queries
Message-ID: <4D5A9FFF.8040101@xxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"

To Michael Foland and Hunter Outten:

Perhaps you are doing this already, but be sure you are following this
procedure to change the background from black to white for the xw, gf,
gif, png drivers.  As others have mentioned, you do have to be sure you
don't already have any GEMPAK plotting (gplt) or device driver (xw, gf,
ps, etc . . .) processes running by typing "gpend" at the command prompt.

------------------------------------------------

For on-screen graphics using the /xw/ driver, and for all devices save
PostScript, the default background color is *black*. Note that the
background color is the /first color listed /in the GEMPAK color table
(coltbl.xwp). To change this color to /white/, we avail ourselves of the
very useful convention that GEMPAK uses when it opens any /table file,
/such as a color table. A set of default GEMPAK tables lives in the
$NAWIPS/gempak/tables directory. However, by design, GEMPAK will /first
/look in the user's /current working directory/ when it needs to read
from a table file. This provides an easy way for you to customize any
GEMPAK table file, and changing the GEMPAK color table is one of the
most common local customizations that one can do.

So in your current working directory, create a /link/ to the "white
background" GEMPAK color table, whose file name is
$GEMTBL/colors/coltbl.xwp_white. If you already have /coltbl.xwp/ in
your current working directory, remove it.  Then, link to the
/coltbl.xwp_white/ file such that the local file name is /coltbl.xwp/.

ln -s $GEMTBL/colors/coltbl.xwp_white coltbl.xwp

This will ensure that the /background color, /"color 101" is white.
  Additionally, the order of colors 31 and 32 (the last two colors in
the table) are reversed.

Remember that this custom color table will only apply when you are
already cd'd into the directory that houses the custom table!  If you
wanted to make the white background the default for all directories, you
would need to place it in the $GEMTBL/colors directory.

-------------------------------------------------------
Hope this helps . . .

--Kevin


______________________________________________________________________
Kevin Tyle, Systems Administrator               **********************
Dept. of Atmospheric & Environmental Sciences   ktyle@xxxxxxxxxxxxxxxx
University at Albany, ES-235                    518-442-4578 (voice)
1400 Washington Avenue                          518-442-5825 (fax)
Albany, NY 12222                                **********************
______________________________________________________________________

On 02/15/2011 02:19 AM, Delmarva WX wrote:
> hey for some reason gpend is not responding to commands and not
> opening. Every possible solution to change the NMAP background to
> white isnt working. even taking black out of the equation in the
> COLTBL.tbl any help on getting this to work?
>
> --
> *
> *
> *
> ~Hunter Clifton Outten~*
> /AnalystWxCast CEO 2009-11/
> /302-519-2356/
> /570-673-5771/
> /
> /
>
>
> _______________________________________________
> gembud mailing list
> gembud@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit:
http://www.unidata.ucar.edu/mailing_lists/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://mailman.unidata.ucar.edu/mailing_lists/archives/gembud/attachments/20110215/67872dcd/attachment.html
>

------------------------------

_______________________________________________
gembud mailing list
gembud@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit:
http://www.unidata.ucar.edu/mailing_lists/

End of gembud Digest, Vol 25, Issue 6
*************************************



-----------------------------------------
The information contained in this message is intended only for the
personal and confidential use of the recipient(s) named above. If
the reader of this message is not the intended recipient or an
agent responsible for delivering it to the intended recipient, you
are hereby notified that you have received this document in error
and that any review, dissemination, distribution, or copying of
this message is strictly prohibited. If you have received this
communication in error, please notify us immediately, and delete
the original message.