Investigate and either fix or quell zarr.zip warnings

オープン
#1,707 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
data

調査の方向性

まず pull request #1706 と、リンクされている Zarr ZipStore のドキュメントを確認します。重複オブジェクトの警告と UnstableSpecificationWarning を再現し、その後、チャンクのアラインメントまたは別の文書化されたアプローチによってそれらに対処できるかを判断します。警告が解消されるか、警告を抑制または維持する理由を明確な判断で説明できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

https://github.com/Deltares/imod-python/pull/1706 implements support for zarr and zarr.zip. The latter however gives quite some warnings about duplicate objects, which are indeed created:

Alt text

There is some documentation on this: https://zarr.readthedocs.io/en/v2.15.0/api/storage.html#zarr.storage.ZipStore
We have to see if we can align chunks in some way to avoid this warning.

@Manangka also got the following warning which requires some investigation:

UnstableSpecificationWarning: The data type (FixedLengthUTF32(length=4, 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
スター
41
フォーク
12
平均マージ
2日 8時間
マージ済み PR(30日)
13

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Deltares/imod-python のほかの issue

Deltares/imod-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。