Some notes on alignment with pangeo-forge-recipes around "keys"
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- リファクタリング
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- python
調査の方向性
まず、Xarray Beam keys のドキュメントと、参照されている pangeo_forge_recipes/patterns.py の 70-114 行を読んでください。これらの抽象化を、FilePatterns におけるインデックスの処理および並列 Zarr 書き込みと比較してください。この issue では具体的な変更も受け入れ基準も定義されていないため、実装の前に maintainer による判断が必要です。
索引モデルが issue の本文から書いたものです。
説明
At today's Pangeo Forge meeting, @alxmrs told us a bit more about Xarray Beam. I'm happy to note that we are aligning a bit around certain abstractions. I'm not proposing to merge or share code or anything at this stage. Just happy to see that we have independently arrived at some similar concepts. Comparing side by side may also suggest improvements.
Xarray Beam
https://xarray-beam.readthedocs.io/en/latest/data-model.html#keys-in-xarray-beam
To keep track of how individual records could be combined into a larger (virtual) dataset, Xarray-Beam defines a Key object. > Key objects consist of:
- offsets: integer offests for chunks from the origin in an immutabledict
- vars: The subset of variables included in each chunk, either as a frozenset, or as None to indicate “all variables”.
Pangeo Forge
We currently call this an "index," although I agree that key is a better name. Our use of indexes is less well documented as it is not really public API but more of an internal thing. We mention it here: https://pangeo-forge.readthedocs.io/en/latest/recipe_user_guide/file_patterns.html#inspect-a-filepattern
The index is its own special type of object used internally by recipes, a
pangeo_forge_recipes.patterns.Index, (which is basically a tuple of one or morepangeo_forge_recipes.patterns.DimIndexobjects).
The code is pretty straightforward and the comments explain things better.
These indexes are used both by FilePatterns (see #31) as well as for parallel writing of Zarr datasets.
cc @cisaacstern
- 主要言語
- Python
- スター
- 170
- フォーク
- 15
- 平均マージ
- 23時間 20分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
google/xarray-beam のほかの issue
-
`OverflowError` when a chunk exceeds 2 GB対応中かも @chase-dwelle が 150 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
google/xarray-beam#196 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
google/xarray-beam#199 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
google/xarray-beam#195 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
google/xarray-beam#173 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
google/xarray-beam#124 ·
google/xarray-beam の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NousResearch/hermes-agent#136483 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
[BUG] LazyStackedTensorDictStore zeroes the last byte of a new key set on the last element対応中かも @peterdsharpe が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pytorch/tensordict#2307 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
GrokModel.generate/a_generate pass an OpenAI-style list-of-dicts to xai_sdk.chat.user(), so every call crashes with a protobuf TypeError before any network I/O対応中かも @Christian-Sidak が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
confident-ai/deepeval#3436 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信