Page 1 of 1
How to plot UV-max instead of UV-avg in allinone-iso.chart?
Posted: Sun Feb 25, 2024 5:02 pm
by WS Heinenoord
I'm using the allinone-iso.chart to plot data for year period. All data seem to represent day-averages. Which is logical for most parameters over such long period. But for UV-index it's not that relevant. I would prefer to see the maximum UV-index of the day. How to change that?
There's this section in the allinone-iso.chart where parameters to plot are defined:
"fromField": "u",
"toField": "uv"
I tried changing "u" to "uh" or "hu" but that's not working. What is the proper code to get the UV maximun for the day?
Like for wind there's the windgust as maximum.
Re: How to plot UV-max instead of UV-avg in allinone-iso.chart?
Posted: Sun Feb 25, 2024 9:45 pm
by Gyvate
I don't know the details of your request (background, context), but when the sensor-selector in the allinone-iso.chart is [uv0index-avg.1:void], then I would try to replace it by [uv0index-max.1:void].
Create a copy of allinone-iso.chart and rename that copy to allinone-iso-UVmax.chart and change the uv selector as described above
there is a line starting with
#METEOBRIDGE#DATA
where the sensors with their selectors are listed - and they are all "-avg" - change the uv sensor to "-max" and that should do the job
Re: How to plot UV-max instead of UV-avg in allinone-iso.chart?
Posted: Sun Feb 25, 2024 11:07 pm
by Mattk
WS Heinenoord wrote: ↑Sun Feb 25, 2024 5:02 pm
...... I tried changing "u" to "uh" or "hu" but that's not working. What is the proper code to get the UV maximun for the day?
This is a good place to start in understanding the Sensor/Selector relationship
https://www.meteobridge.com/wiki/index.php/Templates
Selector of maximum value of today (if this is what you require?) is: dmax
Re: How to plot UV-max instead of UV-avg in allinone-iso.chart?
Posted: Mon Feb 26, 2024 12:04 am
by WS Heinenoord
Thanks Gyvate for pointing to that line: "#METEOBRIDGE#DATA". I completely missed that as data source. (

blame the small laptop screen...)
Changing the selector as suggested by Mattk worked.
Thanks again for the quick help!