Code Monkey home page Code Monkey logo

weewx-realtime_json's People

Contributors

gjr80 avatar

Watchers

 avatar  avatar

weewx-realtime_json's Issues

bin/user/rtd.py missing?

Can't seem to install. The installer makes reference to a file which isn't around. Also I had to add a comma before the 'DecimalPlaces' part of the config.

Division by zero error

Noticed this in the log on first startup of the day (less than 1 complete days data, no data for current day):

Jun 19 07:40:28 jessie16 weewx[460]: engine: Initializing weewx version 3.7.1
Jun 19 07:40:28 jessie16 weewx[460]: engine: Using Python 2.7.9 (default, Jun 29 2016, 13:08:31) #012[GCC 4.9.2]
Jun 19 07:40:29 jessie16 weewx[460]: engine: Platform Linux-3.16.0-4-amd64-x86_64-with-debian-8.8
Jun 19 07:40:29 jessie16 weewx[460]: engine: Locale is 'en_AU.UTF-8'
Jun 19 07:40:29 jessie16 weewx[460]: engine: pid file is /var/run/weewx.pid
Jun 19 07:40:29 jessie16 weewx[493]: engine: Using configuration file /home/weewx/weewx.conf
Jun 19 07:40:29 jessie16 weewx[493]: engine: Loading station type Simulator (weewx.drivers.simulator)
Jun 19 07:40:29 jessie16 weewx[431]: Starting weewx weather system: weewx.
Jun 19 07:40:29 jessie16 weewx[493]: engine: StdConvert target unit is 0x1
Jun 19 07:40:29 jessie16 weewx[493]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware
Jun 19 07:40:29 jessie16 weewx[493]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Jun 19 07:40:29 jessie16 weewx[493]: engine: Archive will use data binding wx_binding
Jun 19 07:40:29 jessie16 weewx[493]: engine: Record generation will be attempted in 'hardware'
Jun 19 07:40:29 jessie16 weewx[493]: engine: Using archive interval of 300 seconds (specified in weewx configuration)
Jun 19 07:40:29 jessie16 weewx[493]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Jun 19 07:40:29 jessie16 weewx[493]: manager: Starting backfill of daily summaries
Jun 19 07:40:29 jessie16 weewx[493]: restx: StationRegistry: Registration not requested.
Jun 19 07:40:29 jessie16 weewx[493]: restx: Wunderground: Posting not enabled.
Jun 19 07:40:29 jessie16 weewx[493]: restx: PWSweather: Posting not enabled.
Jun 19 07:40:29 jessie16 weewx[493]: restx: CWOP: Posting not enabled.
Jun 19 07:40:29 jessie16 weewx[493]: restx: WOW: Posting not enabled.
Jun 19 07:40:29 jessie16 weewx[493]: restx: AWEKAS: Posting not enabled.
Jun 19 07:40:30 jessie16 weewx[493]: engine: RealtimeData post interval is None
Jun 19 07:40:30 jessie16 weewx[493]: engine: Starting up weewx version 3.7.1
Jun 19 07:40:30 jessie16 weewx[493]: engine: Clock error is -1.06 seconds (positive is fast)
Jun 19 07:40:30 jessie16 weewx[493]: engine: Starting main packet loop.
Jun 19 07:40:31 jessie16 weewx[493]: rtdthread: **** Traceback (most recent call last):
Jun 19 07:40:31 jessie16 weewx[493]: rtdthread: ****   File "/home/weewx/bin/user/rtd.py", line 727, in process_packet
Jun 19 07:40:31 jessie16 weewx[493]: rtdthread: ****     data = self.calculate(cached_packet)
Jun 19 07:40:31 jessie16 weewx[493]: rtdthread: ****   File "/home/weewx/bin/user/rtd.py", line 1130, in calculate
Jun 19 07:40:31 jessie16 weewx[493]: rtdthread: ****     wind['windSpeed']['today']['avg'] = self.format(self.buffer['wind'].day_vec_avg, self.wind_dp)
Jun 19 07:40:31 jessie16 weewx[493]: rtdthread: ****   File "/home/weewx/bin/user/rtd.py", line 1366, in day_vec_avg
Jun 19 07:40:31 jessie16 weewx[493]: rtdthread: ****     return math.sqrt((self.day_xsum**2 + self.day_ysum**2) / self.sumtime**2)
Jun 19 07:40:31 jessie16 weewx[493]: rtdthread: **** ZeroDivisionError: float division by zero

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.