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

20041006: 20041001: GDRADR Script



Tomislav,

GDRADR will create a GEMPAK grid file (which can be converted to a 
GRIB product using gdgrib).  Other specific formats would need a 
converter- if you have one for grib, or possibly netcdf.

Steve Chiswell
Unidata User Support




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

>Thanks, found it and it's working.  I'm now creating .gem files with the
>GDRADR command in GemPak
>
>What I'm actually attempting to do is to convert the NIDS files (the N1P
>Level III product) that I'm getting via LDM from NOAAPort (one for each
>of the stations) every 5 min or so, to an XMRG file format on a HRAP
>(NEXRAD) grid.  Is this something that can be done with GemPak?  Are
>there any examples?  Or am I going about this the wrong way?
>
>Thanks!
>
>-----Original Message-----
>From: Unidata Support [mailto:address@hidden] 
>Sent: Friday, October 01, 2004 5:07 PM
>To: Tomislav Urban
>Cc: address@hidden
>Subject: 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/inde
>x
>>.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/gdr
>a
>>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/gdr
>a
>>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/gdr
>ad=
>>r/index.html">http://my.unidata.ucar.edu/content/software/gempak/exampl
>es=
>>/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/gdr
>ad=
>>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/gdr
>ad=
>>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.ta
>r.=
>>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--
>>
>--
>************************************************************************
>Unidata User Support                                    UCAR Unidata
>(303)497-8643                                                  P.O. Box
>address@hidden                                   Boulder, CO
>------------------------------------------------------------------------
>Unidata WWW Service
>------------------------------------------------------------------------
>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.
>
--
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.