Coder Social home page Coder Social logo

Keyerror: 'time' about opc-n3_python HOT 2 OPEN

jarvissan22 avatar jarvissan22 commented on August 15, 2024
Keyerror: 'time'

from opc-n3_python.

Comments (2)

JarvisSan22 avatar JarvisSan22 commented on August 15, 2024

Hi Marco
Sorry I have not tested the rpi3 interface with an OPCN3 as I no longer have access to an OPCN3
and the server code was designed for the my SDS011 directory and I just copied it other to the OPCN3 with some changes in the code, thinking it should work fine.

So I am thankful that you are trying to use, so we can actually get it working.
I have two ideas of what it could be.
1)Can you check your data files, that they have the "time" column if it's not spelt as "Time".
2)It could also be an issue with line 36 in interface.py
dataloop = pd.read_csv(file, header=4, error_bad_lines=False, engine='python',index_col=False)
The header may not be number 4, so its could be cutting data header column.

Kind regards
Daniel Jarvis

from opc-n3_python.

mrgenna avatar mrgenna commented on August 15, 2024

from opc-n3_python.

Related Issues (4)

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.