On Tuesday 03 March 2009 09:29:10 James Frysinger wrote:
> You might start with your local National Weather Service Forecast
> Office. Third party websites should be approached separately. I am not
> familiar with any "weather -f" command.

I ran Wireshark while running "weather -f" ("-f" means forecast; without the 
option it displays current weather) and captured the following conversation:
---
GET /pub/data/forecasts/city/nc/raleigh_durham.txt HTTP/1.0
Host: weather.noaa.gov
User-Agent: Python-urllib/1.17

HTTP/1.1 200 OK
Date: Tue, 03 Mar 2009 18:52:15 GMT
Server: Apache/2.0.52 (Red Hat)
Last-Modified: Tue, 03 Mar 2009 16:52:22 GMT
ETag: "13f7c12-14a-46439c2441d80"
Accept-Ranges: bytes
Content-Length: 330
Connection: close
Content-Type: text/plain; charset=UTF-8

FPUS42 KRAH 031648

City Forecast for Raleigh Durham, NC 
Issued Tuesday afternoon - Mar 3, 2009

.Tuesday night... Low 33, 0% chance of precipitation.
.Wednesday... Sunny, high 13, 0% chance of precipitation.
.Wednesday night... Low 45, 0% chance of precipitation.
.Thursday... Partly cloudy, high 27.
.Thursday night... Low 59.
---
The text starting with "City Forecast" was output verbatim, except for the 
blank line. The current conditions, which include both °C and °F (but without 
the degree sign, even though the charset is UTF-8), are from 
http://weather.noaa.gov/pub/data/observations/metar/decoded/KRDU.TXT .

I went to the site you mentioned and found the elevation given as 200 ft. It 
is 200 m, which I pointed out to the webmaster.

Pierre

Reply via email to