[gembud] no output from scripts

Hi everybody,
I just got GEMPAK fully up and running on a new server, and migrated a few scripts over to test things out. After modifying the script, I ran it, and it produced no output image, but the programs seemed to all run fine.

Attached is the script I am trying to run and a textfile of the output I get. The last thing it tells me when I run the script, is :

'cannot stat `ia_radar.gif': No such file or directory'

Please let me know if I am missing something silly in my script. I have tried running things by hand, one piece at a time, and I get the same problem. If I can give any more information to help troubleshoot, please let me know.

Thanks,
Chris
cd /home/gempak/scripts
mkdir iaradartemp
cd iaradartemp
source /home/gempak/NAWIPS/Gemenviron
#---------------------------------
setenv DISPLAY anemos.storm.uni.edu:1.0
#----------------------------------
set HR=`date "+%H"`
set dd=`date "+%d"`

if ($HR == 00 || $HR > 12 ) then
        if ( $HR == 00 ) set HH=12
        if ( $HR == 13 ) set HH=1
        if ( $HR == 14 ) set HH=2
        if ( $HR == 15 ) set HH=3
        if ( $HR == 16 ) set HH=4
        if ( $HR == 17 ) set HH=5
        if ( $HR == 18 ) set HH=6
        if ( $HR == 19 ) set HH=7
        if ( $HR == 20 ) set HH=8
        if ( $HR == 21 ) set HH=9
        if ( $HR == 22 ) set HH=10
        if ( $HR == 23 ) set HH=11
else
        set HH=$HR
endif
#-----------------------------------------
setenv TZ UTC
set cc=`date "+%Y" | cut -c 1-2`
set yy=`date "+%y"`
set mm=`date "+%m"`
set hh=`date "+%H"`

set realtime_flag=T
#-----------------------------------------
#set the AM/PM variable

if ( $hh == 05 || $hh == 06 || $hh == 07 || $hh == 08 || $hh == 09 || $hh == 10 
|| $hh == 11 || $hh == 12 || $hh == 13 || $hh == 14 || $hh == 15 || $hh == 16 ) 
then
        set xm=am
else
        set xm=pm
endif
#--------------------------------------------
#Get month name

if ( $mm == "01" ) set mon=JAN
if ( $mm == "02" ) set mon=FEB
if ( $mm == "03" ) set mon=MAR
if ( $mm == "04" ) set mon=APR
if ( $mm == "05" ) set mon=MAY
if ( $mm == "06" ) set mon=JUN
if ( $mm == "07" ) set mon=JUL
if ( $mm == "08" ) set mon=AUG
if ( $mm == "09" ) set mon=SEP
if ( $mm == "10" ) set mon=OCT
if ( $mm == "11" ) set mon=NOV
if ( $mm == "12" ) set mon=DEC

#-------------------------------------------
#build time variables

set dattim=${yy}${mm}${dd}/${hh}20
set gdattim=${yy}${mm}${dd}/${hh}
set sffile=/space/data/ldm/gempak/surface/${cc}${yy}${mm}${dd}_sao.gem
set datelabel="${HH}:20${xm} CDT $dd $mon"
#----------------------------------------------
#set gif file names

set tmpgif=ia_radar.gif
set finalgif=/space/html/images/ia_radar.gif
#-------------------------------------------------------
#
# Run the gempak program(s)
#
#       Make a Surface Temps Map
#--------------------------------------------------------
#       make the colorful background map
#

gpmap<< GPMAP_FLAG
 MAP      = 3/1/1 + 31/1/2 + 2/1/1
 GAREA    = 40.0;-97.1;44.0;-89.5
 PROJ     = lcc/25;-100;60
 LATLON   = 0
 PANEL    = 0
 TEXT     = 1/22/hw
 CLEAR    = yes
 DEVICE   = gf|$tmpgif|720;540
 BND      = bg/32
 TITLE    =
 \$mapfil = hicnus.nws + histus.nws + hiisus.nws

run

exit

GPMAP_FLAG
#-------------------------------------------------------
#
#       Create/edit the radar grid file

