HWS-template (WD34) July version available

Attached the my-graph-files for ILORRAIN102
Wim


chartsmydata.zip (7.24 KB)

: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.

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


chartsmydata_ILORRAIN102.zip (6.96 KB)

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


chartsmydata ILORRAIN49.zip (6.2 KB)

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

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 Leuven Home Weather Station (wf version) 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


meteors_popup.php.zip (4.8 KB)

Looks good, Wim, but the translations don’t work :frowning:


lang_nl.png

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?

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. :smiley:

===
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


meteors_popup.php.zip (5.14 KB)

. . . almost :wink:


lang_nl_2.png

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

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


chartsmydata.zip (12.3 KB)

Posted an updated zip in Reply #278

Wim

Thanks, Wim :slight_smile:

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 Fastest Web Hosting Services | Buy High Quality Hosting
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


cvt_wu_script.zip (19.1 KB)

@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

it is this value that gives me for example the execution of the last script “WUhistory” of Sratoga

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

Best Regards


I found the reason. FYI the API returns metric in mm, the CSV is in cm.
So all rain values are 10 times higher then they should be. :oops: :oops:

Attached the correct data.

Wim

@ALL: I updated the zip which is two post back


chartsmydataILORRAIN49.zip (12.2 KB)

chartsmydataILORRAIN102.zip (13 KB)

Thanks Wim! Worked like a charm!

@Wim thank you very much … very strange for iLORRAIN102 it is ok for against for iLORRAIN49 despite the file download the “RAIN/rmonth” charts have remained unchanged … :oops: #-o

I also downloaded and run the updated _cvt_wucsv.php

  • But rainfall after July 25 still appears 10 times too high.

    Another mystification:

  • After July 25, winds and gusts will be shown with the same value, except for August 13.

See
weather.inaogmogens.dk