[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Retreiving weather data from a weather file.

Posted on 2003-11-26
10
Medium Priority
?
388 Views
Last Modified: 2010-04-01
I have to access local weather to get the current temperature, wind speed & wind direction, & then populate my dialog with that weather information.
 How do I go about retreiving the local weather information? Is there any ftp site that I can request weather for a certain area?

Thanks
bb
0
Comment
Question by:borghard
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +4
10 Comments
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 9826853
I don't know if there is a simple way to get this information, but sites like the Weather channel (http://www.weather.com) allow you to specify a ZIP code, and then return a web page with the current weather conditions. You could retrieve this web page, and then parse the content and extract the information you are interested in.
0
 
LVL 3

Expert Comment

by:ashoooo
ID: 9827489
Search for Raw weather data on google. You'll find some websites where you can get weather data files on a daily basis thru ftp.
0
 
LVL 14

Expert Comment

by:Tommy Braas
ID: 9827533
I would suggest that you go to, like khkremer suggested, weather.com. Instead of proceeding the way khkremer suggests, I would have a look at the tools available at weather.com. I am sure they have an XML feed that you would be able to benefit from. Parsing XML (which has a certain format) compared to parsing HTML is a lot easier. Let's not forget that the format of the generated webpages are likely to change before changes are made to their XML formatted weather information.

A way to "hack" their system, would be to download their "Desktop Weather" application and listen on all your TCP/IP ports for the protocol used internally by their application. You could then use what you have learnt to make your application "ask" the right questions!

Good Luck!
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 9827732
The "MyWeather" page offered by the Weather Channel is your best bet to get easy access to this information.

They also offer a subscription service for more information, but setting up a MyWeather page is free: http://my.weather.com/myweather/home

You can find information about all their services at http://www.weather.com/services/
0
 
LVL 17

Expert Comment

by:rstaveley
ID: 9828477
Here's a nice XML resource for the US http://weather.boygenius.com/xml_index.html
0
 

Author Comment

by:borghard
ID: 9838151
Thanks alot for all you good ideas!
I ended up using a weather web service that someone I work with had created, I access it by adding a web reference to my project which generates a file exposing the methods of the web service and several data structures that hold the returned data.
0
 
LVL 3

Expert Comment

by:ashoooo
ID: 9883600
Does he/she provide those web services for a fee? Or are they available for free?
0
 

Author Comment

by:borghard
ID: 9897212
I found an article online that says where you can access a weather service for free the site is:
http://www.codeproject.com/csharp/temperature.asp?target=weather
0
 
LVL 9

Expert Comment

by:tinchos
ID: 10286124
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

PAQ with points refunded

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Tinchos
EE Cleanup Volunteer
0
 

Accepted Solution

by:
SpazMODic earned 0 total points
ID: 10347364
PAQed, with points refunded (500)

SpazMODic
EE Moderator
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question