cloudy cloudy

Author Topic: HWS-template (WD34) beta test topic  (Read 6735 times)

0 Members and 1 Guest are viewing this topic.

Offline meteosa

  • Posts: 48
  • Italy
  • OS/Browser:
  • Win NT 10.0
  • Firefox 65.0
    • MeteoSantAngelo.it
Re: HWS-template (WD34) beta test topic
« Reply #30 on: March 02, 2019, 12:06:40 PM »
Final Beta version for the april release can be downloaded from http://wd34.weather-template.com/beta.php
 Thanks for all help,
Wim

Hello
I'm noticing a difference between the last beta and the normal version in the "Moon phase"
The dawn Moon of tomorrow has 2 different fliers, in one score at: 4:44 in that test it marks: 5:25
is a mistake?
Thank you

pws: https://stazione.meteosantangelo.it/pws/
Test: https://stazione.meteosantangelo.it/pwsTEST/

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,191
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 72.0.3626.119
    • My PWS at Leuven Belgium Europe
Re: HWS-template (WD34) beta test topic
« Reply #31 on: March 02, 2019, 12:34:32 PM »
Hello
I'm noticing a difference between the last beta and the normal version in the "Moon phase"
The dawn Moon of tomorrow has 2 different fliers, in one score at: 4:44 in that test it marks: 5:25
is a mistake?
Thank you
pws: https://stazione.meteosantangelo.it/pws/
Test: https://stazione.meteosantangelo.it/pwsTEST/
Maybe I am looking at the wrong place? But I dot not see the same information you mention.
January version and beta are the same for today = March 2 rise 04:44 moonset 13:56
January version  has no data for  March 3

The main page of the beta version displays "upcoming data" so it says "MoonRise 05:25 tomorrow"

The January version displays "Moon rise 04:44" which could be considered incorrect as it should have been worded  "Moon rose 04:44" bacause the displayed time is  in the past. Strange thing is that for sun-rise/set we are accustomed to a sunrise in the past when it is daylight.
But not for the moon, there the times should be about future rise/set, because we can not see were the moon is during daytime.
At least that was how it was explained to me.  All times for sun/moon - rise/set are future times and have the word "tomorrow" added or the exact date.

You can check the moonrise/set for your place (or for any other place) :  https://www.timeanddate.com/moon/italy/padua 

Wim
« Last Edit: March 02, 2019, 01:04:41 PM by wvdkuil »

Offline R_o_B

  • Posts: 316
  • Maple Bay, British Columbia, Canada
  • OS/Browser:
  • Win NT 10.0
  • Firefox 52.0
    • Tzouhalem-Maple Bay Weather
Re: HWS-template (WD34) beta test topic
« Reply #32 on: March 02, 2019, 02:22:55 PM »
Wim, could you make the height of the window inside the 'Metar Aviation Weather Data' a little bit higher as see in the included screenshot. Thanks.
R_o_B
---
eMail: weather@tzweather.org

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,191
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 72.0.3626.119
    • My PWS at Leuven Belgium Europe
Re: HWS-template (WD34) beta test topic
« Reply #33 on: March 02, 2019, 02:45:40 PM »
Wim, could you make the height of the window inside the 'Metar Aviation Weather Data' a little bit higher as see in the included screenshot. Thanks.
The new icons  have same width/height so this one pushes the text to low.
Change  the width of 118px to 100px in line 184 in metar_popup.php
Code: [Select]
   <td><img style="vertical-align: bottom; width : 118px;" rel="prefetch" src="'.$sky_icon.'" alt="'.$sky_desc.'"></td>to
Code: [Select]
   <td><img style="vertical-align: bottom; width : 100px;" rel="prefetch" src="'.$sky_icon.'" alt="'.$sky_desc.'"></td>Should do the trick.

Wim



Offline meteosa

  • Posts: 48
  • Italy
  • OS/Browser:
  • Win NT 10.0
  • Chrome 72.0.3626.119
    • MeteoSantAngelo.it
Re: HWS-template (WD34) beta test topic
« Reply #34 on: March 02, 2019, 03:13:29 PM »
Maybe I am looking at the wrong place? But I dot not see the same information you mention.
January version and beta are the same for today = March 2 rise 04:44 moonset 13:56
January version  has no data for  March 3

The main page of the beta version displays "upcoming data" so it says "MoonRise 05:25 tomorrow"

The January version displays "Moon rise 04:44" which could be considered incorrect as it should have been worded  "Moon rose 04:44" bacause the displayed time is  in the past. Strange thing is that for sun-rise/set we are accustomed to a sunrise in the past when it is daylight.
But not for the moon, there the times should be about future rise/set, because we can not see were the moon is during daytime.
At least that was how it was explained to me.  All times for sun/moon - rise/set are future times and have the word "tomorrow" added or the exact date.

You can check the moonrise/set for your place (or for any other place) :  https://www.timeanddate.com/moon/italy/padua 

Wim

Ok now I understand.
Thanks Wim!

Offline kentsimon

  • Posts: 2
  • OS/Browser:
  • Win NT 10.0
  • Firefox 65.0
Re: HWS-template (WD34) beta test topic
« Reply #35 on: March 02, 2019, 09:41:03 PM »
I really like your template. Now that you have the new wunderground forecasting working it is perfect.

I am having one problem with the wunderground forecast. I like 4 days forecast but I am getting no precipitation chance percentage. When I run w34_module_test.php and run forecastWUblock.php the %'s are there but not on the main page.

My website is http://vertical.skisantafe.com/waptx/pwsTEST/. My data is from South Dakota in case your wondering.

