Iris Zarr format saves "normal" fixed-width character arrays as a "string" type (variable-width) array
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by tracing Iris's Zarr save and load paths and their tests for fixed-width Unicode arrays; the issue does not name specific files or tests. Reproduce saving a Uxx array and inspect the resulting Zarr metadata, then compare with the existing load behavior. Done means saving and loading preserves the fixed-width dtype, with the warning behavior considered.
索引モデルが issue の本文から書いたものです。
説明
From experiment it seems that:
- Iris won't save 'object' type string arrays to Zarr
- Iris will save "Uxx" character data (fixed-width strings) but save them as variable-length strings
- (i.e. zarr metadata has
"dtype" = "string")
- (i.e. zarr metadata has
Zarr itself (i.e. zarr.create_array) can create either.
It won't handle dtype="O", but can do either :
- "StringDtype" --> zarr "data_type" = "string"
- "Uxx" --> zarr "data_type" is "fixed_length_utf32"
- n.b. with extension format metadata[^1]
- but with a warning^2
I think we should support fixed-width strings in a way which round-trips.
And importantly ..
Where Zarr content has fixed-length strings of the 'fixed_length_utf32' type, Iris does load these correctly as "Uxx" type arrays.
(But with the warning)
[^1]: example for data of dtype "U11"
"""
"data_type": {"name": "fixed_length_utf32",
"configuration": {
"length_bytes": 44
}
},
"""
UnstableSpecificationWarning: The data type (FixedLengthUTF32(length=11, endianness='little')) does not have a Zarr V3 specification. That means that the representation of arrays saved with this data type may change without warning in a future version of Zarr Python. Arrays stored with this data type may be unreadable by other Zarr libraries. Use this data type at your own risk! Check https://github.com/zarr-developers/zarr-extensions/tree/main/data-types for the status of data type specifications for Zarr V3.
v3_unstable_dtype_warning(self)
"""
- 主要言語
- Python
- スター
- 730
- フォーク
- 323
- 平均マージ
- 3日 21時間
- マージ済み PR(30日)
- 16
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
SciTools/iris のほかの issue
-
Link Checker Report対応中かも @stephenworsley が 12 日前に担当しました。 オープンBot Type: Bug Type: Documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
SciTools/iris#7368 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
guess_bounds(yearly=True) fails on a single point, monthly=True works対応中かも @pp-mo が 48 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
SciTools/iris#7311 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Agentic
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
flaky: test_fire_returns_thread_per_http_entry_on_head waits 5 s per dispatch worker on busy shardsオープンstatus/accepted type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
microsoft/apm#5309 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug vector-store
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
EverMind-AI/Raven#1413 ·
メンテナーはふだん 1 日以内に返信
-
Tests: parallel pyinstallcheck runs oversubscribe the machine through nested TBB and BLAS pools対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
ACCESS-NRI/containerised-environments-infra#143 ·
メンテナーはふだん 2 日以内に返信