NOAA Weather Wire Service ldm 5 to 6 ?

Hello, I've been running ldm 5.0.9 forever on a Sun Ultra 10 with the
NOAA Weather Wire service feeding serial port b.  This has worked fine
for several years.

I've tried a few times to upgrade from ldm 5 to 6.0.X and seem to have a
problem with the data being identified as it comes in.

The LDM 5 ldmd.conf (works fine with 5):

exec    "pqbinstats"
exec    "pqact -v"
exec    "afos -v -b 9600 -p none /dev/ttyb"


When I switch to ldm 6.0.14, I notice in the logs:

Feb 18 18:16:38 weatherman rpc.ldmd[24106]: Starting Up (version: 6.0.14;
built: Feb 11 2004 15:09:43)
Feb 18 18:16:38 weatherman pqact[24109]: Starting Up
Feb 18 18:16:38 weatherman pqact[24109]: Successfully read pattern file
"/export/home/ldm/etc/pqact.conf"
Feb 18 18:16:38 weatherman pqact[24109]: TS_ZERO TS_ENDT {{ANY,  ".*"}}
Feb 18 18:16:38 weatherman pqact[24109]:        0 20040218181638.457
ANY 000
  _BEGIN_
Feb 18 18:16:38 weatherman pqbinstats[24108]: Starting Up (24106)
Feb 18 18:16:38 weatherman afos[24110]: Starting Up
Feb 18 18:16:38 weatherman afos[24110]: TERMIOS "/dev/ttyb": 9600 baud,
none parity
Feb 18 18:17:56 weatherman afos[24110]: Expanding input buffer size to
32768
Feb 18 18:18:13 weatherman afos[24110]: Expanding input buffer size to
65536
---

however "ldmadmin watch" shows nothing actually getting into the queue.
even though the buffer size keeps growing

I modified ldmd.conf (for 6.0.14) to:

exec    "pqbinstats"
exec    "pqact -v -l /tmp/pqactlog"
exec    "afos -r /tmp/rawdata -v -b 9600 -p none /dev/ttyb"


contents of /tmp/pqactlog:

Feb 18 18:21:46 pqact[24219]: Starting Up
Feb 18 18:21:46 pqact[24219]: Successfully read pattern file
"/export/home/ldm/etc/pqact.conf"
Feb 18 18:21:46 pqact[24219]: TS_ZERO TS_ENDT {{ANY,  ".*"}}
Feb 18 18:21:46 pqact[24219]:        0 20040218182146.255     ANY 000
_BEGIN_



And the rawfile is filling up with text, so the data is coming in.

Here's the first product:



000
ASUS43 KMSP 181821
SWRMN
MINNESOTA STATE WEATHER ROUNDUP...
NATIONAL WEATHER SERVICE TWIN CITIES/CHANHASSEN MN
1200 PM CST WED FEB 18 2004


NOTE: "FAIR" INDICATES FEW OR NO CLOUDS BELOW 12,000 FEET WITH NO
SIGNIFICANT WEATHER AND/OR OBSTRUCTIONS TO VISIBILITY. N/A MEANS
CURRENT SKY AND/OR WEATHER CONDITIONS ARE NOT AVAILABLE.

MNZ060>063-068>070-181900-
   Twin Cities Metro

CITY           SKY/WX    TMP DP  RH WIND       PRES   REMARKS
TWIN CITIES    PTSUNNY   36  26  67 SW8       30.01F HAZE    WCI  30
ST PAUL        CLOUDY    37  26  64 W6        30.03S HAZE    WCI  32
CRYSTAL        PTSUNNY   36  27  69 SW9       30.00F WCI  29
BLAINE         PTSUNNY   36  28  75 W7        30.01F WCI  30

<snip>




Is there anything that changes significantly in ldm 6 that would cause
this behavior?  Any help is greatly appreciated!

Thanks-

David




  • 2004 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: