Further elaborating on the hack above
(https://bugs.launchpad.net/ubuntu/+source/weather-
util/+bug/1621179/comments/3 ) — useful for anyone who doesn't want to
build from source — the following commands carry out the necessary
changes:

sudo cp /usr/share/weather-util/stations.gz /usr/share/weather-
util/stations.gz.back

sudo bash -c "zcat /usr/share/weather-util/stations.gz.back | sed
's;http://weather.noaa.gov/pub/;http://tgftp.nws.noaa.gov/;' | gzip - >
/usr/share/weather-util/stations.gz"

(Thanks for the very useful utility, Jeremy! :) )

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1621179

Title:
  weather can not get data ( http://weather.noaa.gov has been
  discontinued)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/weather-util/+bug/1621179/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to