[Current Block] no time when a parameter is missing

Post Reply
Clement
Newbie
Newbie
Posts: 6
Joined: Sun Jan 07, 2018 8:16 pm
Station model: Davis Vantage Pro II

[Current Block] no time when a parameter is missing

Post by Clement » Sun Jan 14, 2018 10:06 am

Hello,

I'm currently moving my weather website to meteotemplate.

It seems that there is a bug with the update time when a parameter is missing.
For example, if my anemometer is not reporting any data (transmission problem) the time is not displyed.
The other parameters are well updated.

https://www.meteomelin.be/template/

Regards,

User avatar
iatros
Language Admin
Language Admin
Posts: 146
Joined: Mon Aug 21, 2017 5:56 am
Location: Flims Waldhaus Switzerland
Station model: Davis Pro 2 6163
Software: Meteobridge
Contact:

Re: [Current Block] no time when a parameter is missing

Post by iatros » Sun Jan 14, 2018 10:10 am

yes, the same happened to me a few days ago when my wind station was also out of range: no display of the current time!
Image

Language Admin für Deutsch

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: [Current Block] no time when a parameter is missing

Post by Jachym » Sun Jan 14, 2018 10:25 am

the time is the very last thing loaded by the block, if there are errors in the previous part of the script it can happen

User avatar
iatros
Language Admin
Language Admin
Posts: 146
Joined: Mon Aug 21, 2017 5:56 am
Location: Flims Waldhaus Switzerland
Station model: Davis Pro 2 6163
Software: Meteobridge
Contact:

Re: [Current Block] no time when a parameter is missing

Post by iatros » Sun Jan 14, 2018 10:31 am

That's not a bad thing, so we see at least at once if a data is missing!
Image

Language Admin für Deutsch

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: [Current Block] no time when a parameter is missing

Post by Jachym » Sun Jan 14, 2018 12:18 pm

hmm no, it is a bad thing :D I will see if I can move the loading of the time before it checks the parameters

User avatar
jay_hoehn
Language Admin
Language Admin
Posts: 135
Joined: Sun Aug 20, 2017 1:45 pm
Location: Las Cruces, NM USA
Station model: Vantage Pro 2 Plus
Software: WeeWx
Contact:

Re: [Current Block] no time when a parameter is missing

Post by jay_hoehn » Mon Jan 15, 2018 12:07 am

I will see if I can move the loading of the time before it checks the parameters
I would like that.

Jay

Post Reply