[Tutor] Problems with matplotlib

2017-03-03 Thread Jason Snyder
;, line 13, in from matplotlib import rcParams ImportError: cannot import name rcParams What is causing these errors and what specific things do I need to do to resolve this. I need this explained clearly in a step by step way. Thanks, Jason -- Jason Snyder PhD __

[Tutor] pdf generation problem

2017-03-03 Thread Jason Snyder
I have the following program where I am trying to generate a pdf: 1 import matplotlib 2 matplotlib.use('AGG') 3 import matplotlib.pyplot as plt 4 import matplotlib.image as image 5 import matplotlib.gridspec as gridspec 6 from matplotlib.backends.backend_pdf imp

Re: [Tutor] grb.select for multiple times

2017-03-01 Thread Jason Snyder
In the below email I want to plot the time series of the uwind values at a specific latitude and longitude. On Wed, Mar 1, 2017 at 6:23 PM, Jason Snyder wrote: > I have a grib2 file with wind data at multiple taus as shown below: > > 3:485167:d=2017030112 <(201)%20703-0112>:

[Tutor] grb.select for multiple times

2017-03-01 Thread Jason Snyder
I have a grib2 file with wind data at multiple taus as shown below: 3:485167:d=2017030112:UGRD:10 m above ground:3 hour fcst: 8:1652471:d=2017030112:UGRD:10 m above ground:6 hour fcst: 13:2704909:d=2017030112:UGRD:10 m above ground:9 hour fcst: 18:3865964:d=2017030112:UGRD:10 m above ground:12 hou

[Tutor] pygrib issues involving wind

2017-02-28 Thread Jason Snyder
I have a grib2 file. You can see the components of this grib2 file below: wgrib2 -v chart_2017022812_0057.grb2 1:0:d=2017022812:RH Relative Humidity [%]:2 m above ground:57 hour fcst: 2:227081:d=2017022812:TMAX Maximum Temperature [K]:2 m above ground:54-57 hour max fcst: 3:486870:d=2017022812:U