Public bug reported:

Binary package hint: rrdweather

cat /etc/lsb-release
DISTRIB_ID=Ubuntu (is either a lie or is generic, it's Kubuntu on AMD64)
DISTRIB_RELEASE=7.10
DISTRIB_CODENAME=gutsy
DISTRIB_DESCRIPTION="Ubuntu 7.10"
apt-cache policy rrdweather
rrdweather:
  Installed: 0.40-0ubuntu1
  Candidate: 0.40-0ubuntu1
  Version table:
 *** 0.40-0ubuntu1 0
        500 http://archive.ubuntu.com gutsy/universe Packages
        500 http://mirrors.kernel.org gutsy/universe Packages
        100 /var/lib/dpkg/status

I hacked on the installation until it worked correctly during network outage,
now leaving blank gaps in the graphs during network outage, versus all values
dropping to zero and messing up the averages.
I altered the cgi for English versus Metric units, and scaling the
barometric pressure readings for English units in Inches of Mercury. As it was,
pressure reading graphs ranged from 0 to 40 in.Hg, whereas global historical
records indicate 25.6 to 32.01 as the practical range, so I rescaled as 25 to 
32,
which displays as 20 to 40, doubling the sensitivity of the graph. Hopefully
something in my tbz2 file will help the developers, though I may have
hacked something wrong in the process, at least it works now.
The result:
http://www.kahealani.net/cgi-bin/weather.cgi

** Affects: rrdweather (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Averages messed up when values go to 0 when network connection down.
https://bugs.launchpad.net/bugs/197917
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to