Active Topics

 



Notices


Reply
Thread Tools
Posts: 569 | Thanked: 462 times | Joined on Jul 2010 @ USA
#21
The .xml parser generates an error when loading a file that has this = sign in the web address, such as

homepage="http://www.intellicast.com/National/Radar/Current.aspx?location=USAL0371&animate=true"

This is a handy program! The filter function was a very useful feature.

Last edited by rotoflex; 2014-07-07 at 07:47.
 

The Following User Says Thank You to rotoflex For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#22
Originally Posted by rotoflex View Post
The .xml parser generates an error when loading a file that has this = sign in the web address, such as

homepage="http://www.intellicast.com/National/Radar/Current.aspx?location=USAL0371&animate=true"
Ah, my apologies; this is actually an issue of my use of XML (and I really need to document it somewhere!). XML treats a handful of characters as special (these include &, ", ', <, and > ). The XML parser is really complaining that the & operator in the above link is followed by an equals sign rather than by a trailing semicolon. You can tell the XML parser that you want an actual ampersand by using the & operator itself with the name "amp":

&amp;

So, the link would then become:

homepage="http://www.intellicast.com/National/Radar/Current.aspx?location=USAL0371&amp;animate=true"

(BTW, here's a nice wiki page that describes this much better than I can...)
 

The Following 3 Users Say Thank You to Copernicus For This Useful Post:
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#23
Great application, very useful to check meteo images!
In case of radar images, it would be nice that the web link definition would handle date tags (%Y%m%d...) to pick updated images.
PS.
but probably not really needed since most pages that use date tags have also some other folder pattern not easy to guess automatically..

If you like meteosat images, here a nice set for europe:
http://www.meteosatonline.it/animazione_visibile.php

Last edited by xes; 2014-07-07 at 12:59.
 

The Following 2 Users Say Thank You to xes For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#24
Originally Posted by xes View Post
Great application, very useful to check meteo images!
Wow. I just spent a few minutes browsing the net for Meteo images; I'm not sure just where you're finding anything that Fettuccine could actually parse. The meteosatonline.it site only provides its data as PHP files; I suppose they are using some sort of HTML5 mechanism underneath that? I checked out the Eumetsat website, but their files are all encoded in JFIF format (which is related to JPG in some manner), and they don't seem to want people to view individual images in any case. The only site I've found so far with straight-up single Meteosat images is the NOAA website, and they only have full-disk images updated four times a day...

In case of radar images, it would be nice that the web link definition would handle date tags (%Y%m%d...) to pick updated images.
Well, that's one nice thing about having a pocket computer, it isn't too hard to throw together little algorithms for these kinds of things. But yeah, you do kind of need the image provider to have some sort of standardized structure to their data. I've gotta say, the NOAA site does do a great job of providing image data in a standard manner with a minimal amount of extra cruft on top of it; I dunno if there is a Meteo site that has as convenient a format...
 

The Following User Says Thank You to Copernicus For This Useful Post:
TomJ's Avatar
Posts: 505 | Thanked: 665 times | Joined on Oct 2009
#25
Originally Posted by Copernicus View Post
Wow. I just spent a few minutes browsing the net for Meteo images; I'm not sure just where you're finding anything that Fettuccine could actually parse. The meteosatonline.it site only provides its data as PHP files; I suppose they are using some sort of HTML5 mechanism underneath that? I checked out the Eumetsat website, but their files are all encoded in JFIF format (which is related to JPG in some manner), and they don't seem to want people to view individual images in any case. The only site I've found so far with straight-up single Meteosat images is the NOAA website, and they only have full-disk images updated four times a day...



http://www.metoffice.gov.uk/datapoin...r-capabilities

http://www.metoffice.gov.uk/datapoin...r-capabilities

http://www.metoffice.gov.uk/datapoin...-documentation

A quick glance suggests they all provide PNGs, though may need some sort of map over- or underlay.
__________________
Want to know how to add public holidays to your device calendar? See the instructions wiki page.

Want to improve the location bar's search capabilities? there's a wiki page for that too...
 
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#26
@copernicus
sorry for the mess, in fact i was evaluating many meteo sites and i posted probably the worst one...
To pick the images for fettuccine i'm using this one:
http://oiswww.eumetsat.org/IPPS/html/latestImages.html
 

The Following 2 Users Say Thank You to xes For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#27
Originally Posted by TomJ View Post
http://www.metoffice.gov.uk/datapoin...r-capabilities

http://www.metoffice.gov.uk/datapoin...r-capabilities

http://www.metoffice.gov.uk/datapoin...-documentation

A quick glance suggests they all provide PNGs, though may need some sort of map over- or underlay.
This looks... complicated. I think this is more of a professional service oriented towards folks trying to create actual weather prediction applications. I don't think Fettuccine is the right target for this sort of data. (Are there any significant weather apps for the N900? I've never really looked for one myself...)
 
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#28
Originally Posted by xes View Post
To pick the images for fettuccine i'm using this one:
http://oiswww.eumetsat.org/IPPS/html/latestImages.html
Ah, perfect! This is exactly the sort of data that works with Fettuccine. (Heck, it might even be possible to parse the links straight off of that page...) They seem to have a Fettuccine-friendly distribution policy as well, so long as you set your refresh rate correctly. (For this data, it appears that new images are mostly added once per hour, so you don't need a refresh rate faster than that...)
 

The Following User Says Thank You to Copernicus For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#29
For what it's worth, I've made a first pass at encoding (some of) the Eumetsat "latest images" page into the current Fettuccine XML format. I've concentrated mostly on the infrared and visible-light images. You can find a link to it here:

http://jpietrzak8.github.io/Fettuccine/eumetsat.xml

You can either type that link into Fettuccine and have it download the file, or copy the file manually to your N900 and load it from there. These images get updated roughly once an hour. Looks like it's been a rainy day in most of Europe today.
 

The Following 4 Users Say Thank You to Copernicus For This Useful Post:
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#30
@Copernicus
thank you! ...but i have to report a little bug.
Once you have a fettuccine widget active, while the phone is not connected to any internet connection, at every image update you will find the ICD dialog "Choose a connection"
 

The Following 2 Users Say Thank You to xes For This Useful Post:
Reply

Tags
webcam


 
Forum Jump


All times are GMT. The time now is 16:50.