Code Monkey home page Code Monkey logo

weewx-cwxn's People

Contributors

matthewwall avatar

Watchers

 avatar  avatar

weewx-cwxn's Issues

Humidity value does not match spec, using 3 digits instead of 2 with 00 being 100%

https://cumuluswiki.org/a/Wxnow.txt has humidity defined as 2 digits with 00 = 100%, here is the output I'm getting:

Aug 02 2021 14:35
330/000g004t073r000p000P000h059b09892

Notice h059 not the expected h59

This leads it to be parsed as 5% by other applications.

Replacing line 193 with fields.append("h%02d" % int(data['outHumidity'])) is a rough fix, some logic to change 0% humidity to 1% is probably needed.

Post change I get:

Aug 02 2021 14:55
330/000g004t074r000p016P000h57b09894

That is consistent with the definition.

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.