NSF Unidata

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

20020215: 20020215: 20020214: gdradr, gdplot2

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.



Chance,

If you are going to call your N0R products bref0, then
you have to specify bref0 as the GFUNC that you want to grid.

My example of GFUNC=N0R is based on the NWS calling their NEXRAD
products of base reflectility tilt 0 "N0Rxxx" in the pil, so the
files are named N0R_YYYYMMDD_HHNN. My template I provide is:
NEXRIII      $RAD/NIDS/%SITE%/%PROD%   %PROD%_YYYYMMDD_HHNN

The %PROD% template will be replaced by the GFUNC you from gdradr.
So, it looks like you want your template to look like: %SITE%PROD%
then when you run gdradr with GFUNC=BREF0, it will use that
string as the %PROD% replacement.

Steve Chiswell

>From: "Chance Spencer" <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200202151811.g1FIBvx09203

>Steve,
>
>       Well I was talking with our network administrator and we have our NEXRI
> II 
>template setup like this:
>
>NEXRIII       /nids/nexrad/bref1      %SITE%BREF0                CAT_NIL  
>SCAT_NIL   10   2880     -1
>
>Neither of us sees a problem with the template however there might be one 
>there.  Our data is located in the nids/nexrad/bref1 directory and all of it 
>is listed with a three letter station identifier followed by BREF0, BREF1, 
>BREF2, or a BREF3.  The only information we are interested in is the BREF0.
>
>When I run the gdradr program all I get is this:
>
>GEMPAK-GDRADR>r
>[GDRADR 4]  Write grid 020215/1752
>waiting 600 seconds<ctrl-c to continue>
>
>I let it sit for a while and it just continues to do this whenever the 
>RADFRQ is reached.  It doesn't list any of the files that it is or isn't 
>finding.   We can't really understand why it isn't finding the data.  I was 
>also wondering if there is a way that you can see the output from the 
>program as far as what it is looking for so we can see if it is looking for 
>the file in the wrong place or something like that.  Thanks.
>
>Chance
>
>
>
>
>
>
>>From: Unidata Support <address@hidden>
>>To: "Chance Spencer" <address@hidden>
>>CC: address@hidden
>>Subject: 20020215: 20020214: gdradr, gdplot2
>>Date: Thu, 14 Feb 2002 17:13:59 -0700
>>
>>Chance,
>>
>>If the program is not locating the data, be sure the
>>NEXRIII template in $GEMTBL/config/datatype.tbl
>>matches the file naming you are using at your site.
>>
>>Then, verify that your data dirrectories are current
>>eg, look in $RAD/NIDS/AMA/N0R etc and make sure that the
>>file times are within the 30 minute RADDUR window,
>>or increate the window.
>>
>>
>>Steve Chiswell
>>Unidata User Support
>>
>>
>>
>> >From: "Chance Spencer" <address@hidden>
>> >Organization: UCAR/Unidata
>> >Keywords: 200202150011.g1F0B4x21913
>>
>> >Steve,
>> >
>> >When I do run gdradr all it says is Writing grid to date/time which is 
>>the
>> >current date and time and then it waits for 120 seconds or the RADFRQ and
>> >then says Writing grid etc. again.  However it does not list any of the
>> >stations so I'm guessing that it isn't finding the radar data.  I'm not 
>>sure
>> >but when I run it next time I will try the things that you have suggested
>> >and see if that helps.  If not then it might not be locating the radar 
>>data
>> >and in that case I'll have to talk to our network administrator and see 
>>if
>> >we can't figure out why it isn't finding the data.  Thanks.
>> >
>> >Chance
>> >
>> >
>> >>From: Unidata Support <address@hidden>
>> >>To: "Chance Spencer" <address@hidden>
>> >>CC: address@hidden
>> >>Subject: 20020214: gdradr, gdplot2
>> >>Date: Thu, 14 Feb 2002 16:49:29 -0700
>> >>
>> >>Chance,
>> >>
>> >>It sounds like gdradr is either:
>> >>1) not finding current radars within the 30 minutes (RADDUR)
>> >>    previous to the RADTIM
>> >>or
>> >>2) Not finding your radar data.
>> >>
>> >>When gdradr runs, it will list out to the screen the
>> >>radars it is using, or if they are too old. I might
>> >>need you to send me that output from the program.
>> >>
>> >>Verify that your radar data is within 30 minutes of current, or set
>> >>RADTIM back to the time of your data.
>> >>
>> >>Steve Chiswell
>> >>Unidata User Support
>> >>
>> >>
>> >> >From: "Chance Spencer" <address@hidden>
>> >> >Organization: UCAR/Unidata
>> >> >Keywords: 200202142246.g1EMkNx19191
>> >>
>> >> >Hello,
>> >> >
>> >> >I am trying to create a national mosaic using gdradr and gdplot2.  I
>> >>found
>> >> >your tutorial page on gdradr and have tryed using some of those
>> >>parameters
>> >> >to create a gridded file.  Gdradr seems to be able to create a file 
>>but
>> >>when
>> >> >I try to use gdplot2 to display it all I get is a screen with a color 
>>bar
>> >> >over at the right hand side and a map of the U.S. with the highest
>> >>intensity
>> >> >color covering it.  I am not sure if the parameters that I have set 
>>are
>> >> >correct or not.  The parameters for gdradr are:
>> >> >
>> >> >GRDAREA   Area covered by grid              23.0;-120.0;47.0;-65.0
>> >> >PROJ      Map projection/angles/margins|dr  lcc/25;-103;60/3;3;0;0
>> >> >KXKY      Number of grid points in x;y      720;500
>> >> >GFUNC     Scalar grid                       n0r
>> >> >GDFILE    Grid file                         20020208_22_radr.gem
>> >> >RADTIM    Radar composite current/dattim    current
>> >> >RADDUR    Radar time window (minutes prior  30
>> >> >RADFRQ    Update Frequency                  2
>> >> >CPYFIL    Grid file whose navigation is to
>> >> >STNFIL    Station information file          nexrad.tbl
>> >> >MAXGRD    Maximum number of grids           200
>> >> >Parameters requested:
>> >>GRDAREA,PROJ,KXKY,GFUNC,GDFILE,RADTIM,RADDUR,RADFRQ,
>> >> >CPYFIL,STNFIL,MAXGRD.
>> >> >
>> >> >
>> >> >
>> >> >The parameters for gdplot2 are:
>> >> >
>> >> >
>> >> >
>> >> >GDFILE    Grid file                         20020208_22_radr.gem
>> >> >GDATTIM   Grid date/time                    last
>> >> >GLEVEL    Grid level                        0
>> >> >GVCORD    Grid vertical coordinate          none
>> >> >PANEL     Panel loc/color/dash/width/regn   0
>> >> >SKIP      Skip_cntr/skip_plt_x;skip_plt_y   0
>> >> >SCALE     Scalar scale / vector scale       0
>> >> >GDPFUN    Scalar grid or vector grid funct  n0r
>> >> >TYPE      GDPLOT2 function processing type  F
>> >> >CONTUR    Subbox/smooth                     0
>> >> >CINT      Contour interval/min/max
>> >> >LINE      Color/type/width/label/smth/fltr
>> >> >FINT      Fill interval/min/max
>> >> >20;25;30;35;40;45;50;55;60;65;70;75
>> >> >FLINE     Fill colors                       0;21-23;20;18;17;15-7
>> >> >HILO      Color/symbol/rng/rad/cnt/intp
>> >> >HLSYM     HILO txt size/posn/font/wdth/hw
>> >> >CLRBAR    Color/ornt/anch/x;y/ln;wd/freq
>> >> >1/V/LL/0.001;0.15/0.82;0.010/1|1/1/
>> >> >1
>> >> >WIND      Wind symbol/siz/wdth/typ/hdsz
>> >> >REFVEC    Mag;x;y;txtsiz/font/wdth/HW;labl
>> >> >TITLE     Title color/line/title            1/-1/~ Unidata 4km 
>>composite
>> >> >TEXT      Size/fnt/wdth/brdr/N-rot/just/hw  1/1/1
>> >> >CLEAR     Clear screen flag                 n
>> >> >GAREA     Graphics area                     22.0;-122.0;47.0;-65.0
>> >> >PROJ      Map projection/angles/margins|dr  lcc/25;-103;60/3;3;0;0
>> > >MAP       Map color/dash/width/filter flag  1
>> >> >LATLON    Line color/dash/width/label/inc   0
>> >> >DEVICE    Device|name|x size;y size|color   xw
>> >> >STNPLT    Txtc/txt attr|marker attr|stnfil
>> >> >SATFIL    Satellite image filename(s)
>> >> >RADFIL    Radar image filename(s)
>> >> >LUTFIL    Enhancement lookup table filenam
>> >> >STREAM    lines/arrows/stop/slow/scale
>> >> >POSN      Position                          0
>> >> >COLORS    Color list                        1
>> >> >MARKER    Marker color/type/size/width/hw   0
>> >> >GRDLBL    Grid point label color            0
>> >> >FILTER    Filter data factor                YES
>> >>Parameters requested: 
>>GDFILE,GDATTIM,GLEVEL,GVCORD,PANEL,SKIP,SCALE,GDPFUN,
>> >> 
>> >TYPE,CONTUR,CINT,LINE,FINT,FLINE,HILO,HLSYM,CLRBAR,WIND,REFVEC,TITLE,TEXT,
>> >> 
>> >CLEAR,GAREA,PROJ,MAP,LATLON,DEVICE,STNPLT,SATFIL,RADFIL,LUTFIL,STREAM,POSN,
>> >> >COLORS,MARKER,GRDLBL,FILTER.
>> >> >
>> >> >
>> >> >The file that gdradr is creating can be found by logging into
>> >> >ariel.met.tamu.edu as anonymous and using e-mail as password.  Once
>> >>logged
>> >> >in you can cd to the pub directory and use the
>> >> >20020208_22_radr.gem file to try and plot on gdplot 2 to see if you 
>>know
>> >> >what might be going on.  I would appreciate any suggestions that you
>> >>could
>> >> >offer.  Thank you for your time.
>> >> >
>> >> >Chance Spencer
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >_________________________________________________________________
>> >> >Get your FREE download of MSN Explorer at
>> >>http://explorer.msn.com/intl.asp.
>> >> >
>> >>
>> >>**************************************************************************
> **
>> >><
>> >>Unidata User Support                                    UCAR Unidata
>> >>(303)497-8644                                                  P.O. Box
>> >>address@hidden                                   Boulder, CO
>> >>--------------------------------------------------------------------------
> --
>> >><
>> >>Unidata WWW Service                        http://www.unidata.ucar.edu/
>> >>**************************************************************************
> **
>> >><
>> >
>>
>> >
>> >
>> >_________________________________________________________________
>> >Send and receive Hotmail on your mobile device: http://mobile.msn.com
>> >
>>
>>**************************************************************************** 
>><
>>Unidata User Support                                    UCAR Unidata 
>>(303)497-8644                                                  P.O. Box 
>>address@hidden                                   Boulder, CO 
>>---------------------------------------------------------------------------- 
>><
>>Unidata WWW Service                        http://www.unidata.ucar.edu/     
>>**************************************************************************** 
>><
>
>
>
>
>_________________________________________________________________
>Join the world?s largest e-mail service with MSN Hotmail. 
>http://www.hotmail.com
>