Code Monkey home page Code Monkey logo

weewx-aprx's People

Contributors

gjr80 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

weewx-aprx's Issues

Metric System - Help wanted.

Hello. I would like to use your weewx extension for APRS. I would like to understand a few things about it.

a) I used to config weewx database with UsUnits. Weewx allowed me to convert data to Metric when the web page is build but I recently changed the database settings to Metric. So Is it really necessary to convert units?. Can I change the code from:

        data['windSpeed'] = convert(v, 'windSpeed', 'group_speed', pu, 'mile_per_hour')
        v = nullproof('windGust', packet)

to:

        data['windSpeed'] = v
        v = nullproof('windGust', packet)

b) If I choose to make a double convertion. I guess I should change some lines in code from:

        # obtain the unit system used by the packet
        pu = packet.get('usUnits')

To:

        # obtain the unit system used by the packet
        pu = packet.get('Metric')
        data['windSpeed'] = convert(v, 'windSpeed', 'group_speed', pu, 'km_per_hour')
        v = nullproof('windGust', packet)

and change all other measurements.
Thank you very much.

Timestamp using localtime not UTC time

APRS packets are in UTC time, not local.
Line 425 can be changed to use gmtime as opposed localtime to resolve.

Once this is changed the packets are no longer tagged as "[Delayed or out-of-order packet (timestamp)]"

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.