cloudy cloudy

Author Topic: HWS-template (WD34) July version available  (Read 22668 times)

0 Members and 1 Guest are viewing this topic.

Offline meteolive57

  • Posts: 20
  • OS/Browser:
  • Win NT 10.0
  • Firefox 68.0
Re: HWS-template (WD34) July version available
« Reply #270 on: August 22, 2019, 04:13:39 PM »
Attached the my-graph-files for ILORRAIN102
Wim

:wink: thnx it seems to be functional at this stage enjoy ...
good evening  fto
rectified
i have just seen my colors are absolutely discordant  (month / year) ??! ide.  for my first site
« Last Edit: August 22, 2019, 04:43:22 PM by meteolive57 »

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,419
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 76.0.3809.100
    • My PWS at Leuven Belgium Europe
Re: HWS-template (WD34) July version available
« Reply #271 on: August 22, 2019, 07:55:47 PM »
:wink: thnx it seems to be functional at this stage enjoy ...
good evening  fto
rectified
i have just seen my colors are absolutely discordant  (month / year) ??! ide.  for my first site

I do not understand your remark.
What is your problem and is it on this site?  http://valdefench57sgz.franceserv.com/pwsWD/index.php
The graph colours has always been this way. Maybe a small screenshot would help to clarify.
Quote
Discordant colours are those that are almost opposite each other on a colour wheel. In colour theory, a complementary colour is the one directly opposite of a colour.

===

I checked your website and I found an error in generating the files when using weatherlink.com
The values should be in imperial units, same as the data from wl.com, but they were in your default units.

To test,  I regenerated the year and month files for ILORRAIN102
If these are correct, I will regenerate the ones for your first site also.
 
Wim
« Last Edit: August 22, 2019, 08:29:02 PM by wvdkuil »
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline meteolive57

  • Posts: 20
  • OS/Browser:
  • Win NT 10.0
  • Firefox 68.0
Re: HWS-template (WD34) July version available
« Reply #272 on: August 23, 2019, 06:29:36 AM »
hello
sorry for the confusion  :oops:
affirmative for the graphics put i had not thought of WL since my datas were correct
thanks for the file ok the values are (finally) consistent

please opportunity to have those for my first site "ILORRAIN49"
have a nice week end
Regards   fto

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,419
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 76.0.3809.100
    • My PWS at Leuven Belgium Europe
Re: HWS-template (WD34) July version available
« Reply #273 on: August 23, 2019, 06:50:02 AM »
hello
sorry for the confusion  :oops:
affirmative for the graphics put i had not thought of WL since my datas were correct
thanks for the file ok the values are (finally) consistent

please opportunity to have those for my first site "ILORRAIN49"
have a nice week end
Regards   fto
Attached the ILORRAIN49 data,

Wim
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline meteolive57

  • Posts: 20
  • OS/Browser:
  • Win NT 10.0
  • Firefox 68.0
Re: HWS-template (WD34) July version available
« Reply #274 on: August 23, 2019, 11:25:27 AM »
Attached the ILORRAIN49 data,
Wim

thanks for the file  :wink:
OK relative to the graphics it seems to be good now except for those of the rainfall (month ! / year ??) for the 2 websites ... unless otherwise stated !
best regards

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,419
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 76.0.3809.100
    • My PWS at Leuven Belgium Europe
PWS_Dashboard meteors / sky events pop-up
« Reply #275 on: August 24, 2019, 03:58:27 PM »
The last original pop-up contained errors in the data as detected by @beteljuice.
He / she also pointed me to the correct source for that data, thanks =D>

I had to rewrite the script to remove the html warnings a.s.o.
It will display the current and 2 next meteor showers, sun & moon eclipse  and now contains clickable links to the wikipedia descriptions and IMO calendar.

As test I run it at  https://pwsdashboard.com/pwsWD/ click the "meteors" link in the sun or moon block.

If anyone wants to test it, the script is attached. Always make a copy of the current script, just to be sure.

Wim
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline bitsostring

  • Posts: 1,037
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 70.0.3538.102
    • Home Weather Station
Re: PWS_Dashboard meteors / sky events pop-up
« Reply #276 on: August 24, 2019, 05:10:28 PM »
As test I run it at  https://pwsdashboard.com/pwsWD/ click the "meteors" link in the sun or moon block.

If anyone wants to test it, the script is attached. Always make a copy of the current script, just to be sure.

Looks good, Wim, but the translations don't work  :(
« Last Edit: August 24, 2019, 05:41:49 PM by bitsostring »
It's meant to be fun. . .

Offline ms372591

  • Posts: 12
  • OS/Browser:
  • Win NT 10.0
  • Chrome 76.0.3809.100
Re: PWS_Dashboard-HWS_Template switch from WU to cron data for graphs
« Reply #277 on: August 24, 2019, 05:44:00 PM »
Not all problems are solved at WU, sometimes new problems arise also.
Your "old" WU.CSV contains data until  July 25.
Your new WU-dashboard is missing far more days for July https://www.wunderground.com/dashboard/pws/ILORRAIN49/table/2019-07-1/2019-07-1/monthly
Also the August data is incomplete, missing august 12.
https://www.wunderground.com/dashboard/pws/ILORRAIN49/table/2019-08-1/2019-08-1/monthlyThe version of the script I posted yesterday, only converts the WU file without adding missing data.  So yes, only the available data until July 25 was generated.

The new version (planned for this weekend) of the script  reads the WU-api and tries to add missing days. I was glad to test that new script with your ILORRAIN49 data.
Attached the chartsmydata/ folder with all available  from the .CSV and the WU-api history.

