[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Support #RZI-325369]: Re: New LDM server for EMWIN-only feed
- Subject: [Support #RZI-325369]: Re: New LDM server for EMWIN-only feed
- Date: Mon, 30 Apr 2007 15:38:45 -0600
Gilbert,
> > How to obtain the "301953" is left as an exercise. Obviously,
> > the script would have to extract it somehow. Is it in the
> > data? The URL?
>
> Neither. Now I have this:
>
> #!/bin/csh
> printf "\001\r\r\n000\r\r\n"
> printf "SAUS80 KWBC `date --utc +%d%H%M`\r\r\n"
> printf "METAR\n"
> #wget -o /dev/null -O -
> 'http://adds.aviationweather.gov/metars/index.php?station_ids=@WA%20@OR%20@ID%20@CO%20@MO%20@KS%20@OK%20@NE%20@IA%20@AR&chk_metars=on'|
> grep FONT | sed -e 's/<\/FONT>/=/' -e 's/<[^>]*.//g' -e 's/$/\x0D\x0D/'
> wget -o /dev/null -O -
> 'http://adds.aviationweather.gov/metars/index.php?station_ids=K&chk_metars=on'|
> grep FONT | sed -e 's/<\/FONT>/=/' -e 's/<[^>]*.//g' -e 's/$/\x0D\x0D/'
> printf "\r\r\n\003"
> pqinsert -q /home/ldm/data/ldm.pq -s 000 -f "IDS|DDPLUS" -p "SAUS80 KWBC
> `date --utc +%d%H%M`" /home/data/domestic/awcmetars.txt
> sleep 2
> /bin/rm -f /home/data/domestic/awcmetars.txt
>
> And THIS works, except for one thing: in my LDM, pqsurf isn't picking
> these up. I have no clue why.
Please send me the "pqact" entry that should process these
data-products.
Also, execute the command
pqcat -vl- -f 'IDS|DDPLUS' -p 'SAUS80 KWBC ......' 2>/dev/null
Do you see the products in question?
Regards,
Steve Emmerson
Ticket Details
===================
Ticket ID: RZI-325369
Department: Support LDM
Priority: Normal
Status: Closed