Last active
January 23, 2019 23:29
-
-
Save ablyler/870822 to your computer and use it in GitHub Desktop.
Creates alias that outputs the current local TAFs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias taf="curl -s https://aviationweather.gov/adds/dataserver_current/httpparam\?dataSource\=tafs\&requestType\=retrieve\&format\=xml\&stationString\=karb,kdtw,kjxn,klan,kozw,kyip,kttf,konz,kdet,ktol,kgrr,kbtl,kmui\&hoursBeforeNow\=1\&mostRecentForEachStation\=true | xml2 | grep 'raw_text' | sed 's/\/response\/data\/TAF\/raw_text\=//' | sort" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment