Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Magnetic coordinates and lines drawing across the world map

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

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

評価

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

調査の方向性

まず、figure_1 に示されている磁気座標マップを再現し、_readboundarydata() が海岸線とポリゴンを作成する前に、Basemap.call() が座標をどのように変換するかを追跡します。既存の東西方向の日付変更線跨ぎのロジックを読み、投影境界とどのように関係するかを判断します。磁気座標について、海岸線とポリゴンがプロットの左右の端で正しく分割されれば完了です。

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

説明

I'm extending basemap to work with magnetic coordinates. Basically, latitude longitude are converted to/from magnetic coordinates during calls to Basemap.__call__(). However, I get results like this:

figure_1

It seems that coastlines/polygons are not properly "broken" on the left/right plot edges. I suspect I have to change something in _readboundarydata() to fix this (since that's where the coastlines and polygons are initiated), and I have had a look at it, but I do not really see what I would need to change. I don't even see how this is handled in the normal (geographic coordinates) case. There are some references to the crossing of east/west datelines, are these "datelines" the left/right map boundaries in projections like the above? I don't really understand what this part of the code accomplishes.

Any tips?

主要言語
Python
スター
817
フォーク
395
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

matplotlib/basemap のほかの issue

matplotlib/basemap の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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