Has anyone integrated daily windrun in datasummary.php?
Is it possible?
Kvikklunsj.net
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.0 (build 4022) - 11 May 2024
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V4 release 4.0.0 (build 4022) - 11 May 2024
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Daily windrun in datasummary.php
Moderator: JacquesD
-
- Posts: 1830
- Joined: Sat 17 Dec 2011 11:55 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 11 x64
- Location: Dorset - UK
- Contact:
Re: Daily windrun in datasummary.php
Hi
I had it on my old version (before I started using an sql version)
I had this in $label_items = array(
and then this in the function formatOP() { section
I don't know if that helps or not?
I had it on my old version (before I started using an sql version)
I had this in $label_items = array(
Code: Select all
windrun' => array($translit[$dayfileLang]['windrun'][0], $translit[$dayfileLang]['windrun'][1], true, 16, null, 'sah'),
Code: Select all
if ($dataSet == 'windrun') {
$col = runColour(DoWind($thisValue, 'mph')); // format to colour range uom;
$part2 .= ' style="background-color:#' . $col[0] . '; color:#' . $col[1] . '"';
$native = $thisValue;
$thisValue = DoWind($thisValue, null); // format to DISPLAY uom
}
-
- Posts: 12
- Joined: Sun 14 Jul 2013 6:35 pm
- Weather Station: Davis Vantage Vue
- Operating System: Raspberry Pi, Dembian
- Location: Alta, Norway
- Contact:
Re: Daily windrun in datasummary.php
ok. see that you have windrun on your website. but I can not figure out where to put the code you suggest.