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.