Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : Tricky update Problem


angrest
01-25-2005, 02:34 PM
I have a tricky problem, still unsolved:
I would like to get a weather satellite image to plucker. The problem is that the image name suffix changes hourly. The valid name can be derrived from the current time: eg. suffix _1200.jpg is for 12:00. What I would like to achieve is the following: each time I sync, I would like to retrieve the most recent image and put it to always the same plucker document . Is there a way to do this?
(addidtional problem: the image from the above example, _1200.jpg, is usually refreshed at around 12:10).

Thanks for your help
Angrest

Liqiud
01-25-2005, 03:11 PM
I have no earthly idea what you just said,
but someone on this site does.

good luck

Francesco
01-25-2005, 03:15 PM
angrest, I see what you mean, but... a link would be very helpful. I'm thinking that maybe a little filtering could do the trick.

Laurens
01-26-2005, 02:52 AM
This can be done with scripting. See Help Contents for more info. Scripting is quite involved, though.

I've attached an example SDL with a script that (roughly) does what you want. You will have to fill in the base URL of the image you're trying to fetch. (Let us know the actual URL.) The script simply appends "1200.jpg" (or whatever time it happens to be) to the path.

hacker
01-26-2005, 07:20 AM
I have something very similar for Plucker hourly weather fetches, but it grabs the latest links from the actual upstream website, not the image links themselves (the hrefs are always going to point to the right image, regardless of time-of-day). Unfortunately, its written in Perl and probably won't work well on your platform.

I may make these .pdb files public soon.

What site are you interested in fetching these images on a regular basis from?

hacker
01-26-2005, 02:18 PM
I may make these .pdb files public soon.Incidentally, these .pdb files that I create are roughly 23M in size. Not exactly small, but they are VERY packed with images.

Check out the screenshots below for some examples.

Liqiud
01-26-2005, 03:34 PM
Cool Images

angrest
02-01-2005, 03:01 PM
Sorry, I did not check this thread reuglarily and so, I missed the answers.
The link is:
http://www.dwd.de/de/WundK/Warnungen/Warnlage/anz.php?dat=Radarbilder/Deutschland_0800.jpg
Well understood, there is a referring page which is updated regularily (as one of the previous posters expected). That's where I found the image location. However, the html looks somewhat complex for me (nested tables, lots of stuff around) so that I did not try to parse this.
So - any new ideas?
Thanks for your help!
angrest

Laurens
02-01-2005, 03:24 PM
Attached is an SDL that does what you want. I just grabbed the "2200.jpg" image.

Click on the attachment to open the SDL in Sunrise Desktop, then configure a destination to try it out.

angrest
02-08-2005, 07:40 AM
Thank you very much - great.