MetPy Mondays #6 - Making a Basic Map with Cartopy

One of the most common tasks we do as geoscientists is make maps. Maps are a great way to look at massive amounts of data and synthesize it. In Python, Cartopy is the most current mapping package available and is what we use in all of our MetPy Gallery and Python Gallery examples. In this week’s MetPy Monday, we’ll look at the fundamentals of mapping with Cartopy and create a couple of simple base maps that data can be plotted on.

Comments:

I'm having an HTTP error when I try to get the sate borders, any help would be greatly appreciated

HTTP Error 404: Not Found

Posted by Justin Richling on March 02, 2018 at 08:27 AM MST #

state_borders = cfeat.NaturalEarthFeature(category="cultural", name="admin_1_states_provinces_lakes",
scale="50m", facecolor="none")

ax.add_feature(state_borders, linestyle="dotted", edgecolor="black")

fig

Posted by Justin Richling on March 02, 2018 at 08:43 AM MST #

Hi Justin,

Looks like there might be an issue with the dashes here as some are em dashes. If you have any further issues, let us know at support-python@unidata.ucar.edu.

Thank you,

John Leeman

Posted by John Leeman on March 06, 2018 at 01:39 AM MST #

Post a Comment:
Comments are closed for this entry.
Unidata Developer's Blog
A weblog about software development by Unidata developers*
Unidata Developer's Blog
A weblog about software development by Unidata developers*

Welcome

FAQs

News@Unidata blog

Take a poll!

What if we had an ongoing user poll in here?

Browse By Topic
Browse by Topic
« December 2024
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
    
       
Today