Realtime Dashboard with Python: Difference between revisions

From wikiluntti
Line 10: Line 10:


See https://labex.io/tutorials/python-how-to-implement-robust-error-handling-in-python-csv-processing-398214
See https://labex.io/tutorials/python-how-to-implement-robust-error-handling-in-python-csv-processing-398214
Common errors
* CSV Parsing Errors
** csv.Error: the CSV file has an invalid or unexpected format, such as missing or extra delimiters.
** UnicodeDecodeError: the CSV file contains characters that cannot be decoded using the default encoding
* Data-related Errors
** ValueError: CSV file does not match the expected data type or format.
** IndexError: trying to access a row or column that does not exist in the CSV file.


== Real time plotting ==
== Real time plotting ==


== GIS and maps ==
== GIS and maps ==

Revision as of 20:30, 11 April 2025

Introduction

What is needed

  • Read the CSV file in a robust manner
  • Make some maths a
  • Plot and update the graphs
  • Show the map and GNSS coordinates

Read the CSV

See https://labex.io/tutorials/python-how-to-implement-robust-error-handling-in-python-csv-processing-398214

Common errors

  • CSV Parsing Errors
    • csv.Error: the CSV file has an invalid or unexpected format, such as missing or extra delimiters.
    • UnicodeDecodeError: the CSV file contains characters that cannot be decoded using the default encoding
  • Data-related Errors
    • ValueError: CSV file does not match the expected data type or format.
    • IndexError: trying to access a row or column that does not exist in the CSV file.

Real time plotting

GIS and maps