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

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



Ellen,

I believe this should work:

cd $GEMPAK/source/gemlib/im/
make clean
ar -d $OS_LIB/gemlib.a imnidh.o
make all
ar -rv $OS_LIB/gemlib.a imnidh.o
cd $GEMPAK/source/programs/gd/gddiag/
make clean all install

try again and let me know!  sorry for all of the trouble - the updated imnidh.f 
isn't rebuilding since it already exists in gemlib.a - this should clear that 
up.

-mj 


> Hi Michael,
> 
> No worries! I just appreciate the quick turn around to my questions.
> 
> So, I did as you suggested but I still got the same error message "Input
> grid P06M ^051225/1200F012 @0 %NONE cannot be found" when I ran gddiag.
> I did notice that although all the files in
> $NAWIPS/gempak/source/gemlib/im/ had June 22 and 23 dates, the files in
> $GEMPAK/source/programs/gd/gddiag still had dates from when we last
> installed GEMPAK in February (except for gddiag which had a 23 June
> date.)  Does this matter?
> 
> Anyway, I think I mucked things up after that because I went back to run
> through all the instructions from the beginning (i.e., from unzipping
> and untarring the im.tar.gz file) and now when I type "ar -rv
> $OS_LIB/gemlib.a *.o" I get an error that says "ar: No match."
> 
> Any ideas?
> 
> Thanks for all your help,
> Ellen
> 
> On 6/23/2010 10:57 AM, Unidata GEMPAK Support wrote:
> > Hi Ellen,
> >
> > I'm sorry I forgot to include a very important instruction.
> >
> > In $NAWIPS/gempak/source/gemlib/im/ after "make clean all" type
> >
> > "ar -rv $OS_LIB/gemlib.a *.o"
> >
> > then cd to $GEMPAK/source/programs/gd/gddiag and try "make clean all 
> > install"
> >
> > sorry about that missing instruction, i've been under the weather and a bit 
> > out of it the last couple of days!
> >
> > best,
> >
> > Michael
> > Unidata
> >
> >
> >
> >> Hi,
> >>
> >> Thank you very much for the quick response.
> >>
> >> I followed your directions but unfortunately I still cannot get gddiag
> >> to work.
> >>
> >> I saved the tarball in $NAWIPS and then unzipped and untarred it there.
> >> I then went to cd $NAWIPS/gempak/source/gemlib/im/ and typed "make clean
> >> all."
> >> I checked and all the files (im*) in the directory were replaced.
> >> Next I went to cd $GEMPAK/source/programs/gd/gddiag  and typed "make
> >> clean all install"
> >> I then went back to my working directory, used the following GEMPAK
> >> variables and ran gddiag:
> >> [esukovich@psd2app NewDirectory]$ gddiag
> >> GDFILE    Grid file                         200512_cnrfc_240ss.grd
> >> GDOUTF    Output grid file                  20051225_P24M.gem
> >> GFUNC     Scalar grid                       P06M
> >> GDATTIM   Grid date/time                    051225/1200F012
> >> 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/1200F012 @0 %NONE cannot be found.
> >> Parameters requested: GDFILE,GDOUTF,GFUNC,GDATTIM,GLEVEL,GVCORD,GRDNAM,
> >> GRDTYP,GPACK,GRDHDR,PROJ,GRDAREA,KXKY,MAXGRD,CPYFIL,ANLYSS.
> >> GEMPAK-GDDIAG>
> >>
> >> Could I perhaps have the wrong gditoh* files from when I tried the
> >> following in the thread:
> >> http://www.unidata.ucar.edu/support/help/MailArchives/gempak/msg05715.html?
> >>
> >> Thanks again for your time,
> >> Ellen
> >>
> >>
> >>
> >>
> >>
> >>
> >> The error message is still the same:
> >>
> >> On 6/22/2010 1:16 PM, Unidata GEMPAK Support wrote:
> >>
> >>> 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
> >>>
> >> --
> >> 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
> >
> >
> 
> --
> 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