PDA

View Full Version : European Weather Maps in SageMC


JParedis
11-29-2006, 02:50 PM
In case somebody who uses MC16x9 wants to change the wheater maps into European ones, below the ones I have put in. Just stop SageTV (also service) and update the Sage(client).properties file.

Initial values:

sagemc/wximage_title_1=National Conditions
sagemc/wximage_title_2=Morning Forecast
sagemc/wximage_title_3=Evening Forecast
sagemc/wximage_title_4=Atlantic Surface Analysis
sagemc/wximage_title_5=Precipitation Forecast
sagemc/wximage_title_6=WBIR Forecast
sagemc/wximage_title_7=WBIR Radar
sagemc/wximage_url_1=http://image.weather.com/images/maps/current/curwx_600x405.jpg
sagemc/wximage_url_2=http://image.weather.com/images/maps/forecast/amfcst_600x405.jpg
sagemc/wximage_url_3=http://image.weather.com/images/maps/forecast/pmfcst_600x405.jpg
sagemc/wximage_url_4=http://images.intellicast.com/WeatherImg/CustomGraphic/tgsfc1.gif
sagemc/wximage_url_5=http://image.weather.com/images/maps/forecast/precfcst_600x405.jpg
sagemc/wximage_url_6=http://www.wbir.com/images/weather/fiveday.jpg
sagemc/wximage_url_7=http://wbir.com/images/doppler/tys_radar.jpg

New Values (haven't changed them all yet, looking for better maps - if you find any let me know):

sagemc/wximage_title_1=Europe Satelite
sagemc/wximage_title_2=Europe Temperature Map
sagemc/wximage_title_3=Europe Humidity
sagemc/wximage_title_4=Europe Temperature Map II
sagemc/wximage_title_5=Precipitation Forecast
sagemc/wximage_title_6=WBIR Forecast
sagemc/wximage_title_7=WBIR Radar
sagemc/wximage_url_1=http://image.weather.com/images/sat/europesat_600x405.jpg
sagemc/wximage_url_2=http://icons.wunderground.com/data/640x480/2xeu_st.gif
sagemc/wximage_url_3=http://icons.wunderground.com/data/640x480/2xeu_rh.gif
sagemc/wximage_url_4=http://i.cnn.net/cnn/.element/img/1.0/weather/cnn/europe_highs.jpg
sagemc/wximage_url_5=http://image.weather.com/images/maps/forecast/precfcst_600x405.jpg
sagemc/wximage_url_6=http://www.wbir.com/images/weather/fiveday.jpg
sagemc/wximage_url_7=http://wbir.com/images/doppler/tys_radar.jpg

moamoa
12-07-2006, 10:04 AM
would be nice to put the BBC UK ones in, but the url is dynamic.. has date in it;
http://www.bbc.co.uk/weather/charts/uk/ss_summary_06120812.jpg
can these be passed into the url some how like...?
http://www.bbc.co.uk/weather/charts/uk/ss_summary_%Y%M%D12 .... sort of thing?

dflachbart
12-08-2006, 06:16 AM
can these be passed into the url some how like...?
http://www.bbc.co.uk/weather/charts/uk/ss_summary_%Y%M%D12 .... sort of thing?
Yes, if there is interest in this it can be done ...

Btw, I would suggest to post SageMC specific questions in the Customization forum, since I don't visit the international ones that frequently

Dirk

Hyperbaric
12-08-2006, 07:03 AM
Yes, if there is interest in this it can be done ...


Yes please :)

JParedis
12-08-2006, 02:34 PM
Yes, if there is interest in this it can be done ...

Btw, I would suggest to post SageMC specific questions in the Customization forum, since I don't visit the international ones that frequently

Dirk

Depending on the source of the maps, different URL variables may be needed. E.g., the one from the BBC has a YYMMDD12.jpg structure, but another source may have a MMDDYY.jpg structure. If one wants to link today and tomorrow, than it becomes YYMMDD12.jpg and YYMM(DD+1)12, and than you have the end-of-month issue. This may thus become a more complex coding to keep it flexible (but can be done of course).

A quick solution would already be to allow local files as .jpg's to be selected - now it only accepts URL's. Than a user could write a local script (e.g., using HTTPCOPY to download), the script would take care of the specific source naming requirements and would always create a local .jpg with a fixed name that would than be used in SageMC.

As suggested, I'll copy this message also in the customization forum.

Jan

dflachbart
12-22-2006, 07:51 PM
Depending on the source of the maps, different URL variables may be needed. E.g., the one from the BBC has a YYMMDD12.jpg structure, but another source may have a MMDDYY.jpg structure. If one wants to link today and tomorrow, than it becomes YYMMDD12.jpg and YYMM(DD+1)12, and than you have the end-of-month issue. This may thus become a more complex coding to keep it flexible (but can be done of course).

A quick solution would already be to allow local files as .jpg's to be selected - now it only accepts URL's. Than a user could write a local script (e.g., using HTTPCOPY to download), the script would take care of the specific source naming requirements and would always create a local .jpg with a fixed name that would than be used in SageMC.

As suggested, I'll copy this message also in the customization forum.

Jan
Hi Jan,

this has been implemented in the new SageMC 6.3.1 version which is now available for download :)

Dirk

JParedis
12-23-2006, 02:11 AM
Hi Jan,

this has been implemented in the new SageMC 6.3.1 version which is now available for download :)

Dirk

Dirk,

That's what one calls QUICK reaction - thanks :thumb: ! I'll install it as soon as I'm back home (out for 3 days).

Jan

dflachbart
01-03-2007, 09:35 AM
Dirk,

That's what one calls QUICK reaction - thanks :thumb: ! I'll install it as soon as I'm back home (out for 3 days).

Jan
The current version does not handle two-digit days/months in the template correctly, a quick fix is available here (http://forums.sagetv.com/forums/showthread.php?p=198790&postcount=3311).

Dirk