Giter Site home page Giter Site logo

Not enough observations about weewx-aqi HOT 3 CLOSED

weswitt avatar weswitt commented on June 17, 2024
Not enough observations

from weewx-aqi.

Comments (3)

jonathankoren avatar jonathankoren commented on June 17, 2024

The most common reason someone sees "not enough observations" is there are not enough observations to correctly calculate the AQI for the pollutant for the configured standard. For instance, a PM 2.5 US EPA NowCast requires 12 hours of continuous observations, with each hour having at least 75% of expected observations.

In the log you you pasted, it looks like 16 data points were found in the DB, but you need 540 in order to calculate an AQI.

If you have been recording less than 12 hours observations, then this is expected behavior. However, if you have been recording data for more than 12 hours, then something may be wrong.

My first two questions are:

  1. How long should you have been recording data? In other words: How long has it been since weewx has been running with what you think is correct configuration to write PM 2.5 measurements into a database?

  2. Are the observations actually being written to the DB? It looks like 16 were, so maybe that's not the issue? I don't know. It depends on what the answer to question 1 is. If the measurements are in a DB, then weewx-aqi may be misconfigured. If they're not there, then maybe your sensor is misconfigured or broken.

My advice is simply to wait, but since it's been 13 hours since you posted this, I guess you can check after your read this. :)

from weewx-aqi.

weswitt avatar weswitt commented on June 17, 2024

thanks for the response.

i changed the data source that i'm providing to weewx-aqi. my data source emulates what purple-air provides -- a sql database with sensor reading values. once i did this everything works perfectly. weewx-aqi thinks it's talking to a purple-air database and all is good.

my next task it to add mqtt support to weewx-aqi so that the aqi values are reported out over mqtt and can be used by devices outside of weewx.

from weewx-aqi.

jonathankoren avatar jonathankoren commented on June 17, 2024

Awesome. Great to hear this.

from weewx-aqi.

Related Issues (20)

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.