Comment 7 for bug 1621179

Revision history for this message
adam plaice (adam.plaice) wrote :

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! :) )