HWS-template (WD34) beta test July version

Your “weather-program” from which the template gets the data to display is WU. And WU does not supply yearly rain data.

2) While testing my “Alert” settings I noticed when I run the advisory_c_small.php from the module_test I get this error…
Notice: Undefined variable: lght in /storage/ssd1/984/9678984/public_html/pws07beta0620/advisory_c_small.php on line 90
I don’t get this error when there is an active alert.
:oops: Thank you, to much small changes, forget to initialize, changed for the next version
3) In the setup under the section “Options for top row with small modules” you have 5 positions listed, on my page I only see 4 modules displayed.
Is this something I’ve done incorrectly in my setup? My site: https://beacon-rd.000webhostapp.com/pws07beta0620/index.php

Not at all, there are 5 "small"modules when you choose 3 rows of 4 blocks wide
But “only” 4 when you display 3 blocks wide .
To help with your testing and clean-up…
I’ve noticed some typo’s in the setup page:
No decemals for temperature
No decemals for wind values
Allow visitor to swicht colour themes.
Environement Canada forecast
Removed those errors
Love what you’ve done with this program.
Thanks,Bruce
Thanks also for testing,
Wim


advisory_c_small.php.zip (3.39 KB)

w34_easyweathersetup.php.zip (11.6 KB)

Win, I am having some problems with the ‘today’s temperature graphic’.

As you might remember from previous messages, I am using the option to save the data on my computer (I am not using the data from a database and I am not using the data from Weather Underground).

For some reasons, since I started saving the data, the temperature has gone negative and is displaying negative values that have no relationship with the current temperature readings.

The beta site can be access through this redirected link: ‘http://tzwd34beta.ddns.net/

I am also running another copy of the beta scripts/templates on another computer (not accessible from the Internet) using the same data and the temperature graphic is showing normally in relationship with the current temperature readings.

Your page looks fine here. Which graphic exactly?

Which part of the ‘today’s temperature graphic’ did you miss… :roll:

Ah! Most people call that a graph. . .

Looks like a conversion from F to C, but the original was actually in C.

All depends on which version of livedata is used.
I forgot to include the units for clientraw. And that file is in metric, with wind in kts to make it more difficult.

Here => HWS-template (WD34) beta test July version - #131 by pwsdashboard - PWS Dashboard 2012 - Weather-Watch Forum you find the livedata to solve it.

Wim

Well, I am not ‘most people’ and I call the display a ‘graphic’ (ie: computer-generated image). :wink:

Win, thank you - ‘w34_livedata.php’ solved the problem.

Wim,
I noticed in w34_frames.php the CWOP address should be https around line 70.

That was a very nice addition to the menu selection.

Tom

Wim,

In the first quote you had modified the w34-cron-stationcron.php file adding lines to the code looking for empty data and I had absolutely no problems after uploading and using this file.

In the second quote you had resolved the issue with the cron jobs running from inside the web server and via http, after uploading and using that file it worked, but…see the txt file attachment from yesterday, I had lines in the file with empty data.

I took some time today and compared the two files. I combined the changes you had made into one file, see attached. I am using this file on my website for the July release (Pesotum, Illinois Home Weather Station (wifilogger version))

Regards,
Rick


rjr-today.txt (12.2 KB)

w34_cron_stationcron.zip (1.45 KB)

Wim,
I noticed with the latest update the weather alert from NWS doesn’t pop up to warning page when clicked.
https://www.shermanctweather.org/pws07/index.php
Tom


Capture.PNG

A think this is a known issue and solved in the official July version.
This happens when there is pop-up notification at the right which overlaps the button in the alert box. As in your case as you are using the wide format, and in an iframe also.
Although the notification becomes invisible after a few seconds, it still overlaps the alert-box and is"hiding" the (I) symbol for your mouse.

I moved the notification lower to not overlap the alertbox.
Change in pws07/w34_index2.php line 226 from

        top:    40px;

to

        top:    120px;

Wim

I noticed that my pop-up graphs for 2019 are blank, the JUNE and TODAY graphs are OK. This did work in the beta_06_10 version.

https://beacon-rd.000webhostapp.com/pws07beta0620/index.php

Beta_06_10
https://beacon-rd.000webhostapp.com/pws07beta0610/index.php

That is caused by the problems at WU
The same URL is used in all versions
https://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=KPARENFR7&graphspan=year&year&format=1
In the 0620 version it returned no-data, only the header line. Other times it will return data.
File: ./chartswudata/KPARENFR7Y.txt Filetime (UTC): 2019-06-27T05:21:25+00:00 which an age of 5 hrs 16 min 58 seconds
The file will remain in cache for 12 hours. If you delete the file, the next run of station-cron or the next visit to your site will try to load the file again.
You can chack how old the files are with: https://beacon-rd.000webhostapp.com/pws07beta0620/w34_load_files.php?test

Nobody knows if and when the retrieval from WU will work correctly, and for how long.
There are numerous discussions about this on the WX forum as a lot of other scripts also suffer from it

I decided to wait until it is clear if we can access our historical data and how. For now even the API to retrieve the data is inconsistent.

Wim

I deleted the ./chartswudata/KPARENFR7Y.txt, did a refresh of the site.
The ./chartswudata/KPARENFR7Y.txt is now populated with data.
:smiley: Graphs are NOW working. :smiley:

Thanks again!

Keeps your fingers crossed for tomorrow :smiley:

On my my mobile and PC the pop-up works if you click exactly on the circle with the exclamation point in the center.

Wim,

Just a heads up.

On my mobile, Samsung S8 these pop-ups are not displaying correctly.

Meteors
Latest Earthquakes worldwide (text cut off)
Forecast > Details (text cut off)

Thanks!

Yes I know, but that is not possible to change, those can not be made smaller or stacked.
The phone will make scrollbars but that is all the systems can do. To not display them is even worse.

Wim

I think we better lock this topic as the new release is now available. Another dozen or so changes, especially in the pop-ups and extra menu-pages are in the new release.

So, IMHO you should not use the pws07 version but switch to the normal release version.

Wim

Thanks Wim, I suspected that may be the case. No worries. Great work!!