fillcontinents and aeqd projection

Open
#381 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
matplotlib, python

Research direction

Start by running the provided Python example with the aeqd projection and inspect the fillcontinents and drawcoastlines entry points. Compare the filled regions with the coastline for the supplied latitude and longitude values; the issue is done when continents are filled on the correct side and a regression check covers this case.

Written by the indexing model from the issue text.

Description

The fillcontinents routine seems to fill the ouside of the continents, not the inside under some specific lat/lon values. (basemap.__version__ = 1.1.0 from conda-forge)

import matplotlib.pyplot as plt
from mpl_toolkits.basemap import Basemap

clon, clat = 62.426312397000004, -34.6302096207
bmap = Basemap(projection='aeqd', lat_0=clat, lon_0=clon)

fig, ax = plt.subplots()

conts = bmap.fillcontinents(zorder=9)
conts = bmap.drawcoastlines(color='black', zorder=10)

plt.show()

figure_1

Dominant language
Python
Stars
817
Forks
395
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from matplotlib/basemap

All issues in matplotlib/basemap

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.