blf FIle Metadata

未关闭
#1,820 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
python
领域
data

调研方向

从 BLFReader() 和现有的文件元数据字段开始:file、object_count、sizes 和 timestamps。跟踪 BLF 元数据在生成消息之前是如何解析的,然后确定如何在那里公开应用程序名称以及通道 ID、协议和对象计数。完成的标准是,BLF 对象能够在加载实际消息之前报告这些通道信息。

由索引模型根据 Issue 内容生成。

描述

enhancement
Is your feature request related to a problem? Please describe.

When using the BLFReader(), file metadata is scarce (file, object_count, sizes, timestamps). Some other information would be very interesting, like applications that created the file and especially the channel list and channel types.

Describe the solution you'd like

Add more metadata to the blf object, namely application name and especially channel information. This should be in the file metadata since other software (namely MATLAB) produces fairly detailed data on channels before loading actual data, like

    ChannelID    Protocol    Objects
    _________    ________    _______

        1        "CAN"             0
        2        "CAN FD"    6048410
        3        "CAN"       5782778
        4        "CAN FD"          0

This can really help parsing the file. Alternatives see below

Describe alternatives you've considered

When running through the message genarator, messages contain the channel attribute. This is just an int value which suffices to sort the messages but has no informations as shown above.

主要语言
Python
星标
1.6k
派生
715
平均合并
2 天 4 小时
30 天内合并 PR
42

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

hardbyte/python-can 的其他 Issue

查看 hardbyte/python-can 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。