• Welcome to TodayPlus Boards v2.
 

Downloading Radar Imagery

Started by Wichtel, September 23, 2004, 04:16:22 PM

Previous topic - Next topic

Timmy

Quote from: uk_skinnerTimmy:

  Indeed, the number is changing and I did not see any pattern.  This probably will be difficult to get it download.

:?  :(

UK_skinner,

Thanks!!!

Timmy
Toshiba e750BT, WM 2003, Today Plus 0.11.0, WISbar Adv, Agenda Fusion, Pocket Slides, TomTom

uk_skinner

Quote from: Timmy
Quote from: uk_skinnerTimmy:

  Indeed, the number is changing and I did not see any pattern.  This probably will be difficult to get it download.

:?  :(

UK_skinner,

Thanks!!!

Timmy

Timmy:

I have an idea but I don't know it will work or not.  I will create an exe just for that one using EzDownload. Let me try something and let you know.

Timmy

Quote from: uk_skinner
Quote from: Timmy
Quote from: uk_skinnerTimmy:

  Indeed, the number is changing and I did not see any pattern.  This probably will be difficult to get it download.

:?  :(

UK_skinner,

Thanks!!!

Timmy

Timmy:

I have an idea but I don't know it will work or not.  I will create an exe just for that one using EzDownload. Let me try something and let you know.

UK_skinner,

Whaww... would be very nice if you could find a way to fix that problem!!!

Timmy
Toshiba e750BT, WM 2003, Today Plus 0.11.0, WISbar Adv, Agenda Fusion, Pocket Slides, TomTom

uk_skinner

Timmy:

Can you try this?

1) You have to have EzDownload in /Windows
2) The downloaded image "EV.jpg" will be in /My Documents.  It is hardcode right now.  If it works, let me know you prefer pathway and I can change.

I will be out for several hours.

Edit:  This one was removed, please check the new one at below.

Timmy

Quote from: uk_skinnerTimmy:

Can you try this?

1) You have to have EzDownload in /Windows
2) The downloaded image "EV.jpg" will be in /My Documents.  It is hardcode right now.  If it works, let me know you prefer pathway and I can change.

UK_skinner,

I'm glad to say that the downloadprocess is working correctly! Your efforts did succeed!!! Thanks a lot!!! Now this was succesfull so far, I am so free (!!!) to ask you the next things...

1) Can you, please, make the right directory for the picture in your little program? The directory is:
Program Files\TodayPlus\Images\Radar\EV01.jpg

2) Can you, please,  make the same thing for this picture? Please, call this picture EV02.jpg
http://www.fourmilab.ch/earthview/cache/19053.gif
It's to be seen here:
http://www.fourmilab.ch/cgi-bin/uncgi/Earth?imgsize=320&opt=-l&lat=52.3125&ns=North&lon=-0.5625&ew=West&alt=3000&daynight=-d&img=wx-cmap.bmp

3) The little program I downloaded from you (EarthViewDL.exe), did put the picture in /My Documents, but also the file 'EV.txt'. Is that OK?


UK_skinner, again I must say: thank you for all your efforts and your time! I don't understand what things you are doing, it's much too difficult for me. I only can admire it...

Timmy
Toshiba e750BT, WM 2003, Today Plus 0.11.0, WISbar Adv, Agenda Fusion, Pocket Slides, TomTom

uk_skinner

Timmy:

 No problem.  I will change the pathway and post here later.  This is just a quick-and-dirty version.  Using the hard code is much easier to test.  Later, I will try to come up the more user-friendly version.

 Your eyes are good.  The way I made it work was as below.

1) I let EzDownload to download the html (as you provided) and saved as .txt (EV.txt).  The souce of html will be saved.

2)  Extract the image url from that text file.  If you open that you will see it is in there.

3) Once I got the right xxxx.jpg, I just passed to EZDownload and do the downloading.

Based on their "warning", the image was updated every 10 minutes, I guess.  So within the time frame of this exe running, you should be no problem to get image downloading.

In the future, I can let program to delete the EV.txt after downloading the image and will not occupy the space.  Or I can also let exe save it in your storage space.

Timmy

UK_skinner,

Thanks for your simple explanation! It's to understand, even for me...

I gave the program several trials, and all is good, so far! I only have to click four times to leave the program:
- Question: this file lready exsists. Resume Overwrite Cancel
- Notification OK
- EZ Download v1.15 OK
- EarthViewer.txy DL OK

Maybe, in the future, all can work automatic?!?

