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

[GEMPAK #DWM-347008]: invalid grd file



SFCNTR will allow for the contouring of a single field.  Using OAGRID and 
OABSFC should produce a grid from objectively analyzed point data specified in 
the parameter list.  In short, either method should work.

You need to run the script in steps to confirm that the grid file is first 
created and then that objective analysis is performed correctly, using GDINFO 
to confirm that the grid is created and then filled.

Michael

> Perhaps I should back up and check to make sure the script is even using
> the correct programs. I was told the result we're trying to get is
> basically similar to
> http://www.ametsoc.org/amsedu/dstreme/images/sfc_pres.gif with station
> pressures and 4mb isobars
> 
> The script will plot the pressures but it is not plotting the isobars. Is
> running oagrid and oabsfc  to get the grid file then gdplot2 even the
> correct method for doing that? Should I make the plot using sfcntr instead?
> 
> address@hidden> wrote:
> 
> > in the gdinfo log, notice it says
> >
> >  Number of grids in file:     1
> >
> > and then
> >
> >  [GDU 2]  Did not find any matching grids.
> >
> >
> > if you set
> > GLEVEL = all
> > GVCORD = all
> > GDATTIM = all
> > GFUNC = all
> >
> > and run, you will see all grids in the file (in this case only the 1) -
> > but it will list what GFUNC is defined as for this grid.  the GFUNC = TMPC
> > is not being found, as GDINFO does not perform diagnostic calculations on
> > GFUNC like other programs which use GDPFUN.  GFUNC must be the exact name
> > of the grid requested in GDINFO.
> >
> >
> >
> > > Attached is the output of GDINFO. It would appear the grids are not being
> > > found for whatever reason. I'm probably reading this wrong, but does the
> > > output below indicate it found the grids? I also replaced the GDFUN=PMSL
> > > line too and got the same general error as you might expect.
> > >
> > > OABSFC PARAMETERS:
> > >
> > > Output grid file:        sfcpress.grd
> > > Number of x, y points:   161    71
> > > Grid bnds:     20.00  -135.00    55.00   -55.00  Grid xtnd:    2   2   2
> > > 2
> > > Station spacing:           1.00
> > > No first guess file is requested.
> > > Surface file:            /data/ldm/gempak/surface/20130213_sao.gem
> > > Data area:               19.00;-136.00;56.00;-54.00
> > > Parameters:              PMSL
> > > QC threshold:             0.0
> > > Time:                   130213/1600
> > > Grid date/time:         130213/1600
> > > Grid functions:           TMPC
> > > Vertical levels:          500
> > > Vertical coordinates:     PRES
> > > GAMMA: 0.30   SEARCH:  40.00  NPASS:  2
> > > Valid blocking bounds:
> > >
> > >
> > > No data extrapolation will occur.
> > > Enter <cr> to accept parameters or type EXIT:
> > > Processing data at time 130213/1600
> > >
> > > RMS values for pass  1
> > > PARAMETER:     PMSL
> > > RMS:           0.92
> > > #STN:           840
> > >
> > > RMS values for pass  2
> > > PARAMETER:     PMSL
> > > RMS:           0.53
> > > #STN:           801
> > >
> > > address@hidden> wrote:
> > >
> > > > Hi Neal,
> > > >
> > > > First off, the script you're using is doing a LOT of work, so you will
> > > > need to check that each step is producing the grids you need for the
> > > > GDPLOT2 step.  A way to do this is add a line with "exit 0" before
> > GDPLOT2
> > > > is called.  Then you should run GDPLOT2 manually with the same input as
> > > > given in the script, though you should first look at the file defined
> > for
> > > > GDFILE with the program GDINFO to confirm the grids exist.
> > > >
> > > > btw
> > > >
> > > > The GDPLOT2 error is actually
> > > >
> > > >  [DG -7]  Input grid PMSL ^130213/1600 @0 %NONE in SM5S cannot be
> > found.
> > > >
> > > > where the parameters are
> > > >
> > > >  PARAMETERS FOR GDPLOT : FRAME NUMBER  1 INITIAL PLOT SETTINGS -
> > > >     GDFILE=sfcpress.grd, GDATTIM=130213/1600
> > > >     GAREA=23;-120;47;-65, PROJ=LCC/25;-103;60, MAP=0, LATLON=0
> > > >     PANEL=0, TITLE=32/-2/130213/1600 Sea Level Pressures/Isobars
> > > >     OVERLAY  TYPE       LEVEL           VCORD       GRID FUNCTION
> > > >         1    C          0               NONE
> > > >  SM5S[SM5S[SM5S[SM5S[PMSL]]]]
> > > >
> > > > have you tried GDPFUN = PMSL to confirm that the grid exists?
> > > >
> > > > -Michael
> > > > Unidata
> > > >
> > > >
> > > >
> > > >
> > > > > Full Name: Neal Pruess
> > > > > Email Address: address@hidden
> > > > > Organization: University of Northern Iowa
> > > > > Package Version: 5.11
> > > > > Operating System:
> > > > > Hardware:
> > > > > Description of problem: The gdplot2 function is throwing the
> > following
> > > > error: [DG -7]  Input grid PMSL ^130213/1700 @0 %NONE cannot be found.
> > > > Attached is the script I'm running and the output. I inherited the
> > system
> > > > so I'm not sure who wrote the scripts or what all they're doing.
> > > > >
> > > > >
> > > >
> > > > Ticket Details
> > > > ===================
> > > > Ticket ID: DWM-347008
> > > > Department: Support GEMPAK
> > > > Priority: Normal
> > > > Status: Open
> > > >
> > > >
> > >
> > >
> > > --
> > > --------------------------------------------------------
> > > Neal Pruess
> > > University of Northern Iowa
> > > College of Humanities, Arts, and Sciences
> > > IT Support Coordinator
> > > Office: WRT206
> > > Phone: 319.273.5809
> > > Mail: WRT 206 0506
> > > --------------------------------------------------------
> > >
> > >
> >
> > Ticket Details
> > ===================
> > Ticket ID: DWM-347008
> > Department: Support GEMPAK
> > Priority: High
> > Status: Open
> >
> >
> 
> 
> --
> --------------------------------------------------------
> Neal Pruess
> University of Northern Iowa
> College of Humanities, Arts, and Sciences
> IT Support Coordinator
> Office: WRT206
> Phone: 319.273.5809
> Mail: WRT 206 0506
> --------------------------------------------------------
> 
> 


Ticket Details
===================
Ticket ID: DWM-347008
Department: Support GEMPAK
Priority: High
Status: Open