• Welcome to TodayPlus Boards v2.
 

Downloading Radar Imagery

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

Previous topic - Next topic

Rotlaus

@uk_skinner: Great work with the documentation. :approve:

Maybe you can add the possible error codes of the radar.exe:

Could not open the config file!
This message will appear if the radar.exe could not find the config file. The program will terminate afterwards.

Could not read config data No. 1
Uncomplete config data No. 1

One of these message will appear if the radar.exe could not read the config file, mostly because its ended unexpected. The first one comes when the program fails to read the URL, the second one will appear, if it cannot read the storage part.

Could not start\n EzDownload for Image No. 1
This appears when the program couldn't start EzDownload, mostly because it didn't found the EzDownload.exe. Nevertheless the programm will try to read the next image. If EzDownload doesn't exist and u have 20 Images configured, this message will appear 20 times.

HTH,

Andre

uk_skinner

Quote from: Rotlaus@uk_skinner: Great work with the documentation. :approve:

Maybe you can add the possible error codes of the radar.exe:

Could not open the config file!
This message will appear if the radar.exe could not find the config file. The program will terminate afterwards.

Could not read config data No. 1
Uncomplete config data No. 1

One of these message will appear if the radar.exe could not read the config file, mostly because its ended unexpected. The first one comes when the program fails to read the URL, the second one will appear, if it cannot read the storage part.

Could not start\n EzDownload for Image No. 1
This appears when the program couldn't start EzDownload, mostly because it didn't found the EzDownload.exe. Nevertheless the programm will try to read the next image. If EzDownload doesn't exist and u have 20 Images configured, this message will appear 20 times.

HTH,

Andre

Andre:  Thanks.  I will add these codes in the document...

Broesel

Please don't forget the PPC2002-Users  :oops:

Great work  :P

Greetings Broesel

Rotlaus

Quote from: BroeselPlease don't forget the PPC2002-Users  :oops:

uk_skinner is just configuring his Compiler and mine is fixed on ppc2002 programs. So, no Problem :D

Greetings,

Andre

Broesel

Quote from: Rotlaus
uk_skinner is just configuring his Compiler and mine is fixed on ppc2002 programs. So, no Problem :D

:D  :D  :D

Thanks Broesel

uk_skinner

I would like share with you my experience to create a new region to display weather image.  This is a step further from the weather image previously I posted.  The sample skin Hammerskin1.04aENG_R2 was derived from Hammerskin1.04a_ENGR and was included in the zip file.  I have to make it clear this is just "my experience" and might not be the most "effective" way.  I think, Wichtel will come out a much "smarter" way in his next release..... :wink:

uk_skinner

I would like to ask help and input for the weather image I am currently working on.  Please see the screenshot (someone needs to teach me how to do the animated screenshot, please).  
At this moment I have worked out the concept in Hammerskin.  In this page, currently I have 3 "sections":World; USA; Europe

World: From Accuweather.com; 5 regions in it
          Atlantic, East Pacific, West Pacific, South Pacific and India ocean.
          Tap on the region, a detail satellite image will be opened with default viewer. Becuae of the size of the image, I think it is better use viewer to display, then you can navigate around.

USA: From Accuweather.com, 6 regions in it.
           NW,NC,NE,SW,SC,SE
           Tap on the regions, you will get radar image for that region.

Europe: From Weather.com; 4 regions in it.
           UK (from BBC.com), France, Germany, and Skandinav (I think I spelt wrong).
           Tap on it, the detail satellit or radr image will be displayed.

Here are the things I need help from you.

1)   More detail image for the coutries in Europe.  I will use the link I got from Wichtel to see I can put more detailed image for coutry in Europe.  But if you happen to know better one, please let me know.

2)   At this moment, I only work at 2nd level.  However, I also would like to push it further to more local image for certain country.  For instance, BCC provide the local image of UK.  What I can do is to divide the local region on UK map and you can tap it to access the image of that area.  Is this something useful, or just too much?



uk_skinner

Quote from: nasHi.

Oh, numbers 3,4,5 and 6 are gone.
Here they are again...please change httx to http.

httx://www.wetteronline.de/cgi-bin/cgi_aktgraph?ART=karte&LANG=de&JJ=2004&MM=10&TT=03&TIME=1500&TYP=temperatur&KEY=DL&TIME=1096812682

httx://www.wetteronline.de/cgi-bin/cgi_aktgraph?ART=karte&INT=06&LANG=de&JJ=2004&MM=10&TT=03&TIME=1400&TYP=niederschlag&KEY=DL&TIME=1096812626

httx://www.wetteronline.de/cgi-bin/cgi_aktgraph?ART=karte&LANG=de&JJ=2004&MM=10&TT=03&TIME=1500&TYP=druck&KEY=DL&TIME=1096812756

httx://www.wetteronline.de/cgi-bin/cgi_aktgraph?LANG=de&ART=karte&JJ=2004&MM=10&TT=03&TIME=1400&TYP=schnee&KEY=DL&TIME=1096812790

nas

nas:  I know what number I should put for "JJ", "MM", "TT", "TIME".  Once I figure out the last number, then EZDownload can download the file.  Could you please send me the original link?  I will try to find it but I don't know the German... :oops:

Edit:  I just found out that you don't need that 10 digital number....

Rotlaus

Hi,

here is a new Radar.exe. Lot of new Stuff. Cause String Handling in C/C++ is not very comfortable
and i always wanted to learn C# (CSharp) and Dotnet, i have done a complete rewriting of the radar.exe.

New is:
- new format of radar.exe (as previously posted)
- EzDownload is not needed anymore. I do the Downloading of the Images myself

Still missing:
- Handling of Dynamic URLs

Please give it a try. Its still a beta, and maybe buggy. Feedback welcome.

Greetings,

Andre

Forgot to mention something:
In this release the radar.txt have to be in \My Documents\

uk_skinner

Quote from: RotlausHi,

here is a new Radar.exe. Lot of new Stuff. Cause String Handling in C/C++ is not very comfortable
and i always wanted to learn C# (CSharp) and Dotnet, i have done a complete rewriting of the radar.exe.

New is:
- new format of radar.exe (as previously posted)
- EzDownload is not needed anymore. I do the Downloading of the Images myself

Still missing:
- Handling of Dynamic URLs

Please give it a try. Its still a beta, and maybe buggy. Feedback welcome.

Greetings,

Andre

Wow, that is a huge step!!!!  You are the man!! :approve:  :clap:  :dance:

uk_skinner

Andre:

  I tried it and got this.  Did not see the file downloaded.  Any idea? :roll:


Edit:  First time, I put both radar.exe and radar.txt under "My Device" and ran it from there.  But when I put them in "/My Documents/" and "/Program Files/, it worked like charm......

nas

I tried it too - no download.
The same as with uk_skinner.

nas

Rotlaus

This is weird. The thing you see is my little Window. The Text 'Radar Download' is shown while reading the config file.  
You seem to pass the config file test and it should start downloading. Not sure what happend. Did u use the radar.txt i provided?