Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

`filewriter`: selog blocks

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

还没有人认领这个 Issue。

评估

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

调研方向

从 filewriter 入口开始,跟踪 block 更新如何变成 .nxs 输出。将所需的 raw_data_1/selog/ 路径与当前 writer 进行比较,包括初始更新所需的历史查找。完成的标准是:每个 block 都写入所有列出的字段,并解决 string-log 表示方式的决定。

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

描述

filewriter

The filewriter must be able to write the selog data.

For each block, this includes:

  • raw_data_1/selog/<block>/read_control (was a LabVIEW VI control name; not populated by current system; could be populated as EPICS PV name)
  • raw_data_1/selog/<block>/set_control (was a LabVIEW VI control name; not populated by current system)
  • raw_data_1/selog/<block>/setpoint
  • raw_data_1/selog/<block>/setpoint_spread
  • raw_data_1/selog/<block>/value
  • raw_data_1/selog/<block>/value_log/alarm_severity
  • raw_data_1/selog/<block>/value_log/alarm_status
  • raw_data_1/selog/<block>/value_log/alarm_time
  • raw_data_1/selog/<block>/value_log/name
  • raw_data_1/selog/<block>/value_log/time
  • raw_data_1/selog/<block>/value_log/value
  • raw_data_1/selog/<block>/value_log/value_valid
  • raw_data_1/selog/<block>/value_spread
  • raw_data_1/selog/<block>/vi_name (was a LabVIEW VI name; not populated by current system)

[!IMPORTANT]
When implementing, we must ensure that the filewriter 'goes back' in time to find the most recent update for each block and log that as the initial update. Otherwise, values will be missing in the .nxs until the block happens to update or the forwarder happens to schedule one of it's periodic updates. For short runs and blocks that don't update much, it is possible that may never happen.

Questions

The ISISICP currently writes strings in a way that is not nexus-compliant. Do we want to continue to do that?

There is a new NXtextlog nexus class for storing string-logs, and as ESS vs00 schema for emitting string-type updates through Kafka.

Potential differences from existing files

  • The update frequency of blocks logged here may be different than old system; streaming system will see and be able to log all block updates (unless we choose to implement downsampling)
主要语言
没有语言数据
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

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

ISISComputingGroup/DataStreaming 的其他 Issue

查看 ISISComputingGroup/DataStreaming 的全部 Issue

相似的 Issue

更多 Data Engineering Issue

把新 issue 发到你的邮箱

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