cloudy cloudy

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

0 Members and 1 Guest are viewing this topic.

Online wvdkuil

  • Wim van der Kuil
  • Posts: 1,204
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 72.0.3626.109
    • My PWS at Leuven Belgium Europe
Re: HWS-template (WD34) beta test topic
« Reply #15 on: February 19, 2019, 11:39:57 PM »
Current conditions says "Mostly Cloudy" but icon shows rain
I could not reproduce as when i checked the text and icon are the same.
I will check daytime tomorrow as it is 00:40 CET here.
wim

Offline weatherbee

  • Posts: 709
  • Sherman, Ct.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Sherman Ct. Weather
Re: HWS-template (WD34) beta test topic
« Reply #16 on: February 20, 2019, 12:22:02 AM »
Wim,
Changing that line fixed the WxSim forecast.
Tom
Sony Pentium 4, 1.6 GHZ,512 MB Ram, Windows XP Pro, SP2


Offline blainec

  • Global Moderator
  • Posts: 404
  • Calgary, Ab.
  • OS/Browser:
  • Win NT 10.0
  • Firefox 65.0
    • Weather YYC
Re: HWS-template (WD34) beta test topic
« Reply #17 on: February 20, 2019, 06:23:53 AM »
I could not reproduce as when i checked the text and icon are the same.
I will check daytime tomorrow as it is 00:40 CET here.
wim
Maybe this is just one time strange glitch. I will watch it to see if it happens again

Online wvdkuil

  • Wim van der Kuil
  • Posts: 1,204
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 72.0.3626.109
    • My PWS at Leuven Belgium Europe
Re: HWS-template (WD34) beta test topic
« Reply #18 on: February 21, 2019, 09:50:48 AM »
Added the "new" WeatherUnderground forecast to be included in the upcoming release. http://wd34.weather-template.com/pwsTEST/

The new API-keys are not yet available (only a few developers got one) until all problems are ironed out in the "how to obtain your key" process. As soon as one has got the e-mail and generated a NEW WU-api-key, sent me  a PM for the download.

Based on the mails from WU it will be early next week until a new beta will be available to all.

Small problems with the WU data:
  • Missing description of some fields, f.i. iconCodeExtend
  • The 3 temperature fields: temperature temperatureHeatIndex  temperatureWindChill  seems to be unrelated to each other, example for a night and the following day  in Celsius :
    temp 0 heat 7  chill -1
    temp 13 heat 12  chill -1
Need to study the documentation if the explanation is hidden somewhere.

With the API-key one can also download 7 days of history, in JSON format.  Could be used for the graphs also, but seems to have no advantages yet compared to the .CSV downloads from WU.

Wim
« Last Edit: February 21, 2019, 09:52:38 AM by wvdkuil »

Online wvdkuil

  • Wim van der Kuil
  • Posts: 1,204
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 72.0.3626.109
    • My PWS at Leuven Belgium Europe
Re: HWS-template (WD34) beta test topic
« Reply #19 on: February 21, 2019, 08:20:55 PM »
The METAR-data layout changed, the humidity field is now an array.
Attached new version ONLY for the beta test pwsTEST, not to be used for the normal pwsWD version.

Wim

Online wvdkuil

  • Wim van der Kuil
  • Posts: 1,204
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 72.0.3626.109
    • My PWS at Leuven Belgium Europe
Re: HWS-template (WD34) beta test topic
« Reply #20 on: February 25, 2019, 12:14:42 PM »
Current conditions says "Mostly Cloudy" but icon shows rain
I generated a XREF (  Cross Reference list ) of the weather-icons versus the scripts they are used and the descriptions from those scripts.
That should help to find the wrong icons < > description in the future.

The forecast/current-condition scripts used have also their individual filesThe XREF-pdf uses the original weather34 icons.  The individual pdf's use another set of icons I am currently testing with.

Wim

Offline TSL

  • Posts: 7
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 60.0
Re: HWS-template (WD34) beta test topic
« Reply #21 on: February 27, 2019, 09:15:51 PM »
The METAR-data layout changed, the humidity field is now an array.
Attached new version ONLY for the beta test pwsTEST, not to be used for the normal pwsWD version.

Wim
I have an error occasionally with metar_load_funct.php as per pic attached...

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


Offline blainec

  • Global Moderator
  • Posts: 404
  • Calgary, Ab.
  • OS/Browser:
  • Win NT 10.0
  • Firefox 65.0
    • Weather YYC
Re: HWS-template (WD34) beta test topic
« Reply #22 on: February 28, 2019, 02:18:43 AM »
I just opened the metar popup and I noticed an error

see attachment

https://weatheryyc.com/pwsTEST

Online wvdkuil

  • Wim van der Kuil
  • Posts: 1,204
  • 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 #23 on: February 28, 2019, 08:11:48 AM »
I just opened the metar popup and I noticed an error

see attachment

https://weatheryyc.com/pwsTEST
3 messages up in this topic, they changed the layout of the JSON.  New script is there.

Offline blainec

  • Global Moderator
  • Posts: 404
  • Calgary, Ab.
  • OS/Browser:
  • Win NT 10.0
  • Firefox 65.0
    • Weather YYC
Re: HWS-template (WD34) beta test topic
« Reply #24 on: February 28, 2019, 04:49:50 PM »
3 messages up in this topic, they changed the layout of the JSON.  New script is there.

I just downloaded a newer script that I found on here. I get the same error

Online wvdkuil

  • Wim van der Kuil
  • Posts: 1,204
  • 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 #25 on: February 28, 2019, 05:01:58 PM »
I just downloaded a newer script that I found on here. I get the same error
  :oops: This was another error in the script. It did not check the absence of wind, forget to put this version online.
This version works better, has also wind in m/s.
Wim
« Last Edit: February 28, 2019, 05:04:05 PM by wvdkuil »

Offline blainec

  • Global Moderator
  • Posts: 404
  • Calgary, Ab.
  • OS/Browser:
  • Win NT 10.0
  • Firefox 65.0
    • Weather YYC
Re: HWS-template (WD34) beta test topic
« Reply #26 on: February 28, 2019, 05:06:18 PM »
good now.   :D

Thank you

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 #27 on: February 28, 2019, 10:19:46 PM »
Hi
I have the beta version running on my synology 214 but it is not accessible from the outside world but the metar popup has given an error message between the dew and humidity when the humidity is 100% appears to refer to line 92 of the metar_popup.php   see attached
has the latest metar_popup.php on and have put todays metar_load_funct.php file on in place of the previous update
« Last Edit: February 28, 2019, 10:28:00 PM by hcorrin »

Online wvdkuil

  • Wim van der Kuil
  • Posts: 1,204
  • 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 #28 on: March 01, 2019, 06:51:32 AM »
Hi
I have the beta version running on my synology 214 but it is not accessible from the outside world but the metar popup has given an error message between the dew and humidity when the humidity is 100% appears to refer to line 92 of the metar_popup.php   see attached
has the latest metar_popup.php on and have put todays metar_load_funct.php file on in place of the previous update
=D&gt; Thanks for spotting this one.
Now 100% will display correctly,

Wim
« Last Edit: March 01, 2019, 07:00:04 AM by wvdkuil »

Online wvdkuil

  • Wim van der Kuil
  • Posts: 1,204
  • 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 #29 on: March 01, 2019, 08:54:38 AM »
Final Beta version for the april release can be downloaded from http://wd34.weather-template.com/beta.php
 Thanks for all help,
Wim


 

cumulus