Edit: I went to wunderground and got a new api key right after I setup this beta. I've now figured out that the forecast is Dark Sky not WU. I don't know why I'm not getting WU.
« Last Edit: March 03, 2019, 01:45:17 AM by kentsimon »

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,191
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 72.0.3626.119
    • My PWS at Leuven Belgium Europe
Re: HWS-template (WD34) beta test topic
« Reply #36 on: March 03, 2019, 08:13:17 AM »
. . . shortened . . .
I went to wunderground and got a new api key right after I setup this beta. I've now figured out that the forecast is Dark Sky not WU. I don't know why I'm not getting WU.
You have to select in easyweathersetup that you want to use WU as forecaster. You could also select WXSIM if you have that product.

Wim

Offline kentsimon

  • Posts: 2
  • OS/Browser:
  • Win NT 10.0
  • Firefox 62.0
Re: HWS-template (WD34) beta test topic
« Reply #37 on: March 03, 2019, 03:23:43 PM »
I'm an idiot. I looked at that and just couldn't see it.

Thanks

Offline bitsostring

  • Posts: 842
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Home Weather Station
Re: HWS-template (WD34) beta test topic
« Reply #38 on: March 03, 2019, 04:09:49 PM »
I was looking at the production version of w34_livedata.php and noticed that average and max wind speed are both defined using clientraw #158, which is "10-minute average wind speed (kts)"

$weather["wind_speed_avg"]  = convert_speed ($wd[158],$from,$to); and
$weather["wind_speed_max"] = convert_speed ($wd[158],$from,$to);

I checked and it is still the same in beta. Maybe it doesn't matter because we don't show max wind speed anywhere, do we? Max gust shown uses CR#71.

But I would prefer the beta to make it clearer that the small "Average" value shown at top left of the Wind|Gust block is the 10-minute average, as is done in production.
It's meant to be fun. . .

Offline TSL

  • Posts: 7
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 60.0
Re: HWS-template (WD34) beta test topic
« Reply #39 on: March 04, 2019, 08:06:02 PM »
Hi Wim,

There is still a probem with metar_load_function.php

regards

Tim
http://weather.skybase.net/pwsTEST/index.php

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,191
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 72.0.3626.119
    • My PWS at Leuven Belgium Europe
Re: HWS-template (WD34) beta test topic
« Reply #40 on: March 04, 2019, 08:32:51 PM »
Hi Wim,

There is still a probem with metar_load_function.php

regards

Tim
http://weather.skybase.net/pwsTEST/index.php
The airport uploaded a very short metar,
Code: [Select]
YSRI 042000Z AUTO 00000KT 9999 // OVC015 21/19 Q1017 but still no reason for the provider to miss some info.

I will add debugging code tomorrow and see if it happens again.  It is fine that we still have full error reporting, otherwise this was not seen.

Wim

Offline hcorrin

  • Posts: 1,245
  • Ballaugh Isle of Man GB
  • OS/Browser:
  • Win NT 10.0
  • Mozilla compatible
    • Ballaugh Weather
Re: HWS-template (WD34) beta test topic
« Reply #41 on: March 04, 2019, 11:23:39 PM »
Hi
beta version 1-3-19 gives error in MS edge as
Notice: Undefined offset: 1 in /pwsWDTEST/metar_popup.php on line 203
Notice: Undefined offset: 1 in /pwsWDTest/metar_popup.php on line 205

CheckWX appear to be moving the goal post again re there data output file changing

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,191
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 72.0.3626.119
    • My PWS at Leuven Belgium Europe
Re: HWS-template (WD34) beta test topic
« Reply #42 on: March 05, 2019, 06:24:26 AM »
Hi
beta version 1-3-19 gives error in MS edge as
Notice: Undefined offset: 1 in /pwsWDTEST/metar_popup.php on line 203
Notice: Undefined offset: 1 in /pwsWDTest/metar_popup.php on line 205

CheckWX appear to be moving the goal post again re there data output file changing
@ALL
The format of the JSON file from the METAR provider has changed again.
Sorry, this should not have been visible for the production version. Still it is.
For the beta version all errors are displayed by default.

As I am "off the grid" for at least 3 weeks after tomorrow I have very little time left to find a solution.

FOR NOW: Start easyweather and select nearly at the bottom at the question
"Where do we get our current conditions from?"  => "Use Darksky for current conditions (needs API key)."
That way your main window will not load the METAR scripts.
And do not use the "nearby" pop-up for now until i have had a chance to find out why they removed the airport name and others from the .JSON

Wim

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,191
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 72.0.3626.119
    • My PWS at Leuven Belgium Europe
Re: HWS-template (WD34) beta test topic
« Reply #43 on: March 05, 2019, 08:12:40 AM »
METAR CHANGES  for pwsTEST

As other users already discovered, the layout changed again.
  • The airport-name is not available anymore / for now??.
  • The date/time field layout changed from:
    old:   01-03-2019 @ 07:20Z"
    new: 2019-03-05T05:55:00.000Z
I attach a zip with the two changed scripts for the pwsTEST users.
First make a copy of the two scripts you are going to replace.
These two scripts are only tested with the latest (a few day old)  beta release.

The updates for the pwsWD version is posted in the other topic.

Wim

Offline weatherbee

  • Posts: 708
  • Sherman, Ct.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Sherman Ct. Weather
Re: HWS-template (WD34) beta test topic
« Reply #44 on: March 06, 2019, 12:14:59 AM »
Wim,
Working fine for my pwsTEST1.
Also worked on my nonbeta pws.
Tom
Sony Pentium 4, 1.6 GHZ,512 MB Ram, Windows XP Pro, SP2