Re: WEATHER program, GDBM and LDM

Ok, I know more about it now:

I get the error: gdbm_errno = 9
which means   GDBM_CANT_BE_READER

Maybe a lock on the file or something like that???!?

Christian Page
UQAM

On Thu, 26 Jul 2001, Christian Page wrote:

>
> Finally, I thought it was fixed, but the problem still appears. I am trying to
> debug now. It seems that it tries to open the correct gdbm file, but fails for
> one reason (I am trying to find why), then look for the next file (the 
> previous
> hour by example), then succeeds. So it is why sometimes I get the previous
> reports.
>
> I am using l12 because I am interested only in METAR for now...
>
> So I am stil trying to find now the problem.
>
> Christian Page
> UQAM
>
> On Thu, 26 Jul 2001, Tom McDermott wrote:
>
> > On Thu, 26 Jul 2001, Christian Page wrote:
> >
> > > I found the problem! It works very well now. The problem is, I think, 
> > > didn't
> > > compile with the proper gdbm library for weather. Now using the version 
> > > 1.7.3
> > > everything works very well as expected.
> >
> > Well, the first thing I looked at in your original message was to make
> > sure you were using the right version (1.7.3) of the the gdbm library,
> > because I had major problems when it was linked against the 1.8.0 gdbm
> > lib.  ( pqsurf would crash periodically.  You can find out the full gory
> > details by searching the Unidata ldm users and/or support archive.  There
> > is also a message from Robb Kambic there on how to compile ldm w/ gdbm,
> > which I'm assuming you're using.  If not, I can forward it to you.)
> >
> > > FYI, the default_time = l12 means to search for the latest obs in the
> > > last 12h A default_time of 12 would mean to display all 12 hours of
> > > obs.
> >
> > Yes, this was my understanding as well.  I just thought it was a strange
> > default, not for metars maybe, but for other cmds like zone.
> >
> > Tom
> > -----------------------------------------------------------------------------
> > Tom McDermott                               Email: tmcderm@xxxxxxxxxxxxxxxxx
> > Systems Administrator                       Phone: (716) 395-5718
> > Earth Sciences Dept.                        Fax: (716) 395-2416
> > SUNY College at Brockport
> >
> >
> >
>
>