Weather by You!

Templates and Projects support => Modules => Topic started by: Mr.Meteo on August 15, 2012, 12:03:27 PM

Title: Environnement Canada 7 days forecast script follow-up
Post by: Mr.Meteo on August 15, 2012, 12:03:27 PM
Hi,

If you have some comments or bug to report, here is the place!

Regards,
Jacques
Title: Re: Environnement Canada 7 days forecast script follow-up
Post by: avoorpool on August 15, 2012, 05:30:27 PM
Hi Jacques,

Just downloaded the files, but there seems to be a small "typo" in the download section.
Not clear which version is "long" or "short" (see attachement)

Cheers,

Arthur
Title: Re: Environnement Canada 7 days forecast script follow-up
Post by: Mr.Meteo on August 15, 2012, 05:57:59 PM
Ohhhhhhh... Tired Mr.Meteo!!!  :(

Thanks Arthur!

Jacques
Title: Re: Environnement Canada 7 days forecast script follow-up
Post by: avoorpool on August 15, 2012, 07:02:06 PM
Hi Jacques,

Both examples of forecast_ecl (ecs) look good.
Currently I have the "ecl" version on WB v1 (display according to Environment Canada)
Which part can I eliminate and/or modify to have the same display in v1...???
I've tried several settings on my XAMPP local host, but I do get the lay-out but no information (and icons). I've downloaded the ec-icons previously which are displayed correctly in my current version (see: http://altonaweather.ca/forecastpi.php)
Kind of "tricky" to have this "exclusively" for WB v2, since I'm sure a slight modification could display the same results in WB v1  ;) (where I've been waiting for, for so long... :(
I deleted the entire "language" session, since I don't have this selectable in WB v1.

Any suggestions??

Thanks,

Arthur
Title: Re: Environnement Canada 7 days forecast script discrepancy
Post by: avoorpool on August 16, 2012, 06:11:33 PM
Hi Jacques,

All data in the forecast_ecl.php script is conform the EC website, however there is a major discrepancy in the "yesterday precip" values.
I found this in both the Pickering and Toronto information, so the script somewhere takes the wrong information concerning the precipitation info.

Thanks,

Arthur
Title: Re: Environnement Canada 7 days forecast script follow-up
Post by: Mr.Meteo on August 16, 2012, 06:58:20 PM
Hi Arthur,

Thanks to highlight this error!  ;D

I've sent a new .zip file (version 1.1)
The changed one is include/forecast_ec_all.php
I also changed icons set.

Regards,
Jacques
Title: Re: Environnement Canada 7 days forecast script follow-up
Post by: avoorpool on August 24, 2012, 12:31:20 PM
HI Jacques,

Hope you're enjoying your Holidays!!  :)

Today we have a "smog Advisory' In large parts of Ontario.
the EC forecast on their website shows this, my template doesn't.
The forecast_ecl.php displays only "hot".

Where do I edit the scripts, so ALL Environment Canada issued information is shown
(They have 'Alert", 'Advisory', 'Warning'.)

Thanks,

Arthur
Title: Re: Environnement Canada 7 days forecast script follow-up
Post by: Mr.Meteo on September 08, 2012, 11:25:27 AM
Hi Arthur,

Sorry, I wasnt there to catch that one!
If it appear again, take a copy of file include/station.xml file on your website
at that time and I'll check to include it!

Things could allways be updated for exeptional weather non catched before!!  :)

Best regards,
Jacques
(back from vacation)