HWS-template (WD34) July version available

Wim, I did mind having the date/time in the top right corner of the header - I was just pointing out that it was displaying a bit too low with half in the header and the other half in the box below.

I have installed the modified ‘clock_c_small.php.zip’ and having the time/date at the top of the WXSIM forecast window/box is nice. Could you possible add a bit more distance between the time and the date or even add the ‘|’ character as you have between ‘Max Wind | Gust’.

When displaying the WXSIM forecast, you seem to be using the ‘text-justify’ property - since the WXSIM forecast can be long at time, it might be better if the text was not justified.

As for using the Environment Canada forecasts … they are usually very short … compared to the WXSIM forecasts which are more explicit.

By the way, thank you for all the modifications you have made and the modifications you will make… :wink:

I thought Wim had settled on the style shown in his demo site, using Lucida Sans and extra space as requested . . . but obviously not :?

Obviously tested to much versions at the same time :oops:

Wim


clock_c_small.php.zip (2.35 KB)

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

. . . shortened . . .
When displaying the WXSIM forecast, you seem to be using the ‘text-justify’ property - since the WXSIM forecast can be long at time, it might be better if the text was not justified.
. . . shortened . . .

All texts are “centred” as set by the HTML CSS. Changing to left justify will not create more area for the texts.

The font-size is already adjusted based on the length of the text. I will try to improve that there.
Wim

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