Git Product home page Git Product logo

weert-js's People

Contributors

dependabot[bot] avatar tkeffer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

weert-js's Issues

Commits beyond Sept 29 2022 Client not building

Hi Tom,

Just wanted to make a note that commits made from Sept 29 2022 onwards and inclusive are failing to compile either due to module dependencies or code issues. "ff5555a25b1495b0db4f53f576c11f219f15931b" is sha for the last commit that works. If you can't reproduce this, I will redo all the stuff I did before getting to this point and add it here, let me know. Thanks.

Shift query time for wxrecords

Because the contents of wxrecords are generated from a continuous query, their timestamps mark the beginning of the time interval. So, any queries to it must be shifted accordingly.

Partial packets problems

Partial packets create a lot of null values, which prevents the plots from getting plotted.

They also mean the most recent "current" packet will show a lot of N/A values.

Perhaps create a new reducer method, which on every NEW_PACKET action, scans the internal data structures, constructing a full packet, then emitting it as a new action, call it NEW_FULL_PACKET. React components would then subscribe to this (instead of NEW_PACKET).

Continuous Queries should record wind gust

Need a new field in wxrecords that records the max wind speed in the record. Call it windgust_speed.

Should also record the gust direction in field windgust_direction.

WeeWX 3.9.1-1 not supported?

I got everything installed and built fine, but when WeeWX tries to send a packet, I get these log messages from WeeWX:
Jul 26 10:41:06 weewx weewx[14766]: restx: WeeRT: Unexpected exception of type <type 'exceptions.AttributeError'>
Jul 26 10:41:06 weewx weewx[14766]: *** Traceback (most recent call last):
Jul 26 10:41:06 weewx weewx[14766]: *** File "/usr/share/weewx/weewx/restx.py", line 350, in run_loop
Jul 26 10:41:06 weewx weewx[14766]: *** self.process_record(_record, dbmanager)
Jul 26 10:41:06 weewx weewx[14766]: *** File "/usr/share/weewx/weewx/restx.py", line 393, in process_record
Jul 26 10:41:06 weewx weewx[14766]: *** _full_record = self.get_record(record, dbmanager)
Jul 26 10:41:06 weewx weewx[14766]: *** File "/usr/share/weewx/weewx/restx.py", line 263, in get_record
Jul 26 10:41:06 weewx weewx[14766]: *** _result = dbmanager.getSql(
Jul 26 10:41:06 weewx weewx[14766]: *** AttributeError: 'NoneType' object has no attribute 'getSql'
Jul 26 10:41:06 weewx weewx[14766]: restx: WeeRT: Thread exiting. Reason: 'NoneType' object has no attribute 'getSql'
Jul 26 10:41:16 weewx weewx[14766]: interceptor: MainThread: empty queue
Jul 26 10:41:36 weewx weewx[14766]: message repeated 2 times: [ interceptor: MainThread: empty queue]

Funky tick values

With domain [32.7653846153847, 42.21986754966882], recharts is picking tick values of

[
  32.00000000000001,
  36.000000000000014,
  40.000000000000014,
  44.000000000000014,
  48.00000000000002,
]

These then create very long tick labels, which get clipped on the left side. Either

  1. Fix the rounding problem; or
  2. Use a custom label that only displays the first few digits.

image

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.