Problem with Station Climate

Post Reply
azchrisf
Observer
Observer
Posts: 46
Joined: Tue Jan 02, 2018 2:55 pm
Location: Phoenix, AZ
Station model: Davis Vantage Pro 2 Plus
Software: Meteobridge
Contact:

Problem with Station Climate

Post by azchrisf » Fri Jan 12, 2018 5:17 pm

I have an odd issue with the Station Climate page that I'm sure is due to a misconfiguration somewhere - the values for Frost and such are way out of whack.

Also, the dark text blends into the background for some reason...

Is this something on my part to change or is this a bug?
Attachments
error.png
error.png (41.08 KiB) Viewed 10091 times
Image

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: Problem with Station Climate

Post by Jachym » Sun Jan 14, 2018 2:20 pm

Hi,
the only thing that I can think of is some strange unit conversion. Double check your db and display units in the main setup and if you have errors on any other page. If you know how to use PhpMyAdmin also check what exactly is being saved to database

azchrisf
Observer
Observer
Posts: 46
Joined: Tue Jan 02, 2018 2:55 pm
Location: Phoenix, AZ
Station model: Davis Vantage Pro 2 Plus
Software: Meteobridge
Contact:

Re: Problem with Station Climate

Post by azchrisf » Mon Jan 15, 2018 7:14 am

Setup appears proper - I checked phpMyAdmin for temperature - I sorted by T, Tmin and Tmax
all individually and there was no incorrect or erronous values at the top of the lists.

Everything else appears to be working correctly.

I don't think this is an issue with my setup, another website I know of (Sherman CT Weather) has the same issue - so it appears to be a bug in the script when Farenheit is used.
errorst1.png
errorst1.png (35.56 KiB) Viewed 10036 times
Image

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: Problem with Station Climate

Post by Jachym » Mon Jan 15, 2018 7:49 am

OK I will write it down and look at it before releasing v18, thx for letting me know

azchrisf
Observer
Observer
Posts: 46
Joined: Tue Jan 02, 2018 2:55 pm
Location: Phoenix, AZ
Station model: Davis Vantage Pro 2 Plus
Software: Meteobridge
Contact:

Re: Problem with Station Climate

Post by azchrisf » Mon Jan 15, 2018 8:07 am

Because I get caught up in things, I took a look.
It appears to be an issue with the doConv function, specifically this line:

number_format(convertor($number,"C","F"),0,".","");

If I comment this out and just have it return $number it works fine.

Hope that helps.
Image

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: Problem with Station Climate

Post by Jachym » Mon Jan 15, 2018 1:16 pm

thanks, yes it must be something with this conversion, I wrote it down on my to-do list for the next version

chrisecurtis
Newbie
Newbie
Posts: 7
Joined: Sun Jan 28, 2018 8:27 pm
Station model: Davis Vantage Vue
Software: Weather Display

Re: Problem with Station Climate

Post by chrisecurtis » Mon Feb 12, 2018 11:07 am

This is one of the best features of meteotemplate (IMHO) but the display is a little confusing.

I suggest:

A. Split the first table
1. Monthly Averages
including Temperature, max, min, frost days, average number of ice days, summer days, tropical days, tropical nights
Add average number of wet days to that list
Show average first and last frosts

2. Monthly absolutes
Max temperature, Min temperature and possibly add maximum daily rainfall and maximum rainfall rate

B. Add a title "Yearly" before the second table (showing number of days and first and last frosts) for each year.

I also have a strange issue with precipitation. The average shows 63.5mm when the station has only been running this month, and has a total of 27.2mm - it looks as if it is scaling rainfall so far this month (i.e. 27.2mm in 12 days = 63.5mm in 28 days) which is not correct.

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: Problem with Station Climate

Post by Jachym » Mon Feb 12, 2018 3:12 pm

If you only have a few days of data it needs to interpolate the result otherwise it would be biased as well as all future averages. This page does not show actual values but averages and for rain you need to do this to prevent nonsense. Other option would be not show anytihng until you have enough data - but that causes confusion and people think it is not working

chrisecurtis
Newbie
Newbie
Posts: 7
Joined: Sun Jan 28, 2018 8:27 pm
Station model: Davis Vantage Vue
Software: Weather Display

Re: Problem with Station Climate

Post by chrisecurtis » Tue Feb 13, 2018 4:47 pm

Understood.
thanks

mchd17
Forecaster
Forecaster
Posts: 196
Joined: Sat Mar 17, 2018 2:01 am
Location: Illinois
Station model: Davis Pro2 Plus
Software: Meteobridge

Re: Problem with Station Climate

Post by mchd17 » Fri Apr 13, 2018 1:37 am

Looking forward to the fix ;)

mchd17
Image

Post Reply