Home |
Search |
Today's Posts |
![]() |
|
sci.geo.meteorology (Meteorology) (sci.geo.meteorology) For the discussion of meteorology and related topics. |
|
LinkBack | Thread Tools | Display Modes |
#1
![]() |
|||
|
|||
![]() Where can one find a machine-readable temperature table which gives one's current official temperature? Here is the problem in a nutshell. I want to use the local temperature as input to a UNIX script that will turn up our thermostat in the Winter. The idea is to wait until later in the morning to turn it up when the outside air temperature is warmer since it won't take as long to heat up on warmer days than when the temperature is below freezing. I thought I had it made when I found that the NWS gives our local airport conditions so I wrote a UNIX "expect" script that does successfully fire off the lynx browser and capture the text of the web page with all the current conditions. The trouble is that it takes more or less fields to describe the current conditions which means that the temperature migrates up and down the line depending upon how much information is ahead of it. It can be the tenth field or the eighth field, etc. I realized that I can't look for any identifying strings since the temperature is normally part of a column. The text rendering process destroys the formatting so I can't use position. In short, it is too randomized to mechanically find 100% of the time. What I need is a table meant as input to electronic devices that keeps some sort of fairly rigid format so that mechanical processes can find the data. The link for local conditions I have been using is http://www.srh.noaa.gov/data/obhistory/KSWO.html It would be perfect if the temperature stayed in the same field each time. Thanks for any good ideas. -- Martin McCormick WB5AGZ Stillwater, OK Information Technology Division Network Operations Group |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Input invited on Corbyn forecast accuracy | uk.sci.weather (UK Weather) | |||
COL data input | uk.sci.weather (UK Weather) | |||
Call for Participation: WORLDCOMP'06 (Computer Science & Computer Engineering), June 26-29, 2006, Las Vegas, USA | sci.geo.meteorology (Meteorology) | |||
Strange input into GFS model | uk.sci.weather (UK Weather) |