Skip to content

Commit

Permalink
Update METAR station list (again?)
Browse files Browse the repository at this point in the history
We should provide an alternative way to populate the list. This may fail for other reasons like network problems too, and there's no way to fill the database again, other than migrating down and up.
  • Loading branch information
yunosh committed Sep 7, 2016
1 parent 811f949 commit fbb3a95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -31,7 +31,7 @@ protected function _populateTable()
if (file_exists($file_name)) {
$file_h = @fopen($file_name, 'rb');
} else {
$file_location = 'http://weather.noaa.gov/data/nsd_cccc.txt';
$file_location = 'http://tgftp.nws.noaa.gov/data/nsd_cccc.txt';
$file_h = @fopen($file_location, 'rb');
}
if (!$file_h) {
Expand Down
4 changes: 2 additions & 2 deletions framework/Service_Weather/package.xml
Expand Up @@ -21,7 +21,7 @@
</stability>
<license uri="http://www.horde.org/licenses/bsd">BSD-2-Clause</license>
<notes>
*
* [jan] Update location of METAR stations.
</notes>
<contents>
<dir baseinstalldir="/" name="/">
Expand Down Expand Up @@ -978,7 +978,7 @@
<date>2016-09-02</date>
<license uri="http://www.horde.org/licenses/bsd">BSD-2-Clause</license>
<notes>
*
* [jan] Update location of METAR stations.
</notes>
</release>
</changelog>
Expand Down

0 comments on commit fbb3a95

Please sign in to comment.