anybody got a bash script of gdradr working?
I have been trying this to no avail...
#!/bin/bash
. /home/ldm/NAWIPS/Gemenviron.profile
echo $RAD
gdradr <<EOF
PROJ = lcc/25;-103;60
GRDAREA = 23.0;-120.0;47.0;-65.0
KXKY = 720;500
GDPFUN = N0Q
GDFILE = YYYYMMDD_radr.gem
RADTIM = current
RADDUR = 5
RADFRQ = 5
CPYFIL =
STNFIL =/home/ldm/GEMPAK7/gempak/tables/stns/nexrad.tbl
MAXGRD = 1000
RADMODE = P
clear=y
EOF
* and ouput*
[ldm@weatherdata NAWIPS]$ ./natrad
/home/ldm/var/data/gempak/nexrad/
GRDAREA Area covered by grid 23.0;-120.0;47.0;-65.0
PROJ Map projection/angles/margins|dr lcc/25;-103;60
KXKY Number of grid points in x;y 720;500
GDPFUN Scalar grid or vector grid funct N0Q
GDFILE Grid file YYYYMMDD_radr.gem
RADTIM Radar composite current/dattim current
RADDUR Radar time window (minutes prior 5
RADFRQ Update Frequency 5
CPYFIL Grid file whose navigation is to
STNFIL Station information file
/home/ldm/GEMPAK7/gempak/tables/stns/nexrad.tbl
MAXGRD Maximum number of grids 1000
RADMODE Radar operational mode P
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>[ldm@weatherdata NAWIPS]$
jeff