NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [gembud] gdradr

Jeff,

The following has worked for us (with suitably defined environment variables):

gdradr << EOF
 GRDAREA  = 38;-77.1;42.1;-72.6
 PROJ     = LEA/40.2;-74.7;0.0
 KXKY     = 700;850
 GDPFUN   = n0r
 GDFILE   = $RFIL
 RADTIM   = current
 RADDUR   = 30
 RADFRQ   =
 CPYFIL   =
 STNFIL   =
 MAXGRD   = 200
 RADMODE  =
 NDVAL    =
r

e
EOF

gdplot2_gf > /dev/null << EOF
 GDATTIM  = last
 GLEVEL   = 0
 GVCORD   = none
 PANEL    = 0
 SKIP     = 0
 SCALE    = 0
 GDPFUN   = n0r
 TYPE     = z
 CONTUR   = 0
 CINT     = 0
 LINE     = 3.
 FINT     = 5;9;14;18;23;28;32;37;41;46;50;55;60;65;70;75
 FLINE    = 0;24;25;26;27;23;22;21;5;19;17;2;15;14;7;29;1
 HILO     =
 HLSYM    =
 CLRBAR   = 5/h/lc/.5;.02/.75;.018/1|.9/2/111/1/l/hw
 WIND     = BM1
 REFVEC   =
 TITLE    = 5/1/NEXRAD Reflectivity (dBZ)    $UTCSTR ($LOCSTR)
 TEXT     = 1
 CLEAR    = y
 GAREA    = 38;-77.1;42.1;-72.6
 IJSKIP   =
 MAP      = 10=100:100:100 + 8//2
 \$MAPFIL = hicnus.nws + histus.nws
 MSCALE   = 0
 LATLON   = 0
 DEVICE   = gf|$IMGDIR/$IMGFIL|725;900
 STNPLT   =
 SATFIL   =
 RADFIL   =
 IMCBAR   = 5/H/LC/.5;.025/.8;.018/1
 LUTFIL   =
 STREAM   =
 POSN     = 0
 COLORS   = 1
 MARKER   = 0
 GRDLBL   = 0
 FILTER   = y
r

e
EOF


-- Steve

On 02/12/2016 03:54 AM, Jeff Lake wrote:
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


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



--
Steve Decker, Assistant Teaching Professor
Director, Meteorology Undergraduate Program
Department of Environmental Sciences           Phone: (848) 932-5750
Rutgers University                               Fax: (732) 932-8644
14 College Farm Rd                  Email: decker@xxxxxxxxxxxxxxxxxx
New Brunswick, NJ  08901-8551



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