Add UV to remainder of template

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:

Add UV to remainder of template

Post by azchrisf » Sun Feb 04, 2018 8:43 am

I see the current block supports UV, but other areas of the template do not (Im not talking about the DB itself).
I can see the Solar radiation (w/m2), but no UV data in areas like the Statistics.

It would be nice to add that stuff to the rest of the template, it's very important for people like me who live in the Southwest United States and UV/Solar numbers are important. Australians too probably since it gets hot in the Outback too. ;-)
Last edited by azchrisf on Sun Feb 04, 2018 8:45 am, edited 1 time in total.
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: Add UV to remainder of template

Post by Jachym » Sun Feb 04, 2018 8:45 am

Hi,
it would be possible, but unfortunately is not realistic. UV was not included in MT at the beginning (simply because I did not have that sensor and could not test it). It is not included in the main alldata table and adding it would require rewriting practically all the scripts.

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: Add UV to remainder of template

Post by azchrisf » Sun Feb 04, 2018 8:46 am

What's wrong with adding just a UV Statistics? Probably easy to adapt the Solar one...
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: Add UV to remainder of template

Post by Jachym » Sun Feb 04, 2018 8:48 am

It is not in the alldata table and all the queries would have to be modified as well as AJAX calls and HTML of the tables. This sort of thing is something you have to plan at the beginning because changing this is practically impossible unless you want to rewrite everything from scratch - and there are literally hundreds of these scripts so I do not plan doing this.

Post Reply