Re: [gembud] Invalid device selected

  • To: JACOB WIESE <jake9wi@xxxxxxxxxxx>, "gembud@xxxxxxxxxxxxxxxx" <gembud@xxxxxxxxxxxxxxxx>
  • Subject: Re: [gembud] Invalid device selected
  • From: "Manousos, Peter C" <pmanousos@xxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 17 Jul 2019 19:50:42 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=firstenergycorp.com;dmarc=pass action=none header.from=firstenergycorp.com;dkim=pass header.d=firstenergycorp.com;arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ebFaM15evc7k9qUUd8iUWvFM1u+OK80NnPqP0p42UxY=; b=IVOckgZ8Em/023cysEoC1YrHSlsj2jtDgoPaiptXSZgkrKzn8Qpk0hBeCg5pMqvdBUOtsCKANpUMeczuNenjniLvi8xF+1uZnpoJi65M3UfCW6+qOIt7cFwi/eBwcV8hL8/h7/XonE0RY2CWrB4eAIBWpWBNpg0HxgBW2IbCLWn9X+TykvOiMTk1gvdJvkxp8Ocb+1zPHE4PhbSV+qIX+P7BZBJxy9LexxAF+SDMzXKjEgWmV+zhB2aYWDGKPnuqJxDOBGD0QKFCZW0X34x+AAK/+6LdWgvfDJq9MRaP8WPFywiuyBsNifIcr9YFmmc3yeqskrJx8BbBixrFLFTFcQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H6Ul0lCmRQ+BlCmc3jRiHrx22muEZTETnIGiFz+rRHBxGfYKEslg+IMkx8Zik9+NrCV8L2ppu/Y1fBtdSmR7czlbFjjKSSzf+z2koNxi7yUAZsiwLlKANmrrA+yOHvPE0cBYnD1bMqCX0+OUsQVv3P5qQXHFM79B/7QU9MWoKiQJs06piCRB2S1O9AwxZgugvZwNzyv2BtjvMiVOOoyMXjcz6KVbzXGtqlVpawO9PJeHN9HnCyofjlLuWTiqPPLjpwDYZ1WAaJBAsa67EKhF+8MYXxDtC9uTpP7y/qshTWhoZ72SiwWDsuG6QVbJ79nzU8M9RdS0QjR22DlbIlXXiw==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=pmanousos@xxxxxxxxxxxxxxxxxxx;
Hi Jacob - a few things to try...

1. You may have to set your env DISPLAY variable to something like   ":0.0" -- 
especially if you are running this from cron.   Im not a bash expert, but I 
think its                 export DISPLAY ":0.0"     vs in csh  its     setenv 
DISPLAY ":0.0"

2. It might be your projection is not correct -- maybe just try CED  vs NOR

3. Another thing you will want to try is just to make sure nothing else goofy 
is going on, run the script with the device set to an Xwindow  to see if the 
device driver is even working       device="xw|test|1024;768"  and then   
device="gf|test.gf|1024;768"

Pete



-----Original Message-----
From: gembud <gembud-bounces@xxxxxxxxxxxxxxxx> On Behalf Of JACOB WIESE
Sent: Wednesday, July 17, 2019 3:37 PM
To: gembud@xxxxxxxxxxxxxxxx
Subject: [EXTERNAL] [gembud] Invalid device selected

Running GPFRONT gives me the error "[GEMPLT -21]  NODEVC - Invalid device 
selected".

"""
#!/bin/bash

cd ~/

gpfront <<EOF
MAP    =
GAREA  = 0;-180;70;0
PROJ   = NOR
SATFIL =
RADFIL =
LATLON = 2/1/1
PANEL  =
TITLE  =
TEXT   =
CLEAR  = N
DEVICE = TIFF | ~/sfc.tiff | 1000;1000
ASFIL  = asus1.txt
ASHR   = 0
ASATT  =
LUTFIL =
IMCBAR =

r

e

EOF

gpend
"""

=-=-=-=
73s
Signed/KD9LWR/Jacob-E-Wiese/Cell-219-221-0486//
PGP-KEY-ID/0x5DC8AC4F5C0330B1//
NNNN

_______________________________________________
NOTE: All exchanges posted to Unidata maintained email lists are recorded in 
the Unidata inquiry tracking system and made publicly available through the 
web.  Users who post to any of the lists we maintain are reminded to remove any 
personal information that they do not want to be made public.


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

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.


  • 2019 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the gembud archives: