MIRIAD reader doesn't act on changing "extra" variables
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
read_miriad のメインループから始め、関連するエントリーポイントとして default_miriad_variables、other_miriad_variables、check_variables、および UVData の extra_keywords 属性を使用します。CARMA のテストファイルで動作を再現し、現在の遅いループを使わずに追加変数の変更を保持する方法を調べます。追加変数の値の変更が extra_keywords に正しく反映され、reader のパフォーマンスが許容範囲内に保たれれば完了です。
索引モデルが issue の本文から書いたものです。
説明
There is a minor issue w/ the MIRIAD file reader, where so-called "extra" variables (i.e., those other than the explicitly listed/known variables found in default_miriad_variables and other_miriad_variables) in the MIRIAD file are only read once at the top of the file and assumed static, without verification that the values are not changing over the course of the track. This primarily seems to be an issue with the CARMA test file, which contains several values that are not part of the "standard" set of MIRIAD variables.
Note that the code below exists (as of v2.1.6) in the main loop of read_miriad, where check_variables carried forward the first instance of each of the values within extra_variables to verify whether or not these values changed but a) this loop is incredibly slow, and b) the values within check_variables never get propagated forward into the extra_keywords attribute of the UVData object.
# check extra variables for changes compared with initial value
for extra_variable in list(check_variables.keys()):
if type(check_variables[extra_variable]) == str:
if uv[extra_variable] != check_variables[extra_variable]:
check_variables.pop(extra_variable)
else:
if not np.allclose(
uv[extra_variable], check_variables[extra_variable]
):
check_variables.pop(extra_variable)
- 主要言語
- Python
- スター
- 103
- フォーク
- 40
- 平均マージ
- 4日 11時間
- マージ済み PR(30日)
- 13
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
RadioAstronomySoftwareGroup/pyuvdata のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
RadioAstronomySoftwareGroup/pyuvdata#1751 ·
メンテナーはふだん 3 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
RadioAstronomySoftwareGroup/pyuvdata#1750 ·
メンテナーはふだん 3 日以内に返信
-
難易度 3/5 半日 初心者へのやさしさ 48/100
RadioAstronomySoftwareGroup/pyuvdata#1749 ·
メンテナーはふだん 3 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
RadioAstronomySoftwareGroup/pyuvdata#1748 ·
メンテナーはふだん 3 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
RadioAstronomySoftwareGroup/pyuvdata#1743 ·
メンテナーはふだん 3 日以内に返信
RadioAstronomySoftwareGroup/pyuvdata の issue をすべて見る
似ている issue
-
Internal Errorオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
frappe/frappe_docker#2071 ·
メンテナーはふだん 1 日以内に返信
-
bug python
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
traceloop/openllmetry#4717 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
The-Pocket/PocketFlow#161 ·
-
comp/desktop P2 type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NousResearch/hermes-agent#157702 ·
メンテナーはふだん 1 日以内に返信
-
scibench_physics / scibench_chemistry: a correct answer scores 0 when the unit has a power of ten対応中かも @BahaaMattar が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
EvolvingLMMs-Lab/lmms-eval#1699 ·
メンテナーはふだん 1 日以内に返信