Weather-Watch.com

Weather and the Internet => Creating Weather Web Sites => Custom Templates and Scripts => Topic started by: bitsostring on January 07, 2019, 08:19:33 PM

Title: weather34 for WeatherDisplay - Wish List
Post by: bitsostring on January 07, 2019, 08:19:33 PM
I congratulate Wim and his collaborators on the new version of weather34 for WD. I had been wondering how long I could keep my old X5 version (with WU API) going!

I do have one or two suggestions for a wish list, feel free to shoot them down:

More options for small blocks in top row: extra temp/hum/apparent (to be user-named), indoor temp/hum/apparent, standalone UV (maybe standalone solar, cloudbase, max-min wind?). The "Advisories" small block should be optional, too.

Clock could be moved up to top "rail" to allow personal selection of more small blocks to be shown

Allow easy editing of small block headings (including colours) in easyweathersetup

Make more choices available in each drop-down setup menu for the last two main blocks (so that the last block does not have to be Moon or AQI)

Overall, if the user can be given more opportunity for customisation in easyweathersetup he will not need to edit individual scripts that may get updated.
Title: Re: weather34 for WD - Wish List
Post by: R_o_B on January 08, 2019, 02:56:53 PM
Eventually/possibly a weather alert/warning for Canada...  :wink:
Title: Re: weather34 for WD - Wish List
Post by: lgRich on January 08, 2019, 03:18:42 PM
+1
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: bitsostring on January 12, 2019, 10:48:12 PM
From a post in the main w34WD thread:

You do not need an WU API-key. Your own data was always available without any key, your station ID is the only id needed.

I've often wondered how one could display previous years' data in a WU graph. It would be nice if the graph pop-ups under each block could do that, maybe with an "almanac" button where one could choose the back year?
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: niko on January 12, 2019, 10:57:29 PM
WU Alamanac and keyless own data access may be a thing of the past (https://www.weather-watch.com/smf/index.php/topic,67494.msg541928.html#msg541928)??
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: Harry on January 12, 2019, 11:01:38 PM
I posted this in the other thread but, I'll repeat it here to get it on the list.

 In the alerts.weather.gov version, would it be possible to have the ability to add multiple codes i.e. CAZ095 (Kern County Mountains) and CAC029 (Kern County) which is roughly the same area except the zone code CAZ095 could take in a larger area and parts of several counties?  The reason being able to add multiple codes is that the NWS could issue an alert either for the zone or county depending on the type of alert and affected area.  Another good example of this is in Kansas where the counties and zones are the same area.

https://alerts.weather.gov/cap/wwaatmget.php?x=KSZ104&y=1 (Wyandotte)
https://alerts.weather.gov/cap/wwaatmget.php?x=KSC209&y=1 (Wyandotte)
Title: Re: weather34 for WD - Wish List
Post by: blainec on January 13, 2019, 05:11:06 AM
Eventually/possibly a weather alert/warning for Canada...  :wink:
+1
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: bertsp on January 18, 2019, 12:19:48 AM
Wim,
Could you look at the possibility of updating Brian's old WD/WXSIM release. I am still using it with success but the main module (excluding forecast) has not been updated since its last release of approximately one year ago. If you need the files I would be glad to send them to you.
http://s-p.me/wxsim/index.php
Title: Re: weather34 for WD - Wish List
Post by: niko on January 18, 2019, 12:56:34 AM
Eventually/possibly a weather alert/warning for Canada...  :wink:

Can you identify a source for that?
Title: Re: weather34 for WD - Wish List
Post by: blainec on January 18, 2019, 04:24:39 AM
Can you identify a source for that?
maybe here

https://open.canada.ca/data/en/dataset/493966f9-f683-4e56-8fa6-8799999c00bd
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: wvdkuil on January 18, 2019, 07:28:00 AM
Wim,
Could you look at the possibility of updating Brian's old WD/WXSIM release. I am still using it with success but the main module (excluding forecast) has not been updated since its last release of approximately one year ago. If you need the files I would be glad to send them to you.
http://s-p.me/wxsim/index.php
I can not upgrade the complete release. I started with the 2017 WD version.
But I can integrate the WXSIM block in the forthcoming release.  I was not aware that there was a wxsim-forecast block from weather34.
I know there are individual users who made one. This one seems to use the plaintext parser from Ken True / Saratoga.
Can you make  a zip, preferably from the complete folder.

Wim
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: wvdkuil on January 18, 2019, 07:52:44 AM
maybe here

https://open.canada.ca/data/en/dataset/493966f9-f683-4e56-8fa6-8799999c00bd

As my native language is not English, maybe the links to the warning/forecast-data got lost in the translation.

This is an example of the data source I am now using for Canadian users of the Leuven-Template.
https://dd.meteo.gc.ca/citypage_weather/xml/ON/s0000646_e.xml
It contains a detailed hourly forecast, daily text forecast,  almanac data, current conditions  and warnings, no API-key needed.
This data is available in English and  in French, I think for most of Canada.
You can check the 3 demo forecast-pages using this data at https://www.weerstation-herent.be/wsfct4/
When there are no warnings for the demo area, they are not shown.

I do not know if the data is reliable, as there is only 1 Leuven-Template user from Canada

If this xml contains correct data it can be used in the HWS-template for WD also, if there are multiple users interested in it.
It will not make it to the top of the wish-list if only  one station wants to use it,

Wim
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: R_o_B on January 18, 2019, 03:33:01 PM
It will not make it to the top of the wish-list if only  one station wants to use it,
Wim, so far, other than myself, two other users (lgRich, blainec) have asked for weather alerts/warnings for Canada.  :wink:

But still, it should not be on the top of your wish-list ... maybe at the third or fourth position...  :)
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: wvdkuil on January 18, 2019, 05:08:54 PM
Wim, so far, other than myself, two other users (lgRich, blainec) have asked for weather alerts/warnings for Canada.  :wink:

