[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20041001: GDRADR Script



Tomislav,

The source code trees, which is where that script is located, are 
located in the source code distribution tar file. I'll append
below. The gdradr.nts is also included.


#!/bin/csh -f
#
# This script runs GDRADR in a loop.
# To change parameters, modify the gdradr.nts file and issue a 
# kill -INT to the gdradr process. 
# 

while (1 == 1)

gdradr << EOF
 restore gdradr.nts
 r

 e
EOF

sleep 30

end


#################### gdradr.nts ########################
GRDAREA 23.0;-120.0;47.0;-65.0
PROJ    lcc/60;-103;25
KXKY    720;500
GFUNC   n0r
GDFILE  YYYYMMDD_radr.gem
RADTIM  current
RADDUR  30
RADFRQ  5
CPYFIL
STNFIL
#################### gdradr.nts ########################


Steve Chiswell
Unidata User Support




>From: "Tomislav Urban" <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200410011913.i91JDSUE024030

>This is a multi-part message in MIME format.
>
>------_=_NextPart_001_01C4A7EA.C98A187B
>Content-Type: text/plain;
>       charset="us-ascii"
>Content-Transfer-Encoding: quoted-printable
>
>Hello -
>
>=20
>
>The script described in the paragraph below (from
>http://my.unidata.ucar.edu/content/software/gempak/examples/gdradr/index
>.html) describes precisely what I would like to do with GDRADR.
>
>=20
>
>A sample shell
><http://my.unidata.ucar.edu/content/software/gempak/examples/gdradr/gdra
>dr_shell>  script to run GDRADR in a perpetual loop is provided in
>$NAWIPS/unidata/programs/gdradr/gdradar_usmosaic.csh. The restore file
>gdradr.nts
><http://my.unidata.ucar.edu/content/software/gempak/examples/gdradr/gdra
>dr.nts>  settings used to create a 6km US national mosaic
><http://motherlode.ucar.edu/unidata/images/nids/radar_mosaic.gif>  are
>provided in $NAWIPS/unidata/programs/gdradr/gdradr.nts. The shell script
>example runs GDRADR by restoring the gdradr.nts settings which specify
>that the program will rerun itself every 5 minutes (RADFRQ=3D5). To =
>change
>the running configuration, the user would edit the gdradr.nts file, then
>issue a KILL to the GDRADR process. The shell script should
>automatically restart the GDRADR program with the updated restore file
>settings.
>
>=20
>
>Unfortunately, there is no such script (or path) in the latest
>distribution
>(http://my.unidata.ucar.edu/downloads/214/gempak_upc5.7.3_linux.tar.gz).
>Any idea where I might be able to obtain this?
>
>=20
>
>Thanks a lot!
>
>
>------_=_NextPart_001_01C4A7EA.C98A187B
>Content-Type: text/html;
>       charset="us-ascii"
>Content-Transfer-Encoding: quoted-printable
>
><html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
>xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
>xmlns=3D"http://www.w3.org/TR/REC-html40";>
>
><head>
><META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
>charset=3Dus-ascii">
><meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
><style>
><!--
> /* Font Definitions */
> @font-face
>       {font-family:Verdana;
>       panose-1:2 11 6 4 3 5 4 4 2 4;}
> /* Style Definitions */
> p.MsoNormal, li.MsoNormal, div.MsoNormal
>       {margin:0in;
>       margin-bottom:.0001pt;
>       font-size:12.0pt;
>       font-family:"Times New Roman";}
>a:link, span.MsoHyperlink
>       {color:blue;
>       text-decoration:underline;}
>a:visited, span.MsoHyperlinkFollowed
>       {color:purple;
>       text-decoration:underline;}
>span.EmailStyle17
>       {mso-style-type:personal-compose;
>       font-family:Arial;
>       color:windowtext;}
>@page Section1
>       {size:8.5in 11.0in;
>       margin:1.0in 1.25in 1.0in 1.25in;}
>div.Section1
>       {page:Section1;}
>-->
></style>
>
></head>
>
><body lang=3DEN-US link=3Dblue vlink=3Dpurple>
>
><div class=3DSection1>
>
><p class=3DMsoNormal><font size=3D2 face=3DArial><span =
>style=3D'font-size:10.0pt;
>font-family:Arial'>Hello &#8211;<o:p></o:p></span></font></p>
>
><p class=3DMsoNormal><font size=3D2 face=3DArial><span =
>style=3D'font-size:10.0pt;
>font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
><p class=3DMsoNormal><font size=3D2 face=3DArial><span =
>style=3D'font-size:10.0pt;
>font-family:Arial'>The script described in the paragraph below (from <a
>href=3D"http://my.unidata.ucar.edu/content/software/gempak/examples/gdrad=
>r/index.html">http://my.unidata.ucar.edu/content/software/gempak/examples=
>/gdradr/index.html</a>)
>describes precisely what I would like to do with =
>GDRADR.<o:p></o:p></span></font></p>
>
><p class=3DMsoNormal><font size=3D2 face=3DArial><span =
>style=3D'font-size:10.0pt;
>font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
><p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D1 =
>face=3DVerdana><span
>style=3D'font-size:9.0pt;font-family:Verdana'>A sample <a
>href=3D"http://my.unidata.ucar.edu/content/software/gempak/examples/gdrad=
>r/gdradr_shell"><font
>face=3D"Times New Roman"><span style=3D'font-family:"Times New =
>Roman"'>shell</span></font></a>
>script to run GDRADR in a perpetual loop is provided in
>$NAWIPS/unidata/programs/gdradr/gdradar_usmosaic.csh. The restore file =
><a
>href=3D"http://my.unidata.ucar.edu/content/software/gempak/examples/gdrad=
>r/gdradr.nts"><font
>face=3D"Times New Roman"><span style=3D'font-family:"Times New =
>Roman"'>gdradr.nts</span></font></a>
>settings used to create a <a
>href=3D"http://motherlode.ucar.edu/unidata/images/nids/radar_mosaic.gif";>=
><font
>face=3D"Times New Roman"><span style=3D'font-family:"Times New =
>Roman"'>6km US
>national mosaic</span></font></a> are provided in =
>$NAWIPS/unidata/programs/gdradr/gdradr.nts.
>The shell script example runs GDRADR by restoring the gdradr.nts =
>settings which
>specify that the program will rerun itself every 5 minutes (RADFRQ=3D5). =
>To
>change the running configuration, the user would edit the gdradr.nts =
>file, then
>issue a KILL to the GDRADR process. The shell script should =
>automatically
>restart the GDRADR program with the updated restore file =
>settings.<o:p></o:p></span></font></p>
>
><p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D1 =
>face=3DVerdana><span
>style=3D'font-size:9.0pt;font-family:Verdana'><o:p>&nbsp;</o:p></span></f=
>ont></p>
>
><p class=3DMsoNormal><font size=3D1 face=3DVerdana><span =
>style=3D'font-size:9.0pt;
>font-family:Verdana'>Unfortunately, there is no such script (or path) in =
>the
>latest distribution (<a
>href=3D"http://my.unidata.ucar.edu/downloads/214/gempak_upc5.7.3_linux.ta=
>r.gz">http://my.unidata.ucar.edu/downloads/214/gempak_upc5.7.3_linux.tar.=
>gz</a>).&nbsp;
>Any idea where I might be able to obtain =
>this?<o:p></o:p></span></font></p>
>
><p class=3DMsoNormal><font size=3D1 face=3DVerdana><span =
>style=3D'font-size:9.0pt;
>font-family:Verdana'><o:p>&nbsp;</o:p></span></font></p>
>
><p class=3DMsoNormal><font size=3D1 face=3DVerdana><span =
>style=3D'font-size:9.0pt;
>font-family:Verdana'>Thanks a lot!<o:p></o:p></span></font></p>
>
></div>
>
></body>
>
></html>
>
>------_=_NextPart_001_01C4A7EA.C98A187B--
>
--
NOTE: All email exchanges with Unidata User Support are recorded in the
Unidata inquiry tracking system and then made publicly available
through the web.  If you do not want to have your interactions made
available in this way, you must let us know in each email you send to us.