NSF Unidata

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

[Support #ZBW-811259]: GDDIAG cannot find input grid

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.



Hi Ellen,

Your problem does seem to be caused by the im library bugs talked about in the 
two mentioned tickets.

I've attached a tarball of the most current gemlib/im libraries for you.

Save the file and untar it in $NAWIPS
cd $NAWIPS/gempak/source/gemlib/im/

make clean all

cd $GEMPAK/source/programs/gd/gddiag/
make clean all install

try GDDIAG again.

let me know if you still encounter any problems.

Michael James
Unidata



> Hi,
> 
> I am trying to run gddiag to accumulate four 6-hour accumulated
> precipitation times (which eventually I want to convert to grib files
> using gdgrib).  Initially, gddiag worked on and off, however I kept
> getting a "segmentation fault" error every other time that I ran gddiag.
> I searched the GEMPAK archives and found the following threads in
> regards to a segmentation fault error when using gddiag:
> http://www.unidata.ucar.edu/support/help/MailArchives/gempak/msg05640.html
> http://www.unidata.ucar.edu/support/help/MailArchives/gempak/msg05715.html
> 
> I don't believe the first thread is applicable as our IT people compiled
> GEMPAK 5.11.4 with g77 not gfortran.  As for the 2nd thread, I tried the
> new gditoh.f file provided but that broke everything (i.e., now gddiag
> could not find any of the 6-h precipitation grids.)  Can you suggest how
> to get this to work?
> 
> I am attaching the GEMPAK file from which I am accumulating the 6-hour
> precipitation amounts.  Below are the GEMPAK variables and error
> messages. (Note: the same error message now occurs no matter what I put
> into gddiag.)
> 
> [esukovich@psd2app GEMPAK2GRIB]$ gddiag
> GDFILE    Grid file                         200512_cnrfc_240ss.grd
> GDOUTF    Output grid file                  20051225_P24M.gem
> GFUNC     Scalar grid
> ADD(ADD(P06M^051225/1200F012,P06M^051225/1200F018),ADD(P06M^051225/1200F024,P06M^051226/1200F006))
> GDATTIM   Grid date/time
> 051225/1200F012:051226/1200F006
> GLEVEL    Grid level                        0
> GVCORD    Grid vertical coordinate          none
> GRDNAM    Grid parameter name
> GRDTYP    Diagnostic grid type (Scalar/Vec  S
> GPACK     Packing type/number of bits
> GRDHDR    Grid Header Flags
> PROJ      Map projection/angles/margins|dr
> GRDAREA   Area covered by grid
> KXKY      Number of grid points in x;y
> MAXGRD    Maximum number of grids           200
> CPYFIL    Grid file whose navigation is to  200512_cnrfc_240ss.grd
> ANLYSS    Grid analysis block
> Parameters requested: GDFILE,GDOUTF,GFUNC,GDATTIM,GLEVEL,GVCORD,GRDNAM,
> GRDTYP,GPACK,GRDHDR,PROJ,GRDAREA,KXKY,MAXGRD,CPYFIL,ANLYSS.
> GEMPAK-GDDIAG>r
> [DG -7]  Input grid P06M ^051225/1200F024 @0 %NONE in ADD cannot be found.
> Parameters requested: GDFILE,GDOUTF,GFUNC,GDATTIM,GLEVEL,GVCORD,GRDNAM,
> GRDTYP,GPACK,GRDHDR,PROJ,GRDAREA,KXKY,MAXGRD,CPYFIL,ANLYSS.
> GEMPAK-GDDIAG>
> 
> Thank you,
> Ellen
> 
> --
> Ellen Sukovich
> University of Colorado,
> Cooperative Institute for Research in Environmental Sciences (CIRES),
> and NOAA Earth System Research Laboratory (ESRL)
> Mail Code: R/PSD2
> 325 Broadway Street
> Boulder, CO 80305
> Phone: 303.497.4811
> Fax: 303.497.6101
> Email: address@hidden
> 
> 
> 


Ticket Details
===================
Ticket ID: ZBW-811259
Department: Support GEMPAK
Priority: Normal
Status: Open

Attachment: im.tar.gz
Description: GNU Zip compressed data