In the Graphs > allinone-iso
Is it possible to change the Wind messurement from km/h to m/s ?
Graphs > Wind : Change from km/h to m/s ?
Moderator: Mattk
-
- Junior Boarder
- Posts: 36
- Joined: Wed Oct 19, 2016 2:26 pm
Re: Graphs > Wind : Change from km/h to m/s ?
Sure. Wind speed by default is m/s, allinone-iso uses the "kmh" convertor to output km/h. Remove all references of =kmh from any wind related data AND edit/change any textual reference from km/h to m/s
-
- Junior Boarder
- Posts: 36
- Joined: Wed Oct 19, 2016 2:26 pm
Re: Graphs > Wind : Change from km/h to m/s ?
I am using the Saratoga-weather templates.
My "MBtags.php" looks like this:
- - - - -
$WXsoftware = 'MB';
$defsFile = 'MB-defs.php'; // filename with $varnames = $WX['MB-varnames']; equivalents
$rawdatalines = '
date|2021-09-29|// local date:|:
time|12:43:00|// local time:|:
dateUTC|2021-09-29|// UTC date:|:
timeUTC|10:43:00|// UTCtime:|:
uomTemp|°C|// UOM temperature:|:
uomWind| m/s|// UOM wind:|:
uomBaro| hPa|// UOM barometer:|:
uomRain| mm|// UOM rain:|:
- - - - -
Is that what changes the Wind graphs to m/s ?
You can see my graphs here:
https://frederiksberg-vejret.dk/ChartTodayHour.php
My "MBtags.php" looks like this:
- - - - -
$WXsoftware = 'MB';
$defsFile = 'MB-defs.php'; // filename with $varnames = $WX['MB-varnames']; equivalents
$rawdatalines = '
date|2021-09-29|// local date:|:
time|12:43:00|// local time:|:
dateUTC|2021-09-29|// UTC date:|:
timeUTC|10:43:00|// UTCtime:|:
uomTemp|°C|// UOM temperature:|:
uomWind| m/s|// UOM wind:|:
uomBaro| hPa|// UOM barometer:|:
uomRain| mm|// UOM rain:|:
- - - - -
Is that what changes the Wind graphs to m/s ?
You can see my graphs here:
https://frederiksberg-vejret.dk/ChartTodayHour.php
Re: Graphs > Wind : Change from km/h to m/s ?
Hej!
On the top of your site, the alternating values are already m/s.
I say it is only the graph you need to change. Am I right?
The chart is generated in the meteobridge from a template-file.
To change the graph, you will need to change the template-file.
Log on to your meteobridge file system. Go to data -> templates. There you find a file called allinone-iso.chart.
I have myself already made this change to m/s , so feel free to just copy my file. Download this and put it in the same template-folder.
https://fishmoose.se/slask/allinone-iso-mps.chart
Now go to the web interface of your meteobridge, go to services -> events and change the chart generating template to this new allinone-iso-mps
...
I do not know if you also use the min-max chart, but feel free to download also that template, I have changed also this to m/s:
https://fishmoose.se/slask/allinoneminmax-iso-mps.chart
....
NOTE! Another option is to use the metachart option in the meteobridge. With that you can make the layout and contents of the graph the way you want. (See attached screenshot) The name you enter at the top, you then choose as template in the settings->events.
(However, I think that using my file above is the fastest solution)
On the top of your site, the alternating values are already m/s.
I say it is only the graph you need to change. Am I right?
The chart is generated in the meteobridge from a template-file.
To change the graph, you will need to change the template-file.
Log on to your meteobridge file system. Go to data -> templates. There you find a file called allinone-iso.chart.
I have myself already made this change to m/s , so feel free to just copy my file. Download this and put it in the same template-folder.
https://fishmoose.se/slask/allinone-iso-mps.chart
Now go to the web interface of your meteobridge, go to services -> events and change the chart generating template to this new allinone-iso-mps
...
I do not know if you also use the min-max chart, but feel free to download also that template, I have changed also this to m/s:
https://fishmoose.se/slask/allinoneminmax-iso-mps.chart
....
NOTE! Another option is to use the metachart option in the meteobridge. With that you can make the layout and contents of the graph the way you want. (See attached screenshot) The name you enter at the top, you then choose as template in the settings->events.
(However, I think that using my file above is the fastest solution)
- Attachments
-
- Skärmavbild 2021-10-23 kl. 08.42.28.png (160.42 KiB) Viewed 948 times
PWS Villshärad/Halmstad, Sweden: vader.fishmoose.se DavisVPro + MB NanoSD.