Re: WEATHER program, GDBM and LDM

> >
> > gdbm-1.7.3
> > weather-v4.10 compiled with gdbm-1.7.3
> > ldm-5.1.4 compiled with gdbm-1.7.3
>
> Christian,
>
> I have almost the exact same configuration (except I'm using weather
> 4.9.1).

One more thing about the config, I am running IRIX 6.5 on an SGI.

>
> > The weather program is showing some inconsistency. By example, if I
> > ask for the latest report for a given station, I get the latest report
> > most of time, but not always. Sometimes I get the previous one, or
> > none at all. My pqsurf.conf is configured as:
>
> What do you have in your 'weather.init' for 'default_time'?  The
> distributed file does not set this and the internal default is the current
> hour.  I changed ours to 'default_time = l', which means latest, so even
> if the obs for the current hour hasn't arrived yet, you will still get the
> latest obs.
>

I have: default_time = l12


> I don't think so, because I can ask for the latest METAR for a city at
> around 50 minutes past the hour, get the previous hour's obs.  Then
> without exiting the program, come back in about 7 minutes or so, and type
> in the name of the station again (while still in the METAR> command), and
> get the current hour's obs.  The weather program seems to access the
> latest obs in the file with no problem and updates seem to available
> almost as soon as they are ingested by ldm.
>

If I launch weather, ask for, let's say, /METAR then cyul, then do that command
again and again (a few times), sometimes I get no obs, or sometimes I get the
latest.

Example of a weird output:

WEATHER _V4.10_ 06-Jul-01

WEATHER> /METAR

METAR> cyul
CYUL 261100Z 01011KT 15SM FEW120 FEW250 14/05 A3008 RMK AC1CI2 SLP185 =

METAR> cyhu
CYUL 261100Z 01011KT 15SM FEW120 FEW250 14/05 A3008 RMK AC1CI2 SLP185 =

METAR> cyhu 2
CYHU 260900Z AUTO 04004KT 9SM CLR 12/07 A3004 RMK SLP174 =
CYHU 261000Z 01006KT 15SM FEW100 BKN220 10/07 A3005 RMK AC1CI2 SLP177 =
CYHU 261100Z 05003KT 15SM FEW100 SCT220 13/09 A3007 RMK AC1CI2 SLP184 =

METAR> cyhu
CYHU 261100Z 05003KT 15SM FEW100 SCT220 13/09 A3007 RMK AC1CI2 SLP184 =


All of these commands were executed one after another without a delay.

Notice the second invocation where I ask for cyhu and I get cyul. If I ask cyhu
2 I get it correctly then if I ask again for cyhu it works then...

Christian Page
UQAM