Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!

Weather Data Available in XML

michael posted about 10 years ago | from the stormy-weather dept.

The Internet 198

wombatmobile writes "Wired reports the National Oceanic and Atmospheric Administration this week began providing weather data in an open access XML format. Previously, the data was technically available to the public, but in a format that's not easily deciphered. How will the free and easy availability of valuable data like this in XML affect the development of the web? One example is Tom Groves SVG weather. This type of visualization of XML data is about to fall within easy reach with nothing more than a text editor required as an authoring tool. From March 2005 SVG becomes part of the standard Mozilla/FireFox build. As an example of how web standards are supposed to work, what more could you hope to find?" We mentioned the policy change a few days ago.

Sorry! There are no comments related to the filter you selected.

What's my lat and alt? (1)

BoldAC (735721) | about 10 years ago | (#11003830)

The XML requires latitude and altitude...

Does anybody know a way to translate that for common locations?

Re:What's my lat and alt? (1)

BoldAC (735721) | about 10 years ago | (#11003846)

Sorry... obviously I mean...

Latitude and Longitude

I hope I know programming better than geography. :)

Re:What's my lat and alt? (4, Funny)

bigberk (547360) | about 10 years ago | (#11003859)

The XML requires latitude and altitude...
OK, you're going to need: (1) a compass, (2) a stopwatch with a second hand, and (3) an astrolabe.

...or just look it up in a reference book

Re:What's my lat and alt? (5, Informative)

Anonymous Coward | about 10 years ago | (#11003862)

Click on a city in your area on this site: http://www.timeanddate.com/worldclock/custom.html? continent=namerica [timeanddate.com] The page for each city lists the coordinates.

Re:What's my lat and alt? (1)

xeos (174989) | about 10 years ago | (#11003869)

Does it matter? It says the "data" is generated randomly.

Re:What's my lat and alt? (4, Informative)

Davak (526912) | about 10 years ago | (#11003872)

Yeah, you are right... that's the only information I need to chunk out a quick program running off the feed.

Speaking of the feed...here's the URL that contains the actual XML information:
http://www.nws.noaa.gov/forecasts/xml/ [noaa.gov]

I guess they didn't post it on the front page to decrease the slash effect.

Re:What's my lat and alt? (2, Interesting)

opec (755488) | about 10 years ago | (#11004479)

I don't get it. I've been using this service for MONTHS now.

Mine: http://www.nws.noaa.gov/data/current_obs/KBWG.rss

Re:What's my lat and alt? (1)

Space cowboy (13680) | about 10 years ago | (#11003962)

You could try 'http://hostip.info/', and if it gets it wrong, add yourself when you find out :-)


Re:What's my lat and alt? (1)

hobbes580 (731352) | about 10 years ago | (#11004037)

The other links posted are probably more useful (and practical) but this [onlamp.com] has a link to a file with all US zip codes and their lat/lon. They also have a simple PHP script for putting it into a database. I'm using it for my site and it seems pretty comprehensive, though you may have to change the script around some to get all the zip codes in depending on your version of PHP.

Re:What's my lat and alt? (3, Informative)

orangenormal (728999) | about 10 years ago | (#11004172)

You can also get XML feeds from specific weather stations at http://www.nws.noaa.gov/data/current_obs/ (Not lat and long required; just the station name) Now to wait until the Canadian government does the same thing...

Re:What's my lat and alt? (1)

aemain (678301) | about 10 years ago | (#11004481)

If you're in the US, try this site: http://geocoder.us/ [geocoder.us] . It a demo of the perl module Geo::Coder::US [cpan.org] , available from the CPAN. Pretty hott.

It uses the Census Bureau's TIGER/Line data [census.gov] , which isn't the most reliable for non-urban areas, but it's public domain.

Re:What's my lat and alt? (1)

tajmorton (806296) | about 10 years ago | (#11004575)

Wikipedia is great for this :) Just look up your location and it'll tell you everything you want to know about the lat and long. For example: Corvallis, OR [wikipedia.org] : Corvallis is located at 4434'15" North, 12316'34" West (44.570780, -123.275998) Fast and easy to use :) HTH, Taj

Re:What's my lat and alt? (1)

Willard B. Trophy (620813) | about 10 years ago | (#11004591)

You mean you're admitting to be the only Slashdot user who hasn't stood outside their home with a GPS?!

If it crashes.... (4, Funny)

stfvon007 (632997) | about 10 years ago | (#11003835)

Do we get the blue sky of death?

Re:If it crashes.... (1)

Fred Freddy (695468) | about 10 years ago | (#11004024)

No, but you may get a 6.7 quake from the General Protection Fault....

Re:If it crashes.... (1)

nxtr (813179) | about 10 years ago | (#11004147)

If that's the case, the sky's been crashing on me for a while now.

Re:If it crashes.... (0)

Anonymous Coward | about 10 years ago | (#11004490)

Not if you live in Cupertino...

Then you get the Sad Mac [wikipedia.org] .

Available... (0)

Anonymous Coward | about 10 years ago | (#11003840)

....Only in Japan.

Why SOAP (3, Insightful)

bigberk (547360) | about 10 years ago | (#11003841)

Can't the XML files just be fetched by HTTP ? Why introduce that SOAP layer? I mean, can't I just wget .../BOS.xml or something?

Re:Why SOAP (4, Informative)

aluminum boy (589676) | about 10 years ago | (#11003905)

SOAP, being XML, is available via http. Anything available in SOAP can be opened / viewed as XML in most browsers.

Re:Why SOAP (1)

kinema (630983) | about 10 years ago | (#11004004)

I think what is being asked here is why add another layer? XML can be directly via HTTP so why serve it via SOAP which is in turn being served by HTTP?

Re:Why SOAP (1)

aluminum boy (589676) | about 10 years ago | (#11004051)

They seem to have several different types of XML formats including RSS and XML [noaa.gov] in addition to SOAP.

Re:Why SOAP (1)

dtrent (448055) | about 10 years ago | (#11004305)

Yeah and why not just throw out the XML while you're at it.

Re:Why SOAP (4, Interesting)

jdludlow (316515) | about 10 years ago | (#11004091)

SOAP uses HTTP as a transport layer option (usually). The reason why the added complexity is worth it is because it allows client applications to do things like "float temp = weatherSerivce.getTemp(cityID);" much more easily. (Note: I completely made up that example, but it's similar to what would actually be used.) The point is that the client doesn't really have to know and/or care that "weatherService" isn't a local call. The client also doesn't need to care that it's running Java locally and the server is running .NET (or whatever else it might be using).

SOAP is just a piece of the larger and much more complicated Web Services unbrella. Understanding all of the specs involved is a huge task, but you can do some client-side tutorials that will explain quite a bit of the basics anyway. Most of the real work is done on the server, so if you ignore that bit of it to start with, the learning curve isn't anywhere near as steep. The Apache Axis [apache.org] project is a decent starting point, if you just want to play around with the technology. Installing Axis into Tomcat is about a minutes worth of effort, then you can spend hours exploring the various documents, examples, and tutorials.

Re:Why SOAP (2, Informative)

yelvington (8169) | about 10 years ago | (#11004014)

The referenced URL provides access to quite a bit of detailed forecast information. If all you want is current weather observations, you can get that in RSS or the Weather Service's own XML format without the bothersome overhead of SOAP or WSDL. See this page:

http://www.nws.noaa.gov/data/current_obs/seek.ph p? state=&Find=Find

Re:Why SOAP (1)

nick-less (307628) | about 10 years ago | (#11004017)

Can't the XML files just be fetched by HTTP ? Why introduce that SOAP layer? I mean, can't I just wget .../BOS.xml or something?

You can AND you can also invoke remote procedures via SMTP. I've never seen anyone doing this, but it sounds pretty cool.. ;-)

Re:Why SOAP (3, Informative)

batkiwi (137781) | about 10 years ago | (#11004356)

Because it's meant to be used by programs that do processing on the data, not simply aggregators.

By using SOAP, I can use php/java/c++ and simply bind to their services isntead of having to roll my own weather-xml->object (or hashtable, or whatever) converter.

This is not for you to just hit with your browser/wget/whatever to stick weather on your webpage (although you can do that, it's easy if you post the right data), it's to allow you to write your own application that does whatever it wants with the data in an easy manner.

It's not flat xml files based on city as per your example because that wouldn't make any sense. If you read through their api's there's a lot of data you can get based on long/lat or weather station id or........

The question is..... (5, Funny)

BorisSkratchunkov (642046) | about 10 years ago | (#11003856)

weather or not I'll use it.....

I'm sorry, I'm sorry....it's another bad pun....I seriously need to talk to a psychologist about my BPS (Bad Pun Syndrome or Backup Power Supply, which ever you prefer).

Re:The question is..... (1)

Fred Freddy (695468) | about 10 years ago | (#11004055)

If you end up not using it, may I suggest instead this awesome application [weatherbug.com] ? Check it out, it does a lot of really neat stuff keeping you up to date on the weather.

By the way, does anyone know how to get rid of all these popup windows I keep getting?

Re:The question is..... (1, Funny)

Anonymous Coward | about 10 years ago | (#11004264)

> By the way, does anyone know how to get rid of all these popup windows I keep getting

No, but you seem to unknowingly transmitting those dastardly pop-ups via some form of cleverly embedded virus within your posting. I say this because not minutes after reading your post (as a rough gauge about the the time it took me to download that weatherBug thingy) I was also infected!

Fortunately, I am extremely 1337, and I recognized those dastardly "pop-ups" almost as instantly as dozens of them began appearing on my screen. I must now decipher the intricate workings of your post to extract the Trojan virus lurking within. I suspect some form of Java X Active encoding is hijacking all the lowercase letters "p" within your posting (this is subset of the three infamous j, p, and g exploits effecting all versions of IE Explorer).

To all .\ inhabits: I am your savour, and you must await my patch to prevent further spread of this X Active Virus Horse. Do not, I repeat do not look or a pay attention to to any /\. posting until, my patch is in place (if desperate you may do so, but you must obfuscate all letter p's with a felt tip marker, unless using a LCD screen, you mustn't write on a LCD display device! that will only intensify matters).

I will be back shortly with the patch. But, first I must enlarge my penis, attain a massive gambling debt, and masturbate furiously to porn I just purchased with my stack of totally legal off-shore credit cards.

Let god be with you.

MOD parent UP! (0)

Anonymous Coward | about 10 years ago | (#11004316)

It's hilarious!

Re:The question is..... (4, Funny)

daeley (126313) | about 10 years ago | (#11004261)

I hate to rain on your parade, but your attempts to cloud the issues takes a hail of a lot of guts. What are you, three sleets to the wind? It snow wonder you're sorry!

Extension for Firefox (4, Informative)

FiReaNGeL (312636) | about 10 years ago | (#11003867)

Don't miss out the wonderful WeatherFox [mozdev.org] extension for Firefox... crafteh coded this marvel after a suggestion of mine [mozillazine.org] on Mozillazine Forums. International Forecast in your statusbar. Can't beat that!

Re:Extension for Firefox (4, Informative)

MP3Chuck (652277) | about 10 years ago | (#11003892)

Except that now it's ForecastFox [mozdev.org] . Apparently there was some conflict with the website www.weatherfox.com (people going to weatherfox.com looking for WeatherFox extension support 'n stuff).

Re:Extension for Firefox (2, Funny)

FiReaNGeL (312636) | about 10 years ago | (#11003930)

Looks like Firefox trend of changing names extend even to plugins :) But WeatherFox sounds better in my opinion... which is sad :(

Re:Extension for Firefox (0)

Anonymous Coward | about 10 years ago | (#11004448)

Check out meatfox. It finds the best prices on standing rib roasts in a given city. Then look at foxyfox, for finding escort servies.

Re:Extension for Firefox (1)

IO ERROR (128968) | about 10 years ago | (#11004206)

This project has been renamed to ForecastFox and has
moved to forecastfox.mozdev.org [mozdev.org] .

NOAA? (4, Funny)

MP3Chuck (652277) | about 10 years ago | (#11003868)

Finally, a *AA action we can be happy about!

chuck, (-1, Flamebait)

Anonymous Coward | about 10 years ago | (#11003883)

you suck.

and you're fucking fired, bitch.

Re:NOAA? (1, Offtopic)

Capt'n Hector (650760) | about 10 years ago | (#11004503)

I modded this redundant, but people keep modding it up. So, I guess I'll have to forfeit that and explain:

See this [slashdot.org] comment from 3 days ago.

Re:NOAA? (0)

Anonymous Coward | about 10 years ago | (#11004596)

Redundant might make sense if someone else in this thread had already made that comment, but one comment in a thread from 3 days ago hardly qualifies as "redundant."

If you're going to mod something Redundant, start with the "In Korea, only old people..." jokes.

OpenGIS does this too. (2, Interesting)

EmbeddedJanitor (597831) | about 10 years ago | (#11003874)

This is a trend. OpenGIS has proposed open XML data for a while. Hopefully a lot more data will be exposed this way, making true "internet apps" in the future.

Weather or not (2, Funny)

Tim_F (12524) | about 10 years ago | (#11003877)

old people in Korea will make use of it is the only real question here.

In Korea only old people know thier latitude and longitude.

Re:Weather or not (0, Flamebait)

Old Korean (836459) | about 10 years ago | (#11003915)

STFU you racist fuck!

Next step, better forecasting (4, Funny)

Eric Giguere (42863) | about 10 years ago | (#11003878)

It'll be easier to parse, but it won't be any more accurate.


Re:Next step, better forecasting (5, Funny)

LiquidCoooled (634315) | about 10 years ago | (#11003986)

The NOAA today started releasing accurate targeted weather data in XML format to a wide audience.
However unfortunately, because of a large slashdotting, you cannot get todays weather until tomorrow.
Several planned hurricanes were put on hold for a few days because of the disruption.
Impatient internet users were caught and fined for illegally downloading and sharing todays weather. One user had a large tornado and numerous thunderstorms on his server.

No; your sig (1)

A nonymous Coward (7548) | about 10 years ago | (#11004321)

Yes I make mistakes. Don't we all?

Dubya has said, in press conferences and one of the debates, that he has made no mistakes.

Doesn't that just make you feel really, pitifully, inadequate?

Maybe just read the forecast details (2, Interesting)

jesterzog (189797) | about 10 years ago | (#11004394)

It'll be easier to parse, but it won't be any more accurate.

I think it depends on your definition of accuracy. For me at least, I don't usually bother with the specific predictions for anything more than this afternoon, and then usually only having checked what that forecast is based on. I think specific predictions are only provided to satisfy the people who demand definite and specific information without detail and regardless of accuracy, anyway. If you don't judge weather reports by the exact timing of events, and instead utilise the information they can provide about what's actually going on in the weather system, you might find them to be much more trustworthy and useful.

I think the most useful part of weather reports is the contextual information provided with satellite pictures and diagrams about where all of the fronts, high and low pressure zones, and so on, happen to be. It's not always possible to predict when a particular front will roll over causing a thunderstorm, but it's often possible to predict that it'll happen at about the time a high pressure zone has moved out of the way to let it through, which might be quite likely to happen "within a day", for instance.

Changeability of weather varies in different parts of the world, and perhaps we get a lot more of this information here than is handed out in other parts of the world. (New Zealand is apparently one of the more volatile areas in terms of changing weather.) Unfortunately the only overseas weather reports I'm familiar with are global reports on international TV channels like CNN, and they give virtually no contextual information besides current weather and temperature.

Are local reports in other places much more detailed about the actual weather system, or do they just dish out specifics without context day after day?

Meanwhile, other governments still charge.. (3, Informative)

mumblestheclown (569987) | about 10 years ago | (#11003881)

Meanwhile, other, shortsighted governments, including most European ones, still largely charge for basic weather information.

This leads to two perverse situations:

  1. (small aircraft) Pilots and (small craft) boaters are put in the unfortunate place of balancing their personal safety against a few dollars in such a way that would never be tolerated if we were talking about automobiles and trains.
  2. often, european users of weather data rely on US-taxpayer funded US weather info for their own countries. of course, since the emphasis is not so much, this info and forecasts are not as detailed or thought through as those that their own governments (or hastily privatized equivalents) produce daily. It's one thing that the US is doing right.

Re:Meanwhile, other governments still charge.. (4, Informative)

lukewarmfusion (726141) | about 10 years ago | (#11003931)

NOAA servers contain much more weather info than just US states and territories; my program was pulling down everything from Afghanistan to Zimbabwe. Which was good for me - the site was designed for world travelers.

Re:Meanwhile, other governments still charge.. (1)

staynz79au (740804) | about 10 years ago | (#11004391)

The Australian BOM has great website and their HTML is setup so you can easily find the information and use it yourself. My room-mate has setup our houses internal page on a PC hooked up to our TV, not only does it control our X10 and show any upcoming events and unread e-mails, but it also gives us the current weather conditions, straight from the BOM site.

wasn't it already available? (1)

g_braad (105535) | about 10 years ago | (#11003886)

What is different from the information provided here, then the one from the weather channel (weather.com)???

Re:wasn't it already available? (1)

Saeed al-Sahaf (665390) | about 10 years ago | (#11003921)

Perhaps it's for use for people like the Weather Channel, or HamWeather [hamweather.com] , a weather package that anyone can install and use on their web site that draws data from NOAA (don't know if it's GPL, don't really care...).

It was already available in a lot of places. (1)

wasted (94866) | about 10 years ago | (#11003941)

This is just another means to get the data. A lot of colleges have weather sites with a lot of data as well. (FSU is a good one, for example.)

Weather data from NOAA/NWS is supported by the taxpayers, data from the Weather Channel is obtained or derived from the NOAA/NWS data and is supported by advertisements.

Cool. (1)

koreaman (835838) | about 10 years ago | (#11003891)

Anything XML must be good. I'm not being smart, I'm absolutely serious. XML is the best thing since sliced bread.

Re:Cool. (1)

lukewarmfusion (726141) | about 10 years ago | (#11004148)

I spent many hours trying to hunt down an XML source for weather data before I gave up and wrote code to decipher those damn files they were providing.

Re:Cool. (0)

Anonymous Coward | about 10 years ago | (#11004169)

<!-- Say it isn't so? -->
<bread type="sliced" />
<markup type="XML" />

SVG plugin for firefox? (1)

bdigit (132070) | about 10 years ago | (#11003895)

Anyone know where I can download an SVG plugin for firefox?

Re:SVG plugin for firefox? (4, Informative)

g_braad (105535) | about 10 years ago | (#11004096)

You need to recompile Firefox yourself or download the older 0.8 release from Mozilla.org which has SVG enabled.


another solution is to install svgview from adobe, like the 6.0 beta 1 and coppy the plugin files found in /progra~1/common files/adobe/adobe viewer 6/plugins/np* to the plugins dir from firefox (ofcourse only on windows).

if you want to use the mozilla implementation of SVG, recompile is the only solution for now. is there someone out there who would be willing to create this so-called 'patch'?

That SVG demo looks very interesting.... (1)

CajunArson (465943) | about 10 years ago | (#11003902)

Too bad Linux still doesn't have any type of real support for SVG in its main browsers (Firefox didn't even suggest downloading the crappy Adobe plugin)
SVG: Still Vapory Goodness in Linux.

Re:That SVG demo looks very interesting.... (1, Interesting)

Anonymous Coward | about 10 years ago | (#11004016)

Konqueror seems to display SVG pretty well...

Re:That SVG demo looks very interesting.... (1)

FlipmodePlaya (719010) | about 10 years ago | (#11004019)

Indeed, I believe it uses KSVG to do that. In fact, you can use SVG icon themes in KDE, which look fantastic.

Re:That SVG demo looks very interesting.... (1)

CajunArson (465943) | about 10 years ago | (#11004135)

If ksvg is so wonderful, please post a link showing a screenshot of the SVG weather svg app in action. The only thing I've ever seen from ksvg are some gimmicky static SVG images.
Oh, and the svg icons ARE NOT SVG! They are .png's rendered from static svg images, and I'm not even sure they use any kde tools to make the svg icons in the first place.

Re:That SVG demo looks very interesting.... (1)

Anonymous Coward | about 10 years ago | (#11004400)

i'll play into this shit

gnome has svg icons, fucking grab one and choose resize, that shit can take up your whole desktop and look crisp

why the fuck that's not in firefox i don't know

Windows SVG Viewer (1)

lou2ser (458778) | about 10 years ago | (#11003923)

Download Adobe's SVG Viewer here: http://download.adobe.com/pub/adobe/magic/svgviewe r/win/3.x/3.02/en/SVGView.exe [adobe.com]
I could not get it work in Firefox, even with the plugin, but IE works fine.

Re:Windows SVG Viewer (1)

g_braad (105535) | about 10 years ago | (#11004107)

install the 6.0 beta 1 and copy the files in the progra~1/common files/adobe viewer 6/plugins/np* to your firefox plugins directory. it works for me, but you can't open all the test files on http://www.croczilla.com/ since most of the uses the mozilla.org implementation :S (like for xbl and xul bindings).

To make it "work" in Firefox... (3, Informative)

b00m3rang (682108) | about 10 years ago | (#11003932)

Follow these directions: http://plugindoc.mozdev.org/windows1.html [mozdev.org]

So far all it's managed to do is make Firefox use 100% CPU, and not much else. Let me know if you have better luck.

IE just crashes.

Now I get the title: (1)

b00m3rang (682108) | about 10 years ago | (#11003947)

Weather Center, Brought to you by AccuWeather. But that's it. Not incredibly impressed, yet.

Unclosed token line 1048, row 40 (1)

b00m3rang (682108) | about 10 years ago | (#11003990)

That's what my status bar says when I mouse over in IE.

40 MB RAM and 60% CPU to show me the temp? (1)

b00m3rang (682108) | about 10 years ago | (#11004059)

Forgive me if this looks totally pointless. I know it's just a demo, but why include a text box and submit button that don't seem to do anything?

Weather Market (4, Interesting)

Doc Ruby (173196) | about 10 years ago | (#11003935)

I want to see independent organizations datamining the NOAA weather data, running their own models, and making competing predictions. Then I want to see metaminers generating comparative "batting averages", keyed to current conditions, and get my weather forecasts from a client which knows which service is better at predicting the next few days/weeks/months starting with current conditions. That will give weather stenographers like the Weather Channel, and their TV news echo chamber, a real run for their money. Forecast@Home, anyone?

Good post! (1)

Eric(b0mb)Dennis (629047) | about 10 years ago | (#11004099)

I think this is a good point. Comparing a large collection of weather predictions to what actually happened would just further increase the accuracy of models until we have it pretty darn good

Re:Good post! (1)

Doc Ruby (173196) | about 10 years ago | (#11004177)

That's how my wetware neural network beats the weather reports 90% of the time, after I've lived in the area for a year or so. Even though the weather has become much more chaotic in recent years.

Tie to geolocation and it gets interesting :-) (2, Interesting)

Space cowboy (13680) | about 10 years ago | (#11003937)

Not that I [hostip.info] have anything to do with a geolocation project, you understand [grin]

I did a pilot test for the Weather Xchange folks a couple of years back, and was monitoring the temperatures around the UK and making mpeg movies of location-averaged temperature snapshots - a bit like time-lapse photography. I've just moved to the US and the computer with the movies is on a ship somewhere, but it did look pretty cool (no pun intended :-) to see patterns of hot and cold move around the country over time...


redirect to wsj.com? (0)

Anonymous Coward | about 10 years ago | (#11003954)

Is it me, or is he doing his best to prevent a slashdotting? When I click the link on his page to the project details, I get redirected to wsj.com.

URL for HTTP-fetchable XML (4, Informative)

ErichTheWebGuy (745925) | about 10 years ago | (#11003956)

http://weather.gov/data/current_obs/seek.php [weather.gov]

The URL points to the RSS versions of the XML feeds. These have actually been available for quite some time.

I've complained about the weather long enough... (0)

Anonymous Coward | about 10 years ago | (#11003976)

...they've finally done something about the format.

My wife (0)

thammoud (193905) | about 10 years ago | (#11004000)

will be very happy with Weather in XML format. She always complained about weather.com not being friendly. Money well spent dudes.

What other free data is out there? (2, Interesting)

chrisspurgeon (514765) | about 10 years ago | (#11004008)

This makes me think, there must be piles of academic and government-funded data out there free for the taking. Sure would be nice if there was some central listing of sources of free data. Anyone ever come across anything like that?

Re:What other free data is out there? (2, Interesting)

s7uar7 (746699) | about 10 years ago | (#11004236)

This Google search [google.com] (filetype:xml site:.gov) turns up a whole bunch of files, so there's definitely a lot out there, same with a .edu search. It just needs someone to check what it all is. This isn't meant as a 'Google is your friend' post by the way, I was just interested to see.

March 2005? (0)

Anonymous Coward | about 10 years ago | (#11004026)

From March 2005 SVG becomes part of the standard Mozilla/FireFox build.

Shouldn't it go in when it's functional and stable? This is open-source software we're talking about, why the deadline-driven attitude?

Re:March 2005? (0, Offtopic)

g_braad (105535) | about 10 years ago | (#11004465)

Without deadlines there would be no usable world. Imagine yourself at the gate of an airplane using a 'open flight' model. NO thank you! i see myself endlessly waiting for it to leave. see it as a goal... and it is also a good thing to push the Mozilla implementation a little more.

EasyJet, the pioneers of the 'open flight' model

fris!t pso?t! (-1, Offtopic)

Anonymous Coward | about 10 years ago | (#11004036)

AROUND RETURN IT Quarreled on file was opened stupid. To tDhe may also want a fact: FreeBSD said. 'Screaming a BSD box (a PIII these rules will share. *BSD is the future of the you all is to let stagnant. As Linux for *BSD because new faces and many Gawker At most non-fucking-existant. mire of decay, volatile world of

What Will Kill The Internet... (0, Offtopic)

cjsnell (5825) | about 10 years ago | (#11004088)

Contrary to today's poll, virii, spam, and backhoes will not kill the internet--but SOAP will. (For proof, see this image from this story's article [noaa.gov] )

weather.com been doing this for a while (5, Informative)

Fishstick (150821) | about 10 years ago | (#11004108)

I set up a little script a long time ago to get weather data from an XML feed from the weather channel for our office webcam. It's free and was really easy to use...

http://www.weather.com/services/xmloap.html? [weather.com]
#!/usr/local/bin/perl -w
require LWP::UserAgent;
use XML::DOM;
use CGI qw(:standard);
# first, get the XML feed
my $ua = LWP::UserAgent->new(env_proxy => 1, keep_alive => 1, timeout => 30);
my $base_url="http://xoap.weather.com/weather/local/6 0143?cc=*&prod=xoap";
my $par="&par=[removed]";
my $key="&key=[sign up to get one]";
$response = $ua->get("$base_url$par$key");
die "Error while getting ", $response->request->uri,
" -- ", $response->status_line, "\nAborting"
unless $response->is_success;
my %weather = %$response;
# then, parse out the crap we want
my $parser = XML::DOM::Parser->new();
foreach(keys %weather){
$xmldoc = $parser->parse($weather{$_}) if(/content/);
foreach my $cur_cond ($xmldoc->getElementsByTagName('cc')){
$curr_cond{'lastup'} = $cur_cond->
$curr_cond{'obsvst'} = $cur_cond->
$curr_cond{'temp'} = cur_cond->
&nb s p; getFirstChild->getNodeValue;
$curr_cond{'chill'} = $cur_cond->
$curr_cond{'text'} = $cur_cond->
$curr_cond{'icon'} = cur_cond->
print header;
print start_html("nice little cgi page to display the time/weather");
print <<EOF;
<p>&nbsp;</p >
<p><font size="-1">WebCam is located on 9th floor in Itasca<br />
pointed out southeast window overlooking Thorndale</font></p>
<form name="clock" onSubmit="0">
<input type="button" name="face" size=13 value="">
print end_html;

sorry about the atrocious formating - slashcode made me take out whitespace (what is the fricking point of an ecode tag supported if you can't post a small snippet like this without removing all the whitespace!?)

Re:weather.com been doing this for a while (0)

Anonymous Coward | about 10 years ago | (#11004133)

You couldn't just look at the webcam image to see what the weather was like?

Just comes up blank (0)

Anonymous Coward | about 10 years ago | (#11004117)

http://www.tomgroves.net/projects/svg/weather/inde x.php

just comes up blank for me. Is this the future of the web?

METAR isn't that bad (2, Interesting)

ari_j (90255) | about 10 years ago | (#11004203)

Previously, the data was technically available to the public, but in a format that's not easily deciphered.

Presuming that this is a METAR replacement, then the format that was "not easily deciphered" is not really that bad at all. For the stuff that anyone reading Slashdot from under FL180 cares about, it's downright human-readable.

Of course, if my presumption is wrong (the article didn't appear clear at first glance) and this is for predictions of future weather rather than reports of current weather, then ... neat. :)

DOC format is better than XML. (2, Funny)

rice_burners_suck (243660) | about 10 years ago | (#11004247)

I don't want my damn weather information in XML format. I want it in Microsoft Word format. That is an open format with lots of documentation, and it will never go out of style. XML is complicated, proprietary, and secret, and if you put your data into this format, chances are that you will be locked in to a particular vendor, and if your vendor goes out of business, you will have essentially lost all of your valuable data.

TXT format is better than DOC. (1)

wasted (94866) | about 10 years ago | (#11004290)

I don't want my damn weather information in XML format. I want it in Microsoft Word format.
That is an open format with lots of documentation, and it will never go out of style...

Plain text is a lot better than Word as far as simplicity and portability, and METARs are currently available in Text format on the NOAA Server [noaa.gov] .

Re:DOC format is better than XML. (0)

Anonymous Coward | about 10 years ago | (#11004416)

Actually, I'd prefer if this was in XML.NET 2005. It changes the format automatically as it detects when open source software has been able to open it.

Oh wait, isn't that like the HIV virus? The ability to adapt so the host can't fight it off?

Re:DOC format is better than XML. (0)

Anonymous Coward | about 10 years ago | (#11004597)

Are you really that stupid? "XML is proprietary"? What the hell are you smoking? The whole point of XML is that it is open and easily parsed by a variety of software. If the vendor who created a particular XML file goes belly up then the file is still quite usable. It's easily parsed by machine and even some humans. Hell, you can drag-and-drop it onto Excel and get usable information from it.

Judging by your screen name, I'm guessing your just some arrogant asshole who can't distinguish good/bad , right/wrong or anything else. You just flame on about whatever is igniting your ass at any given time.

I can only guess that the moderators who have given you "flamebait" status are correct - you don't actually believe that crap coming out of your keyboard and are just trying to egg people on. That or you're a major moron.

blog blox (1, Offtopic)

steelframe (590694) | about 10 years ago | (#11004324)

An easy to use open source XML weather data base app is avaialable from http://www.laszlosystems.com/demos/weather/ [laszlosystems.com] . Works great if you have a zip code, outside the US you may be on your own.

Data Availability (1)

slandis (97422) | about 10 years ago | (#11004395)

Perhaps I happened upon this before it was supposed to be public, but I've been getting the XML weather observations for my area (KSLE) for at least 6 months now, probably closer to a year.

It's a very handy way to avoid decoding METAR, but sometimes the METAR files have more info.

http://weatherpixie.com/ (1)

ThinkPad760 (794676) | about 10 years ago | (#11004444)

This has to be one of the best weather sites out there for non technical people. It's simple to view, easy to read and even non /.ers can put it on their own web page without coding (it's provided for you).

Great live data (1)

ctwxman (589366) | about 10 years ago | (#11004532)

I like having weather data on my site, and XML makes that easier to do. I now have live current weather conditions around my state, a short rundown of current conditions nationwide, watches, warnings and advisories for my state, tropical outlooks and hurricane info and the latest earthquakes! They are all integrated into the look and feel of the site, which is a plus. I had been using http://www.creativyst.com/Prod/18/ [creativyst.com] JSMFeed and recently supplemented that with a plug-in for my Moveabletype blog called http://www.staggernation.com/mtplugins/#GetXML [staggernation.com] GETX ML. Imagine what I could accomplish if I actually knew what I was doing!

Flight Simulator, etc. (1)

Kyd_A (243948) | about 10 years ago | (#11004548)

Imagine flight sims (or any vaguely GIS-related application, really, including WorldWind [nasa.gov] ) that can take advantage of this... cool stuff.
Load More Comments
Slashdot Login

Need an Account?

Forgot your password?