-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verify control bit in S02 files #7
Comments
I've created a script to check the control byte called detect_because_invalid.py and I've uploaded the outputhttps://github.com/antonroman/smart_meter_data_analysis/blob/master/data_processing/sample_csv_files/invalid_data.csv). There are a lot of rows with its control byte greater or equal to 0x80: I will show you this in more detail in our next meeting. |
Ok, then we need to check with Gabriel what to do in this case:
|
In order to understand the magnitude of the problem, could be possible to plot a histogram showing the number of files which has the following percentages of errors: 0.1%, 0.5%, 1%, 2%, 3%, 4%, 5%, 10%, >10%? Thanks a lot! |
Great, so we can safely discard all the series with more than 0.1% of errors. |
We should check if the S05 value provided for this records is "0". It would make sense since this is typically caused by an error in the data tx. |
The quality byte (Bc) is only available in the S02 records (hourly), not in the S05 (daily). I have counted the unique R1 and R4 values of the |
The field "Bc" refers to Control Byte, it must be lower than 0x80 to consider the data as valid. We must check this to make sure the data is valid.
If we discover values equal or higher than 0x80 it can be a valuable input for the next experiment.
The text was updated successfully, but these errors were encountered: