Unidata / MetPy

MetPy is a collection of tools in Python for reading, visualizing and performing calculations with weather data.
https://unidata.github.io/MetPy/
BSD 3-Clause "New" or "Revised" License
1.25k stars 415 forks source link

MetPy and rotated latitude longitude coordinates #1232

Open zdedekind opened 4 years ago

zdedekind commented 4 years ago

Hi

When I parse then dataset then I get the following error: KeyError: 'perspective_point_height'. For some reason there is no altitude or level in the Coordinates and I imagine that the parse function then can't find any height coordinate? How can I add the vertical levels to the Coordinates?

I have also used a dataset where the altitude is specified in the Coordinates, but then when I try to do a cross_section then I get the following: ValueError: Unhandled projection: rotated_latitude_longitude. Is there a way that MetPy could work with rotated pole coordinates?

data.zip

This is a small sample of the data I'm working with. I made the domain very small and also only selected several variables to keep the size of the file small.

Regards, Zane

khintz commented 4 years ago

I have not contributed to metpy before, only used it. But I would be interested to help to implement this. I alreay have a lot of code on this.