I have a few scanners feeding online feeds such as LiveATC.net. Some of these allow no way to listen directly to the scanner in my shack without listening to the feed online. To solve this, I bought a Behringer MicroMix MX400 mixer. It has 4 inputs and one output. With audio splitters on the scanners, it was an inexpensive way to allow me to easily listen directly to the scanner audio without disconnecting the online feeds.
Thursday, October 10, 2013
Wednesday, October 2, 2013
Linux Bash Script to get a TAF Forecast From the Console
Usage:
taf [ICAO STATION ID]
Example: $taf kslc
Save the following in a file called taf:
taf [ICAO STATION ID]
Example: $taf kslc
Save the following in a file called taf:
#!/bin/bash station=$(echo "$1" | tr '[:lower:]' '[:upper:]') wget -q -O /home/$USER/taftmp http://weather.noaa.gov/pub/data/forecasts/taf/stations/$station.TXT echo " " more /home/$USER/taftmp echo " " rm /home/$USER/taftmp
Python Script to Update Icecast Stream with METAR and TAF
Here are two scripts to retrieve airport METAR and TAF data from the National Weather Service website and then send this data to an Icecast server to update stream metadata.
You can get the scripts here (use wget from a Linux command line):
You can get the scripts here (use wget from a Linux command line):
http://www.k7bbr.net/files/imetarkslcExample.py
http://www.k7bbr.net/files/itafkslcExample.pySave them with whatever names you'd like (probably imetar[AirportName].py). In each script enter the server/stream information and modify the script to download your desired station name. Then run a cron job every hour (or whatever interval you choose) to update your stream metadata with the airport METAR and TAF data.
Subscribe to:
Posts (Atom)