Integrating Weather Reports into a Webserver? 61
meteorologist asks: "I work at a small college (300 students) in a small town (1500 people), and on our website we have a weather section. The problem is that it can only get weather information from a town 40 miles away. There is one local reporting station, but it reports exclusively to weatherbug, which slows down computers, and inevitably leads to spyware infections. How do I go about setting up a weather meter (temperature, humidity, wind velocity, and so forth) so that its results can be integrated into an already established website?"
Re:I got this one... (Score:1, Insightful)
Re:I got this one... (Score:1)
Re:I got this one... (Score:1)
roll your own? (Score:5, Informative)
good luck...
Google (Score:2, Funny)
Wow amazing! It's like a knowledge index for websites that returns results for stuff you want to know about!
Re:Google (Score:5, Insightful)
Although, frequently Google mostly returns results for stuff the Vendors want you to know about. The stuff YOU want to know about is burried deep within one of the 1,040,000 results, and you'd be better off asking your fellow geek. Who knows, maybe you'll spark a conversation or two.
Sometimes asking a question to a discussion forum/newssite isn't wrong.
Re:Google (Score:2)
Fire up google and search for "home weather meter computer kit".
Wow amazing! It's like a knowledge index for websites that returns results for stuff you want to know about!
"Dammit Seumas!! I'm a meteorologist, not a computer scientist!"
Re:Google (Score:2)
La Crosse Weather Station + Open2300 + LAMP (Score:5, Informative)
I use a weather station made by La Crosse [lacrossetechnology.com].
The station measures temperature, rain, humidity, wind speed and even calculates the dew point. It also functions as an atomic clock receiver.
The sensors are outside, and connect to a base station inside the house through a wired or wireless (433 MHz) connection. The base station connects to a PC over a serial connection. The sensors are battery powered. Mine have been running for 6 months off of NiMH batteries.
The stations come with software for Windows, but you can also use connect via Linux using the Open2300 [lavrsen.dk] project.
2300 includes most everything you need: The C programs read from the device via a serial port and write the information to a flat file or to an optional MySQL database.
Using a set of PHP scripts, you can host the data on any Apache webserver. As an alternative, you can upload the data to Weather Underground [wunderground.com], or even broadcast it over a HAM radio (Citizens Weather-- but I know nothing about this).
The weather stations also listens to the NIST Atomic Clock in Boulder, Colorado. I'm looking at ways of using my weather station to set the time for my NTP service.
It's all pretty straightforward, and requires very little technical knowledge if you use the vendor-supplied versions of MySQL, PHP (With GD) & Apache.
My station for Berkeley [wunderground.com] has been setup for a month, but I need to remount the temperature sensors to a location that doesn't collect as much heat. It's not really 85F in Berkeley right now-- it's 85F right outside the office door, and a cool 80F inside.
Re:La Crosse Weather Station + Open2300 + LAMP (Score:4, Funny)
1. Take an old 486 and install weatherbug on it.
2. Setup webacam to take pics off the 486's monitor.
3. Serve webcam pics.
Grump.
Re:La Crosse Weather Station + Open2300 + LAMP (Score:2)
1. Take an old 486 and install Weatherbug on it.
2. Sniff the network connection to the 486.
3. Extract the weather data and send it to your program.
4. Remove the 486, now that you've reverse-engineered Weatherbug.
5. ???
6. Weather!
There's no need to generate your own data if equivalent data already exists.
For those that suggest Google or complain (Score:2)
Wrong way (Score:5, Informative)
If you try to simply display data from a cheap weather sensor kit, you won't get forecasts or anything.
Re:Wrong way (Score:5, Informative)
They have some useful weather info there, and I think it's contributed to by individuals as well.
Perhaps you have a neighbor that's reporting to it.
Re:Wrong way (Score:2, Informative)
http://www.wunderground.com/weatherstation/index.
Re:Wrong way (Score:1)
Re:Wrong way (Score:1, Interesting)
Re:Wrong way (Score:2)
Wireless Weather Rock (Score:5, Funny)
piece of wood stuck in the ground.
If rock is wet: It is raining
If rock is white: It is snowing
If you can only see top half of rock: It is really snowing
If white things are bouncing off side of rock: It is hailing
If you can see shadow of rock: It is sunny
No shadow: It is overcast
If you cannot see rock: It is night time
If rock is slowly swinging back and forth: It is windy
If rock is pulling rope horizontal: It is a hurricane
If rock, rope, and stick are gone: There was a tornado
Re:Wireless Weather Rock (Score:3, Funny)
Re:Wireless Weather Rock (Score:2)
Re:Wireless Weather Rock (Score:2)
What are you, an Engineer for Microsoft? If step one of making a wireless weather rock is to add a wire to the rock.
Sheesh.
Re:Wireless Weather Rock (Score:2)
Or some poor bastard stole your weather recording system!
Easy Answer! (Score:5, Informative)
What you want is a Davis Instruments [davisnet.com] station. These stations hook up, via serial cable, to any PC. If you're running some form of *nix, I highly recommend the Device::WxM2 [cpan.org] Perl module. I've written various collection daemons that use WxM2 to pull weather data from the station and store it in RRD [rrdtool.org] format or in a PostgreSQL database [postgresql.org]. I even wrote an AGI script that allows people calling my Asterisk [asterisk.org] PBX to hear the latest weather data. I also wrote a handy widget [chrissnell.com] for Konfabulator [konfabulator.org] that lets you watch the weather on your Mac/PC desktop in real-time.
Shameless plug: if you decide that the Davis station is right for you, stop by my employer's website [weathertools.com], where we have a variety [weathertools.com] of Davis Instruments choices.
One word of advice: we sell cheaper stations than the Davis models but if you are planning on putting this up on a roof and leaving it for 5+ years, you really want to go with a quality peice of equipment, not a Radio Shack toy that will disintegrate after a year in the sun.
Questions? Ask and I'll be glad to answer.
Chris
A few more... (Score:4, Informative)
Here's another neat one: Joe Jaworski's vproweather [joejaworski.com] uses a C-based program to pull the data from the Davis VantagePro stations, and some Bourne shell scripting to glue it all together. One neat thing about his approach: he is using SerialEthernet converters [troygroup.com] and a little program called remserial [lpccomp.bc.ca] to tie his stations to his computer. This costs more than my method of using the Davis station's wireless capability to transmit the data, but is capable of sending the data over much longer distances--even around the world, I suppose.
Finally, these guys [earlham.edu] are using C, PostgreSQL, and Perl for their Davis-based station.
Re:Easy Answer! (Score:5, Funny)
Judging by your userid and your post, it looks like you are new to Slashdot and computers in general. Welcome! We're glad you're here. How's your AOL trial working out for you?
Re:Easy Answer! (Score:1)
Re:Easy Answer! (Score:1)
Try using some APRS data (Score:3, Interesting)
CW2113>APRS,TCPXX*,qAX,CW2113:@290007z4138.23N/08
Ignore everything before the @
29 is the Day
0007z is the zulu time
4138.23N/08749.28W are the lattitude and longitude of the station
356/007g wind is from 356* at 7MPH
t056 tempature is 56*F
P057 0.57" of precip have fallen
h87 is 87% humidity
Alternatively you can buy a scanner and a TNC and listen to the packets yourself on 145.390MHz.
Some other interesting sites are jfindu [jfindu.net] and googleAPRS [googleaprs.com]
OneWire Weather Station (Score:4, Informative)
http://www.aagelectronica.com/aag/index.html [aagelectronica.com]
Linux software:
http://oww.sourceforge.net/index.html [sourceforge.net]
I'll be honest. I bought the kit, got the basics running with the software, couldn't get the wind vane calibrated, and ran out of time (new home, new baby, etc.). However, it all seems to work just fine and lots of people that report into wunderground.org seem to use this kit. I just haven't gotten it fully going myself.
Just saw the the guy that maintains the unix/linux/risc os s/w has it running on a Linksys NSLU2. Cool.
Re:OneWire Weather Station (Score:1)
Re:OneWire Weather Station (Score:2)
http://www.maxim-ic.com/products/ibutton/software
Re:OneWire Weather Station (Score:1)
Oregon Scientific + Ambient VWS + Hamweather (Score:1, Informative)
You don't have to spend big bucks, either. You can do quite a bit with just a few hundred dollars.
If you use Zope... (Score:2, Informative)
Weatherbug (Score:1)
Re:Weatherbug (Score:1)
NOAA already offers RSS / WSDL / XML / SOAP feeds (Score:2)
Weatherbug Web Sticker (Score:3, Interesting)
Re:Weatherbug Web Sticker (Score:3, Interesting)
Re:Weatherbug Web Sticker (Score:3, Interesting)
Re: (Score:2)
Here's a couple ... (Score:2)
http://www.weather.gov/alerts/ [weather.gov].rss
Where is a two letter state abbreviation. If you just want to let users access (quickly) weather reports via browser; I highly recommend the 'ForecastFox' extension to Firefox.
Simplest method (Score:2)
phpWeather (Score:2, Informative)
Ambient Weather Solution (Score:1, Informative)
Web Posting Question (Score:1)
Geccie