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/address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@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
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.