Barnard catalog: the six 'a' objects are not loaded

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
databases

調査の方向性

Start with python/PiFinder/catalog_imports/specialized_loaders.py and load_barnard(), then inspect the catalog_objects schema and existing migration conventions. Implement the proposed nullable sequence_suffix approach for the six listed objects. Done means B 44a, B 67a, B 83a, B 84a, B 117a, and B 119a load as separate catalogue entries, retain their positions and diameters, and can be found when searching for their base numbers.

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

説明

The Barnard loader skips six objects of the catalogue: B 44a, B 67a, B 83a, B 84a, B 117a and B 119a.

Where

python/PiFinder/catalog_imports/specialized_loaders.py, in load_barnard():

if Barn[-1] == "a":
    logging.debug(f"Skipping {Barn=}")
    continue

The sequence of a catalog object is an integer, so "44a" has no place.

Facts

  • astro_data/barnard/barnard.dat (VizieR VII/220A) has 349 rows: 343 numbers and these 6 "a" objects. The database has 343 Barnard objects.
  • The other gaps in B 1 to B 370 are correct. B 176 to B 200 never existed. B 52, B 131a and B 172 are duplicates in Barnard's own list. The VizieR ReadMe says this.
  • The six objects are separate dark nebulae. Each has its own position and diameter. For example, B 44a is at 16h 44m 45s, -40° 20'.

Options

  1. A nullable sequence_suffix text column in catalog_objects. The name becomes "B 44a". A keypad search for 44 shows B 44 and B 44a.
  2. Put each "a" object in the database as a new object with the name "B 44a" as an aka name, with no sequence of its own. This needs no schema change, but the keypad cannot find it.
  3. Keep them out, and add the "a" object only to the notes of the base object.

Option 1 is the cleanest. It also helps other catalogues with letter suffixes later.

主要言語
Jupyter Notebook
スター
253
フォーク
63
平均マージ
11時間 55分
マージ済み PR(30日)
8

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

brickbots/PiFinder のほかの issue

brickbots/PiFinder の issue をすべて見る

似ている issue

Databases の issue をもっと見る

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

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