sci.geo.meteorology (Meteorology) (sci.geo.meteorology) For the discussion of meteorology and related topics.

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Old November 8th 05, 04:19 PM posted to sci.geo.meteorology
external usenet poster
 
First recorded activity by Weather-Banter: Nov 2005
Posts: 3
Default Local Temperature Data as Input to Computer Programs


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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Input invited on Corbyn forecast accuracy prodata uk.sci.weather (UK Weather) 1 November 19th 09 02:24 PM
COL data input Steve J uk.sci.weather (UK Weather) 2 September 4th 09 10:39 PM
Call for Participation: WORLDCOMP'06 (Computer Science & Computer Engineering), June 26-29, 2006, Las Vegas, USA [email protected] sci.geo.meteorology (Meteorology) 0 June 9th 06 04:23 PM
Strange input into GFS model Dave.C uk.sci.weather (UK Weather) 2 January 18th 06 10:46 PM


All times are GMT. The time now is 05:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 Weather Banter.
The comments are property of their posters.
 

About Us

"It's about Weather"

 

Copyright © 2017