Scale/Offset (and maybe other?) Filters
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
先阅读 HDF5 的 scale-offset 文档以及链接的 registered-filter 详细信息。创建包含整数和浮点数据的测试文件,然后检查其 filter pipeline 消息并比较解压行为。当预期的 scale-offset 支持得到定义并通过测试实现后,即视为完成;N-bit、hdf5plugin 和 blosc 的范围仍未解决。
由索引模型根据 Issue 内容生成。
描述
(This is on the list for V1)
HDF5 has the ability to read and write data using scale-offset filters to remove the precision of the data stored and use this in a filter/compression pipeline. From the h5py documentation it is not obvious that a reading library like pyfive has to do anything to read this data - if all that has happened is that the precision has been cut, and then the data compressed, a decompression pipeline doesn't need to do anything new.
However that doesn't sound like a scale-offset filter at all, and if we look a bit further under the hood, e.g. hdf5 docs , we find that the algorithm is a bit more complicated, and that the minimum-bits and the minimum value need to be stored with the compressed data for decompression and post-decompression.
Next steps for doing this would be to get some tests, with some test integer and floating point data (definitely both) to compress. We'd need to see what was in the filter pipeline message, and understand what the H5Z_FILTER_SCALEOFFSET filter looks like. Registered filter details can be found here.
Note: Should we consider the n-bit filter(H5Z_FILTER_NBIT) at the same time? Will we get it for free during the implementation?
Note: In implementation, also consider to what extent we want to support the hdf5plugin (or something similar) and any blosc extras so we can deal with any blosc filtering operation?
Note: We don't think NetCDF4 supports any of this.
- 主要语言
- Python
- 星标
- 105
- 派生
- 29
- 平均合并
- 2 天 8 小时
- 30 天内合并 PR
- 9
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NCAS-CMS/pyfive 的其他 Issue
-
enhancement
难度 5/5 一周以上 新手友好度 35/100
维护者通常 1 天内回复
-
further optimisation可能已有人在做 @bnlawrence 于 47 天前认领。 未关闭
难度 5/5 一周以上 新手友好度 18/100
维护者通常 1 天内回复
-
installation
难度 4/5 3-5 天 新手友好度 25/100
维护者通常 1 天内回复
-
VDS datasets silently return None可能重新可做 @bnlawrence 于 48 天前认领,目前没有进行中的 PR。 未关闭bug
难度 3/5 1-2 天 新手友好度 68/100
NCAS-CMS/pyfive#275 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
difference in check_dtype for vlen compared to h5py可能重新可做 @davidhassell 于 152 天前认领,目前没有进行中的 PR。 未关闭question
NCAS-CMS/pyfive#228 · 13 条评论 · 已指派 2 人 ·
维护者通常 1 天内回复
相似的 Issue
-
eegprep-lean: set channel types from the Zarr group's channel_type可能已有人在做 @claude 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
blacklanternsecurity/bbot#3679 ·
维护者通常 2 天内回复
-
Bot Type: Bug Type: Documentation
难度 1/5 1 小时以内 新手友好度 85/100
-
难度 2/5 1-3 小时 新手友好度 80/100
speakeasy-api/speakeasy#2159 ·
维护者通常 1 天内回复