HWS-template (WD34) July version available

?stripall
When using that URL parameter, the menu is hidden.
But a small problem arose when testing it.
There are two type of pop-ups, the ones in a frame on top of the current page, works correct with ?stripall

The other one is a link to a new page.
Only used so far for a wind-forecast => htts://pwsdashboard.com/pws07/ wind-block =. forecast
And that does not work as “user-friendly” as it should with ?stripall
The menu, headers and footer are shown as it is a new-page, not a pop-up

So I changed the blocks file and added the windy.com pop-ups for temp, wind, rain and baro. => Leuven Home Weather Station (wf version)
Also removed the new-page for wind, it is still available in the menu.
One new script is added to display the new pop-up.

Wim


windy_FC.zip (4.41 KB)

Just noticed a problem in current conditions block: there is a point (full stop) after the windspeed units in “This hour” Wind-Gust forecast. Suggest deleting the point in w34_util_ccn.php - the last line shown here:


echo '</span> '.$windunit.PHP_EOL;
# rain
if (isset ($hourlyPrecipProb) )
     {  echo '.
';

Apologies: I have modified my original file so I can’t give line numbers, but I think it will be obvious.

:slight_smile:

But now you have switched your demo to the 12-hour clock (see attached) I think there might be too much space between time and am/pm; and an unnecessary space after the date numerals (17). IMHO. . .


12hourclock.png

Hi.

I have just installed this latest template and it looks greate :slight_smile:

But how to speed up the live update of wind and wind direction data ??

I use lateste WD and its API to upload the text file needed every 5 sec, but still the site is updating like strait after installation, default aprox every 30 sec on the web site ???

The site: https://www.ulsteinvikweather.com/pws/

Any help is apreasiated :slight_smile:

Bj

[quote author=Bj

Wim,
For some unknown reason my WxSim forecast is in Dutch (I think).
Seen at https://www.shermanctweather.org/pwsWD/index.php
Not sure why.
Tom

The scripts are using the plaintext files from wxsim.
And Ken True’s plaintext parser.
Check the settings in the pwsWD/wxsimPP/plaintext-parser.php script.

https://www.shermanctweather.org/pwsWD/wxsimPP/plaintext-parser.php returns a dutch forecast so there must be a setting in the script to do that.
Change line 134 to your language,

$lang = 'nl';                             // default language is 'en' = English

Wim

I believe it is line#141

Thanks Wim, you made my weekend perfect :slight_smile: :smiley:

It is in my script, but I am not using the latest version. . . :slight_smile:

It is line 138 in the latest version, which puts back the UV estimate in front of rain, but correcting it might affect something else further down?


138 $break = '.
';

EDIT: Having looked at it again, I think it’s OK to delete the point in the latest version too.

This is the version date mine has:
$scrpt_vrsn_dt = ‘w34_util_ccn.php|00|2019-04-25|’; #icons w34

And me. . . but latest version is

$scrpt_vrsn_dt = ‘w34_util_ccn.php|00|2019-06-29|’; # added UV | icons w34

See HWS-template (WD34) July version available - #32 by pwsdashboard - PWS Dashboard 2012 - Weather-Watch Forum

Wow, I missed that one. Thanks

hello
i uploaded the latest version of the template
http://valdefench57sgz.franceserv.com/pwsWD/index.php
live data running with the WL 2.0 API
for graphs, my setup parameterized with WU
on the other hand the monthly charts are “out” and the annual ones are all stopped at 25; 07.2019 ??
Regards

That is a severe problem with WU. They are working on it, maybe they solve it or they kill it altogether.

Most stations have intermittent gaps in the .CSV downloads as they often contain partial data only. Your yearly data is only available until July 25.
https://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=ILORRAIN49&graphspan=year&year&format=1
Yout “this month” data is empty file https://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=ILORRAIN49&graphspan=month&year&month&format=1

Your other weather-websites are affected also, example => July 25
http://valdefench57sgz.franceserv.com/realtime/weather28/index.php?p=wsReports&lang=en&wp=MB#data-area

There are dozens of discussions about all WU problems at the WX-forum, most important one: Weather Underground Issues and Bug Tracking - Check here before posting

WIM

Have you heard anything from WU? Nothing has changed on my site.

I had a problem like this about 1 year ago. They never responded to my requests and about 3 months later, it was fixed

I contacted WU support
the answer :

" [i]The URL you are using has been retired. It will not return reliable data.
If you are uploading data, you have access to the PWS API. You can download data via the API. Go to

Bit late now, but I can’t help wonder why the Dark Sky rain forecasts should be so drastically different between the Jan and July versions.

Same place, same time, same API key.


Jan.png

July.png

There was (maybe still is) some confusion about what the amount shown in the DarkSky file means.

=> SI units are as follows:
==> precipIntensity: Millimeters per hour. (also for UK2 units rain is in mm)

=> A data point object contains various properties, each representing the average of a particular weather phenomenon occurring during a period of time
==> precipIntensity: The intensity (in inches of liquid water per hour) of precipitation occurring at the given time.
So it is now assumed that for a day forecast the intensity is the average for 24 hours in mm, not in inches.
The scripts display the value from the day-record but multiplied with 24 to get the daily value.

Wim