[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Support #YYF-163104]: Re: LDM 6.6.3 load average
- Subject: [Support #YYF-163104]: Re: LDM 6.6.3 load average
- Date: Wed, 11 Apr 2007 16:49:18 -0600
Gilbert,
> OK, cool! Thanks for looking into it. Now, one more question, and then
> I'll drop it...any chance of pqsurf being fixed, or I am I stuck with
> just regular METARs working?
Here's what Steve Chiswell wrote to Rob Dale:
I have several suggestions depending on what you want to do with the
individual metar observations.
To view on your desktop, the NWX gui can display the raw metar and speci
reports for a station or all stations in a state for a the last N hours.
The Autoupdate feature will keep these updated on the display (the default
time for refresh is 300 seconds in $GEMPAK/source/programs/gui/nwx/auto.c, but
can be recompiled to a shorter time interval).
The SFLIST program can be run (or invoked in a cron or cgi) to output the
raw observations in the dcmetr decoded file using SFPARM=text;spcl
Alternatively, if you really are looking for a solution such as the nalarm
directory of
observations, I have a simple awk script to run from the LDM rather than having
to configure
a separate pqsurf.conf and separate queue. I've attached he script to this
message and can
be installed as ~ldm/util/metar_obs.awk
WMO ^S[AP]
PIPE /usr/bin/awk -v OUTDIR=data/gempak/alarms/gempak -f
util/metar_obs.awk
In the above, the location of awk may be /bin or /usr/bin on most systems.
Also, if the
awk executable is oawk (eg solaris) rather than gawk or nawk, then use gawk or
nawk explitly.
A list of stations can be defined in the script to search for in the piped SA
and SP
bulletins. This script just keys on the 4 letter ICAO in the text, rather than
making
specific assumptions about the format of a bulletin (eg, it would match that
string anywhere
not just if it is a valid ICAO....but luckily most ICAO identifiers don't match
many words).
Steve Chiswell
Unidata User Support
Regards,
Steve Emmerson
Ticket Details
===================
Ticket ID: YYF-163104
Department: Support LDM
Priority: Normal
Status: Closed