[commits] [Wiki] changed: MetarWeather

Wiki Guest wikiguest at horde.org
Tue Apr 22 19:04:04 UTC 2014


guest [128.183.109.172]  Tue, 22 Apr 2014 19:04:04 +0000

Modified page: http://wiki.horde.org/MetarWeather
New Revision:  8
Change log:  (mheney) specified file locations at NOAA

@@ -64,4 +64,10 @@
  I found that the script appeared to just silently fail downloading  
the files. Creates the db structures fine, but doesn't populate them,  
even with the change noted by Mathieu. I then went to the NOAA site  
mentioned above, wget the files, and once they are in the directory  
where buildMetarDB.php is, the script then works fine.

  -- Simon W.

+Rather than editting the php file, you can specify the NOAA file to  
use directly. So,
+
+php buildMetarDB.php -a -u horde_db_user -p horde_db_pass -d horde_db  
-f "http://weather.noaa.gov/data/nsd_cccc.txt"
+php buildMetarDB.php -l -u horde_db_user -p horde_db_pass -d horde_db  
-f "http://weather.noaa.gov/data/nsd_bbsss.txt"
+
+--- Mike H.



More information about the commits mailing list