Thanks!
Timmy
Toshiba e750BT, WM 2003, Today Plus 0.11.0, WISbar Adv, Agenda Fusion, Pocket Slides, TomTom

uk_skinner

Timmy:

Sorry, the one I sent to you is very prototype and I just wanted make sure everystep was right and I should remove it before post here.   In the future, all these will disappeared.  Perhpas, just a final pop-up window says "download success".   :oops:

Timmy

Quote from: uk_skinnerTimmy:

...  the one I sent to you is very prototype and I just wanted make sure everystep was right ...

UK_skinner,

You and me can be glad: IT WORKED!!!  EVERY STEP!!!  :D  :D  :D

Timmy
Toshiba e750BT, WM 2003, Today Plus 0.11.0, WISbar Adv, Agenda Fusion, Pocket Slides, TomTom

uk_skinner

Timmy:

 Try this.  

1) Two images (EV01.jpg and EV02.gif, yes the 2nd one should be .gif) will be downloaded into /Program Files/TodayPlus/Images/Radar/

2) The two text files (EV01 and EV02) will generated in the same folder.  I will try to remove them after you testing it.

3) No more window will pop-up.  I still want to add a final window to tell you the downloading finished.  It will take about 10 s to do both images.


The previous one was removed to avoid further confusion.

BTW, you probably have special "eyes" to penetrate the EV02.gif.. :lol:  :shock:

Timmy

Quote from: uk_skinnerTimmy:

 Try this.  

1) Two images (EV01.jpg and EV02.gif, yes the 2nd one should be .gif) will be downloaded into /Program Files/TodayPlus/Images/Radar/

2) The two text files (EV01 and EV02) will generated in the same folder.  I will try to remove them after you testing it.

3) No more window will pop-up.  I still want to add a final window to tell you the downloading finished.  It will take about 10 s to do both images.


The previous one was removed to avoid further confusion.

BTW, you probably have special "eyes" to penetrate the EV02.gif.. :lol:  :shock:

UK_skinner,

I realy appreciate your good work!!!
I'm astonished...  
Most of my wishes of earlier posts are fullfilled...  
You've made fast progress...  

--> All the three steps go as you wrote, so everything is OK here too! I didn't met any problem.  :approve:

UK_skinner, you are planning to add a final window to tell people the downloading is finished. I speak for myself: I don't prefer that. I think, the less you see of the downloadingprocess, the better! Don't forget that there are at least four downloadingprocesses for TodayPlus:
- the information from AccuWeather
- the information via Radar.exe
- the information via EarthViewDL.exe
- some animated gifs via Internet Explorer

Timmy

_____________________________________________
BTW: I need special "eyes" to penetrate the EV02.gif, but I use this pic often, nevertheless. This picture is a combination of the world-surface-temperature in combination with the light/heavy clouds. I"m a real "weather-freak", as you can see...
Toshiba e750BT, WM 2003, Today Plus 0.11.0, WISbar Adv, Agenda Fusion, Pocket Slides, TomTom

Timmy

@ALL,

I tried to let Radar.exe automatic by putting a shortcut in the \Windows\StarUp directory. Then I put my PocketPC in the cradle. The PPC goes on, and ActiveSyns starts. But Radar.exe didn't work...

Does anybody knows a way to let Radar.exe do his work automatic???

Timmy
Toshiba e750BT, WM 2003, Today Plus 0.11.0, WISbar Adv, Agenda Fusion, Pocket Slides, TomTom

ZapMe1

Timmy,

Did you remember that Radar.exe, AND Radar.txt must be together in the same folder ??   :?:
ZapMe1

"The most knowledgable person in the world is not the one who possesses the most knowledge, but the one who surrounds themselves with the greatest number of knowledgable people"

Timmy

Quote from: ZapMe1Timmy,

Did you remember that Radar.exe, AND Radar.txt must be together in the same folder ??   :?:

ZapMe1,

Yes, they are both in the same folder.

It works fine on my PPC, but I can't get it automatic starting when I use ActiveSync. Hope, someone gets a good idea to solve this.

Timmy
Toshiba e750BT, WM 2003, Today Plus 0.11.0, WISbar Adv, Agenda Fusion, Pocket Slides, TomTom

uk_skinner

Timmy:

I did try to put a shortcut in the Startup folder too.  The radar.exe did start if I do a soft reset.  However, the problem was the internet connection was not ready before the radar.exe kincked int and I got an error message.  I think it is possible but need to do more "digging"..

UK