Forum Moderators: phranque

Message Too Old, No Replies

Weather on my site

in Canada

         

wavebird23

6:47 pm on Jun 13, 2004 (gmt 0)

10+ Year Member



I am wondering if there are any services that give current storm conditions for Canada. It must be in celsius. Thanks in advance!

Teknorat

5:51 am on Jun 30, 2004 (gmt 0)

10+ Year Member



Why worry? I doubt they have the time to pursue people who use their 'content' - if you grab what they say the weather is, and display it in your own way then there is no problem. Apart from the ethics of using their bandwidth. Even if it was illegal you might as well do it anyway. (Not legal advice.)

stever

6:15 am on Jun 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



[sourceforge.net...]

is an open source version which translates the METAR data worldwide (although its value depends on the frequency of airports in your particular country).

Edit: Changed URL to original site

PatrickDeese

3:02 pm on Jun 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Why worry? I doubt they have the time to pursue people who use their 'content' - if you grab what they say the weather is, and display it in your own way then there is no problem. Apart from the ethics of using their bandwidth. Even if it was illegal you might as well do it anyway. (Not legal advice.)

Wow. So much for taking the moral high road. What ever happened to "doing the right thing".

You know, a simple email to the site owner might simply grant you permission.

How about the idea that they could offer this service to other sites (for a modest fee) based on your script? They let you use it for free, but they charge other sites $20 a year or something - or even just a link back.

balam

7:16 pm on Jun 30, 2004 (gmt 0)

10+ Year Member



If you can/want to write your own script, you can LEGALLY download METAR data from the NOAA. See:

[nws.noaa.gov...] ...and... [nws.noaa.gov...]

METAR data from around the world is available from the NOAA. You'll need to know the ICAO code for the (particular) airport in the city your interested in. Someone mentioned Ottawa... The ICAO code for the Ottawa International Airport is CYOW. You can FTP to...

weather.noaa.gov/data/observations/metar/stations/CYOW.TXT

...to download the latest available (coded METAR) data for Ottawa.

For data from John F. Kennedy International Airport, just replace CYOW.TXT with KJFK.TXT. (Note the uppercase filenames...)

Decoded METAR data is also available, at a slightly different FTP address ([...]/metar/decoded/XXXX.TXT), but I found it much easier to parse the coded data than the decoded.

No scraping, nothing unethical, and nothing illegal... :)

yogeniusz

9:40 pm on Jul 1, 2004 (gmt 0)

10+ Year Member



There are indeed terms covering the rights of broadcasters and publishers... however currently the Supreme Court is deliberating over whether internet content can be said to be either. The laws in Canada are not yet synced with the state of digital information.

By example, (and making legal comparisons by example can be fallacious, I know, but...) if I publish a newspaper, and in that newspaper I print a piece of public domain information (like, say... oh... the weather), it is FAIR USE for soemone else to use that weather information however they wish. Not to resuse my graphics, etc., those are intellectual property, but the information itself cannot be copyrighted.

Now, to the specifics of using someone else's server to get your weather information - if that server is not protected in any way, and if it does not serve a copyright notice along with the information it provides, then the use of that information in a NON-SUBSTANTIVE way (ie. not preserving the formatting, style etc. of the original piece) cannot be copyright restricted. Since the format of the information presented is open-source (XML with no private DTD), the information itself is public domain (from government weather stations), and the presentation of it is freely accessible, the only argument for the specific case of copyright on the weathereye information would be access to the system itself, which is not an intellectual property issue. It cannot be argued that you violated reverse-engineering laws by watching your own sockets, either. You have a right to know what systems your computer is connecting to and why.

The main issue would lie in whether the system was private or public. I would argue that since the system operates on a public port (http), and is freely accessible to the internet community at large(it would be fairly easy to include a login sequence in the weathereye software), no claim to system intrusion can be made. It is the onus of a company to protect its own systems from intrusion, and broadcasting XML over an open port doesn't really seem to be the way to do that.

It would be interesting to hear from The Weather Network staff on this issue. The system looks to have been implemented in a completely open way. I wonder if that was intended.

In a nutshell, someone cannot be nailed with copyright or intellectual property infringement if they write on their website "The Weather Network said..." Likewise if you download the information via XML and republish it on your site with a statement that says "Source: The Weather Network" with a link to TWN, how is that copyright infringement, Mr. WRONG WRONG WRONG etc.? If you're going to make a bald statement that something is untrue, at least try and explain yourself... if you have any facts or ideas, that is.

yogeniusz

9:50 pm on Jul 1, 2004 (gmt 0)

10+ Year Member



On a side note, I tend to agree that the NOAA would eb the best way to go... while I doubt The Weather Network has a huge issue with anyone using the weathereye server, they could discontinue the weathereye service, then you'd be out of luck. Chances of this happening with the NOAA are fairly slim. The only issue would be speed - weathereye is fast, whereas the venerable and well-known NOAA probably has many, many more connections and would consequently be slower. Once I get an ICAO database implmented, it might be fun to do a benchmark comparison. Downloading every XML tidbit from weathereye on a 5-second delay (don't wanna abuse the server) took about 4.5 hours. Of course, the best way to script it might be to only update information a) if a client requests it and b) if the XML fragment is more than 5 minutes old. Keep the traffic down that way.

mivox

10:12 pm on Jul 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Second vote for Hamweather [hamweather.com]... Last time I used it, it was kind of a bear to customize, but it worked well and I think it does international (outside the US) data.

Haven't used PHPweather [sourceforge.net], but it looks worth considering also.

Why fuss about site-scraping and all that bother when there are two free scripts available to serve weather data legally?

treeline

10:51 pm on Jul 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There are also a few cgi scripts for sale that are very slick, supplying graphical or text weather info for anywhere in the world for a low one time fee. Look for them at directories of scripts.

randallxski

1:55 am on Jul 2, 2004 (gmt 0)

10+ Year Member



I use wunderground, which appears to support Canada "weather stickers" as well. Is a URL allowed here? Check out [wunderground.com...] for Muskoka, Canada.

Here's the default HTML for a small image:
<a href="http://www.wunderground.com/global/stations/71630.html">
<img src="http://banners.wunderground.com/banner/infobox_both/language/www/global/stations/71630.gif"
alt="Click for Muskoka, Ontario Forecast" height=108 width=144></a>

This 39 message thread spans 2 pages: 39