The only days missing are 2019-07-27 2019-07-28 and 2019-08-12
Unzip the folder and move only the 2019.txt  and 2019_08.txt to your website => chartsmydata/  folder.

@ALL
Very strange, it seems that the new data base has it flaws also. There are more and different days missing in the dashboard as in the .CSV

I do need some other wu_ID's with missing data to test with.
Post or PM me your wuID if you have missing data in the .CSV which, in your opinion, was uploaded correctly to WU in the past.

Wim

Wim, you can use my site https://pendulous-here.000webhostapp.com/ I haven't had any data since 7/25. Do I need to do anything first?

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,419
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 76.0.3809.100
    • My PWS at Leuven Belgium Europe
Re: PWS_Dashboard meteors / sky events pop-up
« Reply #278 on: August 25, 2019, 09:53:54 AM »
Looks good, Wim, but the translations don't work  :(
Yes on purpose as not all languages had decent translations.
Translations will now work and caused by some remarks of @beteljuice I added more information. F.I. peak dates now show the period, not the first day.
Also the  new pop-up look as with the UV pop-up, so without  the "very contrasting" white borders
As far as I can see the script it is ready for use.   :D

===
For those helping me with testing the script, at line 1512 one can set the current date to any value for this year.

Also test with either the debug console (w34_module_test)  or with _test.php
https://pwsdashboard.com/pwsWD/_test.php?test=meteors_popup.php&lang=nl
Both will show the PHP errors and list the missing translations.
UPDATE:  New zip,  I removed typing error , missing translation in large texts should work
Wim

P.S., Back to the WU convert script, which needs some  documentation  #-o
« Last Edit: August 25, 2019, 11:23:38 AM by wvdkuil »
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline bitsostring

  • Posts: 1,037
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 70.0.3538.102
    • Home Weather Station
Re: PWS_Dashboard meteors / sky events pop-up
« Reply #279 on: August 25, 2019, 10:35:37 AM »
Translations will now work

. . . almost  :wink:

It's meant to be fun. . .

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,419
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 76.0.3809.100
    • My PWS at Leuven Belgium Europe
Re: PWS_Dashboard-HWS_Template switch from WU to cron data for graphs
« Reply #280 on: August 25, 2019, 10:56:06 AM »
Wim, you can use my site https://pendulous-here.000webhostapp.com/ I haven't had any data since 7/25. Do I need to do anything first?
I generated the graphs data-files, please unzip attached folder and put the contents in your chartsmydata/ folder
The files contains all available data from the .CSV  Most of the missing data could be loaded from the new WU-database, but not all.  2 days are still missing.

As with other users, your new WU-dashboard is missing more days for July
https://www.wunderground.com/dashboard/pws/KMDBELCA3/graph/2019-07-25/2019-07-25/monthly
then in the .CSV.
https://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=KMDBELCA3&graphspan=day&day&month&year&format=1

Lets hope that WU will get all data in at least one of the databases correct.

Wim

Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,419
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 76.0.3809.100
    • My PWS at Leuven Belgium Europe
Re: PWS_Dashboard meteors / sky events pop-up
« Reply #281 on: August 25, 2019, 11:24:53 AM »
. . . almost  :wink:
Posted an updated zip in Reply #278

Wim
« Last Edit: August 25, 2019, 11:49:31 AM by wvdkuil »
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline bitsostring

  • Posts: 1,037
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 70.0.3538.102
    • Home Weather Station
Re: PWS_Dashboard meteors / sky events pop-up
« Reply #282 on: August 25, 2019, 11:56:43 AM »
Posted an updated zip in Reply #278

Thanks, Wim  :)
It's meant to be fun. . .

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,419
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 76.0.3809.100
    • My PWS at Leuven Belgium Europe
Re: PWS_Dashboard-HWS_Template switch from WU to cron data for graphs
« Reply #283 on: August 25, 2019, 01:58:44 PM »
I attach a "release ready version" of the convert script for users of the July version
I could test the .CSV files from about 5 users, but sadly only for 3 weather-programs. Maybe there are bugs left.

Unzip and place the script in your pwsWD/ folder
Execute the script with yourwebsite.com/pwsWD/_cvt_wucsv.php
This readme explains how the script works: https://pwsdashboard.com/readme_convert_wu.pdf

After converting your  _wuID_.CSV file,  the website files can be used for your graphs.
They are at least as complete as the combined  WU data from the .CSV and your WU dashboard.

Change the easyweather setting for which graph-files  you use.


Do not forget to activate the w34_cron_addtoyear.php which should run before the end of each day.
You can check the documentation at https://pwsdashboard.com/documentation/WD34_cron-2019-07.pdf

Sorry, there was already 1 download but I had to upload a new and corrected version at Aug 25, 17:40 UTC
Wim
« Last Edit: August 25, 2019, 05:53:23 PM by wvdkuil »
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline meteolive57

  • Posts: 20
  • OS/Browser:
  • Win NT 10.0
  • Firefox 68.0
Re: HWS-template (WD34) July version available
« Reply #284 on: August 25, 2019, 03:22:39 PM »
@Wim

for me it seems to me that RAIN graphs are corrupt? no  ?
example: rain / month dated 18.08: charts_graphs = 86.36mm while value recorded by the station was 8.6mm
http://seremange-meteolive.franceserv.com/pwsWD/index.php
it is this value that gives me for example the execution of the last script "WUhistory" of Sratoga
https://www.weather-watch.com/smf/index.php/topic,68013.0.html

ps./
for ID = ilorrain49 same inconsistency
charts_graph for 18.08 = 99.06 mm vs./ good recorded value = 9.9mm  #-o #-o

Best Regards

 

cumulus