### Showing entries tagged [metpymonday]

Last week we looked at how to create a simple base map with Cartopy. In this week’s MetPy Monday, we learn about contouring a field on the map and some of the idiosyncrasies of cyclic points. In the end, we will have a plot of the globe with the Coriolis parameter contoured. You can use this functionality to create height maps and more!

We’ll start off with importing the tools we will use: matplotlib, MetPy calculations, MetPy units, and numpy. We’re also using the magic %matplotlib inline so figures show up in the notebook instead of in separate windows.

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.

Don't know where to start on your Python journey? We’ve developed a lot of material here at Unidata to help you out! This week, we’ll go over the resources and show you how to use the example galleries and documentation pages to explore the capabilities of MetPy and the other Unidata Python products.

I remember the first class I took in which the professor required that we include units by every quantity in every step of every calculation we did… or it was wrong. I thought this policy was a bit harsh, but after one or two assignments, I was getting the hang of it. By the end of the semester I realized that it was insane to work any other way. In science, we are dealing with physical quantities that represent things in the real world – and things in the real world have units. Keeping track of units throughout a calculation caught many errors I made while solving and rearranging equations. If keeping track of units on paper is a good idea, why is computing any different? In this MetPy Monday, we'll look at how MetPy uses units and how to convert between different units.

Have you ever had to manually change your path to switch between Python 2.7 and Python 3? Have you broken your research environment by installing a new package to try? Have you ever wanted to take a snapshot and backup your current Python environment? If so, you'll love Conda environments! This week we show you how to setup your own Python environments and switch between them. We also cover how to create a file defining your environment so others can recreate it. It's another video MetPy Monday!

##### 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
Sun Mon Tue Wed Thu Fri Sat « January 2018 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Today