projects
/
weather.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update NOAA WX weather products URLs
[weather.git]
/
weather.py
diff --git
a/weather.py
b/weather.py
index
dbd7321
..
5e5b16b
100644
(file)
--- a/
weather.py
+++ b/
weather.py
@@
-1238,7
+1238,7
@@
def correlate():
# http://weather.noaa.gov/data/nsd_cccc.txt
# %s %s %s
#
# http://weather.noaa.gov/data/nsd_cccc.txt
# %s %s %s
#
-# http://
weather.noaa.gov/pub
/data/zonecatalog.curr.tar
+# http://
tgftp.nws.noaa.gov
/data/zonecatalog.curr.tar
# %s %s %s
#
# http://www.nco.ncep.noaa.gov/pmb/codes/nwprod/dictionaries/metar.tbl
# %s %s %s
#
# http://www.nco.ncep.noaa.gov/pmb/codes/nwprod/dictionaries/metar.tbl
@@
-1401,7
+1401,7
@@
def correlate():
icao = line.split("#")[0].strip()
if icao:
stations[icao] = {
icao = line.split("#")[0].strip()
if icao:
stations[icao] = {
- "metar": "http://
weather.noaa.gov/pub
/data/observations/"\
+ "metar": "http://
tgftp.nws.noaa.gov
/data/observations/"\
+ "metar/decoded/%s.TXT" % icao.upper()
}
count += 1
+ "metar/decoded/%s.TXT" % icao.upper()
}
count += 1