meta class example

An example on how to use meta class from strym to generate metadata about a driving from its CAN csvfile

[1]:
from strym import meta
meta1 = meta(csvfile='../../PandaData/2020_05_11/2020-05-11-22-49-54_2T3Y1RFV8KC014025_CAN_Messages.csv',
             dbcfile=['../examples/newToyotacode.dbc'])
meta1.toJSON()


/home/ivory/anaconda3/envs/dbn/lib/python3.7/site-packages/statsmodels/tools/_testing.py:19: FutureWarning: pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead.
  import pandas.util.testing as tm
Loading BokehJS ...
Reading ../../PandaData/2020_05_11/2020-05-11-22-49-54_2T3Y1RFV8KC014025_CAN_Messages.csv
[1]:
{'filepath': '../../PandaData/2020_05_11/2020-05-11-22-49-54_2T3Y1RFV8KC014025_CAN_Messages.csv',
 'filename': '2020-05-11-22-49-54_2T3Y1RFV8KC014025_CAN_Messages.csv',
 'vin': '2T3Y1RFV8KC014025',
 'make': 'Toyota Canada',
 'error': "Error processing ../../PandaData/2020_05_11/2020-05-11-22-49-54_2T3Y1RFV8KC014025_CAN_Messages.csv with ['../examples/newToyotacode.dbc'], leaving note in drive (msg='module' object is not callable)."}