Problem with Station Climate
-
azchrisf
- 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
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?
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 (41.08 KiB) Viewed 10091 times
- Jachym
- 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
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
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

- 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
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.
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.
- Jachym
- 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
OK I will write it down and look at it before releasing v18, thx for letting me know
-
azchrisf
- 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
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.
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.
- Jachym
- 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
thanks, yes it must be something with this conversion, I wrote it down on my to-do list for the next version
-
chrisecurtis
- Newbie

- Posts: 7
- Joined: Sun Jan 28, 2018 8:27 pm
- Station model: Davis Vantage Vue
- Software: Weather Display
Re: Problem with Station Climate
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.
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.
- Jachym
- 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
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

- Posts: 7
- Joined: Sun Jan 28, 2018 8:27 pm
- Station model: Davis Vantage Vue
- Software: Weather Display
Re: Problem with Station Climate
Understood.
thanks
thanks
