This one has been around for a while, in fact it is issue #1 <https://github.com/weewx/weewx/issues/1> on github. I think we have been around the buoy a few times on this, I remember various discussions about kB, MB, GB etc but I don't think it went anywhere, perhaps that is indicative of the age of issue #1 :)
Maybe something to live (all our individual fixes) with until/if the weeWX plot engine is changed/updated/rewritten ? Gary On Thursday, 3 January 2019 17:08:53 UTC+10, Andrej B. wrote: > > Versti pranešimą į lietuvių > *On Thursday, December 26, 2013 3:54:03 PM UTC-5, Derek Sedunary wrote:* >> >> *I will have a look at it to night and post some instructions of what I >> did to get around the problem. May be Matt will come up with a better >> solution. * >> > > > > > > > > > > > > *here is a rather invasive approach, but it works. a cmon plot is > attached.i patched units.py so that it will recognize the data labels from > cmon, and so that it will understand bytes, kilobytes, megabytes, > gigabytes, and terabytes. these are in a new group called group_data. > technically it is only scaling from one to another, not units conversions. > but weewx does not (yet) distinguish between units conversions and > scaling.i consider this a hack job. or perhaps proof-of-concept to explore > our options. long-term we should make units extensible instead of > hard-coding new types into the group and conversion definitions.here is how > to do it:1) install the attached units.pymv bin/weewx/units.py > bin/weewx/units.py-origcp /var/tmp/units.py bin/weewx/units.py* > > > > *mwall*Is possible to update units.py file to meet weewx 3.8.2 syntax > (old attached file does not work) > > Thanks > > Andrej > 2013-12-27 > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
