Unidata / python-gallery

Repository of examples showing off the use of Python for meteorology.
http://unidata.github.io/python-gallery
88 stars 31 forks source link

ENH: Add example plotting NWS precipitation data #63

Closed dopplershift closed 6 years ago

dopplershift commented 6 years ago

This ports over the "Plot precipitation with filled contours" example from:

https://matplotlib.org/basemap/users/examples.html

We should add the precipitation colormap to MetPy. Amusingly, the source data were updated this past summer to "Climate and Forecast (CF)-Network Common Data Form (netCDF)" (yay!), but they are of course not CF-compliant. They don't have a variable for time, but rather they did another stupid global string attribute. I think there's also a glitch in some of the projection metadata (scale of 90 at the pole??)

I have a query out to see if we can get these files tweaked.

dopplershift commented 6 years ago

Data are here: http://water.weather.gov/precip/

dopplershift commented 6 years ago

In addition to those changes, I changed to download yesterday's analysis instead of a fixed date.