But still, it should not be on the top of your wish-list ... maybe at the third or fourth position...  :)
As you can see, there is currently 1 script for:  all graphs WU +  SQL && temp + baro + a.s.o.
The three AQ scripts will also grow into 1 script.
I will try to create one warning script for EU ,  NWS and EC
The more users for 1 script, the more change we have to iron out the bugs.
Wim
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: blainec on January 19, 2019, 12:50:22 AM
As my native language is not English, maybe the links to the warning/forecast-data got lost in the translation.

This is an example of the data source I am now using for Canadian users of the Leuven-Template.
https://dd.meteo.gc.ca/citypage_weather/xml/ON/s0000646_e.xml
It contains a detailed hourly forecast, daily text forecast,  almanac data, current conditions  and warnings, no API-key needed.
This data is available in English and  in French, I think for most of Canada.
You can check the 3 demo forecast-pages using this data at https://www.weerstation-herent.be/wsfct4/
When there are no warnings for the demo area, they are not shown.

I do not know if the data is reliable, as there is only 1 Leuven-Template user from Canada

If this xml contains correct data it can be used in the HWS-template for WD also, if there are multiple users interested in it.
It will not make it to the top of the wish-list if only  one station wants to use it,

Wim
Wow, Am I the only station in Canada that has the template ?  ( https://weatheryyc.com/weather28 )

The data comes from a reliable source (environment canada)
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: wvdkuil on January 26, 2019, 04:42:56 PM
The 3 weather-warnings for the April release are more or less finished. They are tested at the demo site
For Europe the Meteoalarm.eu page is scraped as there is still no complete RSS-type feed.
For Canada the Environment Canada city forecast is used as it includes the warnings and we can reuse the forecast data later.
For the US the complete set of Curly scripts is used AS-IS. No modifications needed. Just install and configure if you are not already using those scripts.

The small alert-box on the right of the HWS-Template will turn to the color of the warning and either display a small warning text or "multiple warnings active".  Plus a link to the detail page.

Screenshots:
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: blainec on January 26, 2019, 11:46:04 PM
Nice.  Can't wait to add this one
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: NorCal Dan on January 31, 2019, 01:07:14 AM
I really like the w34 template and aside from weather statements/watches/warnings being highlighted on the page with a link to the actual text, I can't think of anything missing right now.  I like the small, compact nature of the page with everything visible and updating on the fly.  Simple and elegant and all weather...thanks for your work on this project Wim.
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: jzinckgra on February 01, 2019, 02:10:12 AM
Another vote for having a snow total block. Thanks

Sent from my Pixel 2 using Tapatalk

Title: Re: weather34 for WeatherDisplay - Wish List
Post by: Cheffy on February 02, 2019, 03:31:28 AM
I am not sure if there will many other users wanting this, so i understand if it doesn't make it in, but a weather alert/warning for Australia?

Possible source could be,

http://www.bom.gov.au/rss/?ref=ftr
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: wvdkuil on February 02, 2019, 07:39:09 AM
I am not sure if there will many other users wanting this, so i understand if it doesn't make it in, but a weather alert/warning for Australia?

Possible source could be,

http://www.bom.gov.au/rss/?ref=ftr
A reflection:
Is there at least one website in Australia which uses these scripts as its prime website?

You  yourself have a Saratoga website http://www.micklehamweather.com/ as your prime site.
All visitors arrive there. It has a link with flashing “new” to a weather34 website.
But that link http://www.micklehamweather.com/pws/index.php points to another older version.

I am spending 4+ hours a day to salvage the abandoned scripts for WD users.
Seeing only questions from non-users, I think that if no one wants to use them, I should quit adding new features and code.

If there are no real users in Australia, the answer to another 10-20 hours work is “why”

Wim
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: Cheffy on February 02, 2019, 08:48:06 AM
Hi Wim,

Quote
You  yourself have a Saratoga website http://www.micklehamweather.com/ as your prime site.
All visitors arrive there. It has a link with flashing “new” to a weather34 website.
But that link http://www.micklehamweather.com/pws/index.php points to another older version.

I have been running my site using the saratoga template for a number of years now and my ultimate plan is to switch to using this template as the primary site (it's a great/simple looking design), however I haven't thought or worked out how I might go about doing this yet.  People who view my website still like some of the features in the current template, so when I do make the switch, I would keep the saratoga template available as a secondary site.  So for now I have left it as is, with only me knowing/viewing the my Weather34 site while I tinker and learn.

My question was more in hope than anything.  Totally understand if there is too much work involved.

Personally I think you are doing a great job with these scripts and I appreciate all the effort you put into this.

Neil
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: wvdkuil on February 02, 2019, 09:04:17 AM
Hi Wim,

I have been running my site using the saratoga template for a number of years now and my ultimate plan is to switch to using this template as the primary site (it's a great/simple looking design), however I haven't thought or worked out how I might go about doing this yet.  People who view my website still like some of the features in the current template, so when I do make the switch, I would keep the saratoga template available as a secondary site.  So for now I have left it as is, with only me knowing/viewing the my Weather34 site while I tinker and learn.

My question was more in hope than anything.  Totally understand if there is too much work involved.

Personally I think you are doing a great job with these scripts and I appreciate all the effort you put into this.

Neil
Just wondering, what is the advantage of using and old version and not using the new "HWS-template for WD"-version which urgently needs users to  test and report errors?

Without an active user-base any script, so also this version will fail to survive.

Wim
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: Cheffy on February 02, 2019, 09:21:42 AM
Quote
Just wondering, what is the advantage of using and old version and not using the new "HWS-template for WD"-version which urgently needs users to  test and report errors?

The link to the older version has been there for a quite a while (maybe a year or so), so it is not technically 'new'!

To be honest with you I didn't think to update the link to the new WD version (just forgot about it really) - I will look to do this hopefully later tonight.

Neil
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: wvdkuil on February 04, 2019, 10:15:34 AM
The Demo site now reflects a Canadian user.  I try to test the new EC alert- and forecast-scripts.
The EC scripts display the original forecast data in French and English only.  All visitors which choose another language, will see the English version.
I did not include the language translation on purpose for now as I can not find the documentation of all texts used. English forecast:
Quote
Tonight
Cloudy. 40 percent chance of flurries early this evening. Clearing near midnight. Wind becoming northwest 20 km/h early this evening. Low minus 31. Wind chill minus 30 in the evening and minus 43 overnight. Risk of frostbite.
Monday
Mainly cloudy. 40 percent chance of flurries in the afternoon. Wind up to 15 km/h. High minus 23. Wind chill minus 43 in the morning and minus 31 in the afternoon. Risk of frostbite. UV index 1 or low.
French version
Quote
Aujourd'hui
Neige intermittente cessant en mi-journée. Nuageux par la suite avec 30 pour cent de probabilité d'averses de neige. Accumulation de 2 cm. Vents jusqu'à 15 km/h. Maximum moins 22. Refroidissement éolien moins 30 le matin et moins 35 en après-midi. Risque d'engelures. Indice UV de 1 ou bas.
Lundi
Généralement nuageux. Quelques averses de neige débutant en mi-journée. Vents jusqu'à 15 km/h. Maximum moins 23. Refroidissement éolien moins 43 le matin et moins 31 en après-midi. Risque d'engelures.
As the texts seem free formatted I will leave it with English and French version for now.  The keywords and short-forecast texts probably are documented  somewhere. Ample time to find them before the official release in April. As always comments are welcome.
Wim
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: bitsostring on February 04, 2019, 08:22:23 PM
The Demo site now reflects a Canadian user.  I try to test the new EC alert- and forecast-scripts.

Trivial point, but typo in Alert window: "Envirinment Canada" - should read "Environment Canada".
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: wvdkuil on February 04, 2019, 08:53:16 PM
Trivial point, but typo in Alert window: "Envirinment Canada" - should read "Environment Canada".
#-o
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: newbeithweather on February 05, 2019, 01:48:18 AM
Would like to see WXSIM module and Australia Warnings.
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: wvdkuil on February 05, 2019, 07:12:22 AM
Would like to see WXSIM module and Australia Warnings.
WXSIM is finalized and was tested past 2 weeks.
Australia warnings is on the ToDo list.

Wim
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: jzinckgra on February 06, 2019, 01:08:51 PM
Regarding the downward arrow under the temp, is it possible to have that actually report Temp Rate? Yesterday we had a cold front move in and my WD indicated a temp drop of -5.8F/hr, yet the console pic below indicated -1F. What does it actually mean? It always show either +1 or -1F. Thanks.
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: wvdkuil on February 06, 2019, 01:18:13 PM
Regarding the downward arrow under the temp, is it possible to have that actually report Temp Rate? Yesterday we had a cold front move in and my WD indicated a temp drop of -5.8F/hr, yet the console pic below indicated -1F. What does it actually mean? It always show either +1 or -1F. Thanks.
Problem is known, the temp-rate is either 0, -1 or +1
There is an update (somewhere in the other topic), attached, which only displays the arrow and skips the value.
Wim
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: jzinckgra on February 06, 2019, 02:04:32 PM
Problem is known, the temp-rate is either 0, -1 or +1
There is an update (somewhere in the other topic), attached, which only displays the arrow and skips the value.
Wim
Wim, so there is no way to have it actually report the true value?
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: wvdkuil on February 06, 2019, 02:18:24 PM
Wim, so there is no way to have it actually report the true value?
The attached script will do that, it calculate the trend based on the last-hour change in rain.
Please unzip and test.
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: jzinckgra on February 06, 2019, 02:42:28 PM
The attached script will do that, it calculate the trend based on the last-hour change in rain.
Please unzip and test.
Rain? Did you mean temp?
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: wvdkuil on February 06, 2019, 02:57:51 PM
Rain? Did you mean temp?
Yes, sorry
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: jzinckgra on February 06, 2019, 03:15:01 PM
Yes, sorry
I added the script to the pwsWD folder. I don't see a change yet. Might have to wait longer?
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: wvdkuil on February 06, 2019, 03:39:26 PM
I added the script to the pwsWD folder. I don't see a change yet. Might have to wait longer?
Probably you forgot to unzip as the current version on your server https://www.weather911.net/pwsWD/w34_livedata.php?sce=view does not has the change from the zip.
Your current version:
Code: [Select]
$weather["temp_trend"]          = $wd[143]; // -1/0/1the new version when you unzip it
Code: [Select]
$weather["temp_trend"]          = (float) $wd[99] - (float) $wd[90]; # 2019-01-22  replace [143] which is login not value
IMPORTANT When you want support it is common decency to include a link to your site. Poeple who want to help have to see what is happening in the scripts.

So would you be so kind to include the link to your site in your avatar-block. That is the the block on the left of every post you do.  The small globe should lead to your index.php  If there is a specific page you want to discuss about, always supply the full link.

Most persons on this forum are not clairvoyant, sadly.

Wim
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: niko on February 06, 2019, 04:28:38 PM
IMPORTANT When you want support it is common decency to include a link to your site. Poeple who want to help have to see what is happening in the scripts.

So would you be so kind to include the link to your site in your avatar-block. That is the the block on the left of every post you do.  The small globe should lead to your index.php  If there is a specific page you want to discuss about, always supply the full link.

Really folks, please try to make it easy for the helpful people on here to help you!


Quote
Most persons on this forum are not clairvoyant, sadly.

But unfortunately we do have a lot of practice  :(
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: jzinckgra on February 06, 2019, 05:35:15 PM
Probably you forgot to unzip as the current version on your server https://www.weather911.net/pwsWD/w34_livedata.php?sce=view does not has the change from the zip.
Your current version:
Code: [Select]
$weather["temp_trend"]          = $wd[143]; // -1/0/1the new version when you unzip it
Code: [Select]
$weather["temp_trend"]          = (float) $wd[99] - (float) $wd[90]; # 2019-01-22  replace [143] which is login not value
IMPORTANT When you want support it is common decency to include a link to your site. Poeple who want to help have to see what is happening in the scripts.

So would you be so kind to include the link to your site in your avatar-block. That is the the block on the left of every post you do.  The small globe should lead to your index.php  If there is a specific page you want to discuss about, always supply the full link.

Most persons on this forum are not clairvoyant, sadly.

Wim

Thanks a lot. All working good now. I sure have learned a lot in the last week. :)
Title: Re: weather34 for WeatherDisplay - Wish List
Post by: NorCal Dan on February 06, 2019, 07:00:24 PM
Unless I missed it I would like to see this function added...

I have earthquake data displayed top row box 3 (webcam in main window bottom row middle box).  If I change to show earthquake data in main window instead of the webcam, when I click on that box it pops up a window showing multiple recent earthquakes.  Could this function be added to the top row box, so when clicked, it brings up that same pop up window?  I want to keep the webcam but I also would like the ability to bring up the recent earthquake pop up.