gdradr<<GDRADR_FLAG
GRDAREA = 23.0;-120;47.0;-65
PROJ    = lcc/25;-100;60
KXKY    = 720;500
GDPFUN  = n0r
GDFILE  = ${cc}${yy}${mm}${dd}_radar.gem
RADTIM  = current
RADDUR  = 30
RADFRQ  =
CPYFIL  =
STNFIL  = nexrad.tbl
MAXGRD  = 1000
RADMODE =
NDVAL   =

run

exit

GDRADR_FLAG
#-------------------------------------------------------
#
#       Now make the image

gdplot<<GDPLOT_FLAG
GDFILE  = ${cc}${yy}${mm}${dd}_radar.gem
GDATTIM = last
GLEVEL  = 0
GVCORD  = none
SKIP    = 0
SCALE   = 999
GFUNC   = n0r
CTYPE   = f
CONTUR  = 1
CINT    = 1
LINE    = 3/1/1
FINT    = 5;10;15;20;25;30;35;40;45;50;55;60;65;70;75
FLINE   = 00;27;25;24;21;22;23;20;19;17;02;15;14;07;28;31
HILO    =
HLSYM   =
CLRBAR  = 31//CL/.01;.5/.75;.01|.001
GVECT   =
WIND    =
REFVEC  =
TITLE   = 31/-1/${datelabel} Iowa Radar
TEXT    = 1/22/hw
CLEAR   = no
LATLON  = 0
STNPLT  =

run

exit

GDPLOT_FLAG

gptext<< GPTEXT_FLAG
clear=no
#txtfil=
txtloc=.021;.88
text=1/22/HW
colors=31
column=1

run

GPTEXT_FLAG

#---------------------------------------------------------
# put some STORM text and a box on the thing

gptext<< GPTEXT_FLAG
clear=no
txtfil=/home/gempak/scripts/storm.txt
txtloc=.8;.03
text=1/22/HW
colors=24
column=1

run

GPTEXT_FLAG


gpbox<< GPBOX_FLAG
region=plot
line=32/1/2/1
run

exit

GPBOX_FLAG

gpend

#---------------------------------------------------------------
# Move the temporary gif to its final resting place.

    mv $tmpgif $finalgif
#------------------------------------------------------------------
#
# Back out of working directory and remove it
#
cd ..

#rm -rf iaradartemp

#-----------------------------------------------------------------END

 MAP       Map color/dash/width/filter flag  1
 MSCALE    fgc;bgc;mask/units/lat;hide/valu  0
 GAREA     Graphics area                     WV
 PROJ      Map projection/angles/margins|dr  MER
 SATFIL    Satellite image filename(s)        
 RADFIL    Radar image filename(s)            
 IMCBAR    Color/ornt/anch/x;y/ln;wd/freq     
 LATLON    Line color/dash/width/freq/inc/l   
 PANEL     Panel loc/color/dash/width/regn   0
 TITLE     Title color/line/title            1
 TEXT      Size/fnt/wdth/brdr/N-rot/just/hw  1
 CLEAR     Clear screen flag                 YES
 DEVICE    Device|name|x size;y size|color   XW
 LUTFIL    Enhancement lookup table filenam   
 STNPLT    Txtc/txt attr|marker attr|stnfil   
 VGFILE    Vgfile | scale file | attribute    
 AFOSFL    AFOS Graphics File                 
 AWPSFL    AWIPS Graphics File                
 LINE      Color/type/width/label/smth/fltr  3
 WATCH     End time|Wtch clrs|Wtch Tm;Statu   
 WARN      End time|TS;TN;FF clrs|Tm|Lb|Out   
 HRCN      End time|colors|syms|Tm|Lb|Mt|Qw   
 ISIG      End time|colors|Sym|Tm|Id|Mv|Fl    
 LTNG      End time|time ints/colors|marker   
 ATCF      Time|colors|models|Tm|Id|Mv|Mkr|   
 AIRM      Airmet Plotting Attributes         
 NCON      NCON attributes                    
 CSIG      End time|0_Hr;1_Hr;2_Hr;OL clrs|   
 SVRL      End time|SVRL clrs|Tm|Lb|Outline   
 BND       Bnd name/color/fillsiz/fillpat/f   
 TCMG      End time|colors|center             
 QSCT      QuickScat Plotting Attributes      
 WSTM      End time|WN;WT;AD clrs|Tm|Lb|Out   
 WOU       End time|Mrkr and Otln clrs|Tm|L   
 WCN       End time|Mrkr and Otln clrs|Tm|L   
 WCP       End time|Wtch clrs|Tm|Lb|Clr       
 ENCY      Time|colors|models|Tm|Prs|Mkr|Cc   
 FFA       End time|FF;FA clrs|Tm|Lb|Ic|Out   
 WSAT      WindSAT Plotting Attributes        
 ASCT      AScat Plotting Attributes          
 Parameters requested: MAP,MSCALE,GAREA,PROJ,SATFIL,RADFIL,IMCBAR,LATLON,
 PANEL,TITLE,TEXT,CLEAR,DEVICE,LUTFIL,STNPLT,VGFILE,AFOSFL,AWPSFL,LINE,WATCH,
 WARN,HRCN,ISIG,LTNG,ATCF,AIRM,NCON,CSIG,SVRL,BND,TCMG,QSCT,WSTM,WOU,WCN,WCP,
 ENCY,FFA,WSAT,ASCT.
 GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP> 
GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP> 
GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP> GPMAP PARAMETERS:

 Device:              gf|ia_radar.gif|720;540                                   
                                                                      
 Projection:          lcc/25;-100;60                                            
                                                                      
 Graphics area name:  40.0;-97.1;44.0;-89.5                                     
                                                                      
 Map:                 3/1/1 + 31/1/2 + 2/1/1                                    
                                                                      
 Title:                                                                         
                                                                      
 Panel:               0                                                         
                                                                      
 Latlon:              0                                                         
                                                                      
 Clear:               YES
Enter <cr> to accept parameters or type EXIT: Parameters requested: 
MAP,MSCALE,GAREA,PROJ,SATFIL,RADFIL,IMCBAR,LATLON,
 PANEL,TITLE,TEXT,CLEAR,DEVICE,LUTFIL,STNPLT,VGFILE,AFOSFL,AWPSFL,LINE,WATCH,
 WARN,HRCN,ISIG,LTNG,ATCF,AIRM,NCON,CSIG,SVRL,BND,TCMG,QSCT,WSTM,WOU,WCN,WCP,
 ENCY,FFA,WSAT,ASCT.
 GEMPAK-GPMAP> GRDAREA   Area covered by grid               
 PROJ      Map projection/angles/margins|dr  lcc/25;-100;60
 KXKY      Number of grid points in x;y      10;10
 GDPFUN    Scalar grid or vector grid funct  TMPC
 GDFILE    Grid file                         $GEMDATA/HRCBOB.GRD
 RADTIM    Radar composite current/dattim     
 RADDUR    Radar time window (minutes prior   
 RADFRQ    Update Frequency                   
 CPYFIL    Grid file whose navigation is to   
 STNFIL    Station information file          SFSTNS.TBL
 MAXGRD    Maximum number of grids           200
 RADMODE   Radar operational mode             
 NDVAL     Replacement value for "ND" (defa   
 Parameters requested: GRDAREA,PROJ,KXKY,GDPFUN,GDFILE,RADTIM,RADDUR,RADFRQ,
 CPYFIL,STNFIL,MAXGRD,RADMODE,NDVAL.
 GEMPAK-GDRADR> GEMPAK-GDRADR> GEMPAK-GDRADR> GEMPAK-GDRADR> GEMPAK-GDRADR> 
GEMPAK-GDRADR> GEMPAK-GDRADR> GEMPAK-GDRADR> GEMPAK-GDRADR> GEMPAK-GDRADR> 
GEMPAK-GDRADR> GEMPAK-GDRADR> GEMPAK-GDRADR> GEMPAK-GDRADR> GEMPAK-GDRADR> 
[GDRADR 4]  Write grid 080414/1759
 Parameters requested: GRDAREA,PROJ,KXKY,GDPFUN,GDFILE,RADTIM,RADDUR,RADFRQ,
 CPYFIL,STNFIL,MAXGRD,RADMODE,NDVAL.
 GEMPAK-GDRADR> GEMPAK-GDRADR> GDFILE    Grid file                         
20080414_radar.gem
 GDATTIM   Grid date/time                    LAST
 GLEVEL    Grid level                        500
 GVCORD    Grid vertical coordinate          PRES
 PANEL     Panel loc/color/dash/width/regn   0
 SKIP      Skip_cntr/skip_plt_x;skip_plt_y   0
 SCALE     Scalar scale / vector scale       999
 GFUNC     Scalar grid                       TMPC
 CTYPE     Contour type:  C/F                C
 CONTUR    Subbox/smooth                     0
 CINT      Contour interval/min/max          0
 LINE      Color/type/width/label/smth/fltr  3
 FINT      Fill interval/min/max             0
 FLINE     Fill colors/fill types            10-20
 HILO      Color/symbol/rng/rad/cnt/intp      
 HLSYM     HILO txt size/posn/font/wdth/hw    
 CLRBAR    Color/ornt/anch/x;y/ln;wd/freq|t   
 GVECT     Vector grid                       WND
 WIND      Wind symbol/siz/wdth/typ/hdsz     BM1
 REFVEC    Mag;x;y;txtsiz/font/wdth/HW;labl   
 TITLE     Title color/line/title             
 TEXT      Size/fnt/wdth/brdr/N-rot/just/hw  1/22/hw
 CLEAR     Clear screen flag                 yes
 GAREA     Graphics area                     40.0;-97.1;44.0;-89.5
 IJSKIP    Iskp;Istrt;Istp/Jskp;Jstrt;Jstp    
 PROJ      Map projection/angles/margins|dr  lcc/25;-100;60
 MAP       Map color/dash/width/filter flag  3/1/1 + 31/1/2 + 2/1/1
 MSCALE    fgc;bgc;mask/units/lat;hide/valu  0
 LATLON    Line color/dash/width/freq/inc/l  0
 DEVICE    Device|name|x size;y size|color   gf|ia_radar.gif|720;540
 STNPLT    Txtc/txt attr|marker attr|stnfil   
 Parameters requested: GDFILE,GDATTIM,GLEVEL,GVCORD,PANEL,SKIP,SCALE,GFUNC,
 CTYPE,CONTUR,CINT,LINE,FINT,FLINE,HILO,HLSYM,CLRBAR,GVECT,WIND,REFVEC,TITLE,
 TEXT,CLEAR,GAREA,IJSKIP,PROJ,MAP,MSCALE,LATLON,DEVICE,STNPLT.
 GEMPAK-GDPLOT> GEMPAK-GDPLOT> GEMPAK-GDPLOT> GEMPAK-GDPLOT> GEMPAK-GDPLOT> 
GEMPAK-GDPLOT> GEMPAK-GDPLOT> GEMPAK-GDPLOT> GEMPAK-GDPLOT> GEMPAK-GDPLOT> 
GEMPAK-GDPLOT> GEMPAK-GDPLOT> GEMPAK-GDPLOT> GEMPAK-GDPLOT> GEMPAK-GDPLOT> 
GEMPAK-GDPLOT> GEMPAK-GDPLOT> GEMPAK-GDPLOT> GEMPAK-GDPLOT> GEMPAK-GDPLOT> 
GEMPAK-GDPLOT> GEMPAK-GDPLOT> GEMPAK-GDPLOT> GEMPAK-GDPLOT> GEMPAK-GDPLOT> 
GEMPAK-GDPLOT>
 PARAMETERS FOR GDPLOT: 

 Grid file: 20080414_radar.gem                                                  
                                                            
 TIMES:    080414/1759                         

 GRID IDENTIFIER: 
    LEVEL VCORD PARM                            WPARM
        0  NONE N0R                                                        

 GAREA:  40.0;-97.1;44.0;-89.5                                                  
                                                         
 Parameters requested: GDFILE,GDATTIM,GLEVEL,GVCORD,PANEL,SKIP,SCALE,GFUNC,
 CTYPE,CONTUR,CINT,LINE,FINT,FLINE,HILO,HLSYM,CLRBAR,GVECT,WIND,REFVEC,TITLE,
 TEXT,CLEAR,GAREA,IJSKIP,PROJ,MAP,MSCALE,LATLON,DEVICE,STNPLT.
 GEMPAK-GDPLOT> GEMPAK-GDPLOT> PANEL     Panel loc/color/dash/width/regn   0
 COLORS    Color list                        1
 TEXT      Size/fnt/wdth/brdr/N-rot/just/hw  1/22/hw
 CLEAR     Clear screen flag                 no
 DEVICE    Device|name|x size;y size|color   gf|ia_radar.gif|720;540
 TXTFIL    Text filename or LOGO|size|mode    
 TXTLOC    Text location                      
 COLUMN    Number of columns                 1
 Parameters requested: PANEL,COLORS,TEXT,CLEAR,DEVICE,TXTFIL,TXTLOC,COLUMN.
 GEMPAK-GPTEXT> GEMPAK-GPTEXT> [IP -7]  #TXTFIL is an unrecognized parameter.
 GEMPAK-GPTEXT> GEMPAK-GPTEXT> GEMPAK-GPTEXT> GEMPAK-GPTEXT> GEMPAK-GPTEXT> 
GEMPAK-GPTEXT> GPTEXT PARAMETERS:

 Device:        gf|ia_radar.gif|720;540                                         
                                                                
 Text file:                                                                     
                                                                
 Text location: .021;.88                                                        
                                                                
 Panel:         0                                                               
                                                                
 Num Columns    1                                                               
                                                                
 Clear:         NO 
Enter <cr> to accept parameters or type EXIT: Parameters requested: 
PANEL,COLORS,TEXT,CLEAR,DEVICE,TXTFIL,TXTLOC,COLUMN.
 GEMPAK-GPTEXT> PANEL     Panel loc/color/dash/width/regn   0
 COLORS    Color list                        31
 TEXT      Size/fnt/wdth/brdr/N-rot/just/hw  1/22/HW
 CLEAR     Clear screen flag                 no
 DEVICE    Device|name|x size;y size|color   gf|ia_radar.gif|720;540
 TXTFIL    Text filename or LOGO|size|mode    
 TXTLOC    Text location                     .021;.88
 COLUMN    Number of columns                 1
 Parameters requested: PANEL,COLORS,TEXT,CLEAR,DEVICE,TXTFIL,TXTLOC,COLUMN.
 GEMPAK-GPTEXT> GEMPAK-GPTEXT> GEMPAK-GPTEXT> GEMPAK-GPTEXT> GEMPAK-GPTEXT> 
GEMPAK-GPTEXT> GEMPAK-GPTEXT> GEMPAK-GPTEXT> GPTEXT PARAMETERS:

 Device:        gf|ia_radar.gif|720;540                                         
                                                                
 Text file:     /home/gempak/scripts/storm.txt                                  
                                                                
 Text location: .8;.03                                                          
                                                                
 Panel:         0                                                               
                                                                
 Num Columns    1                                                               
                                                                
 Clear:         NO 
Enter <cr> to accept parameters or type EXIT: Parameters requested: 
PANEL,COLORS,TEXT,CLEAR,DEVICE,TXTFIL,TXTLOC,COLUMN.
 GEMPAK-GPTEXT> LINE      Color/type/width/label/smth/fltr  3/1/1
 REGION    Region type                       VIEW
 DEVICE    Device|name|x size;y size|color   gf|ia_radar.gif|720;540
 Parameters requested: LINE,REGION,DEVICE.
 GEMPAK-GPBOX> GEMPAK-GPBOX> GEMPAK-GPBOX>