Re: [Matplotlib-users] Plotting NOAA data...

2008-12-23 Thread Scott Sinclair
2008/12/23 Eric Firing efir...@hawaii.edu: antonv wrote: Hi all, I am trying to plot data from a grib file from noaa ... Here is a sample of the code that I am using: import matplotlib.pyplot as plt import matplotlib.mlab as mlab r =

Re: [Matplotlib-users] Plotting NOAA data...

2008-12-23 Thread antonv
Scott, the Scatter function works great but i am really looking to use the contourf one. Eric, you're right, the way I had it initially it was missing the z value. I looked at the griddata example and here is the code I came up with: from numpy.random import uniform, seed from matplotlib.mlab

Re: [Matplotlib-users] Plotting NOAA data...

2008-12-23 Thread KURT PETERS
I don't seem to have a mlab module as part of matplotlib. Is that something new?Kurt-- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net

Re: [Matplotlib-users] Plotting NOAA data...

2008-12-23 Thread KURT PETERS
Sorry, I meant the griddata module as part of mlab.KurtFrom: petersk...@msn.comto: matplotlib-us...@lists.sourceforge.netsubject: RE: Plotting NOAA data...Date: Tue, 23 Dec 2008 09:28:49 -0700 I don't seem to have a mlab module as part of matplotlib. Is that something

Re: [Matplotlib-users] Plotting NOAA data...

2008-12-23 Thread Jeff Whitaker
antonv wrote: Scott, the Scatter function works great but i am really looking to use the contourf one. Eric, you're right, the way I had it initially it was missing the z value. I looked at the griddata example and here is the code I came up with: Since you read your data from a GRIB

Re: [Matplotlib-users] Plotting NOAA data...

2008-12-23 Thread Ryan May
KURT PETERS wrote: Sorry, I meant the griddata module as part of mlab. Kurt It was first released in 0.98.3. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma --

Re: [Matplotlib-users] Plotting NOAA data...

2008-12-23 Thread antonv
Hi Jeff, here is a link to the csv file: http://downloads.75ive.com/testdata.csv Thanks again for all your help guys! Really appreciated! Ryan May-3 wrote: KURT PETERS wrote: Sorry, I meant the griddata module as part of mlab. Kurt It was first released in 0.98.3. Ryan --

Re: [Matplotlib-users] Plotting NOAA data...

2008-12-23 Thread Jeff Whitaker
antonv wrote: Hi Jeff, here is a link to the csv file: http://downloads.75ive.com/testdata.csv Thanks again for all your help guys! Really appreciated! I meant the original GRIB file ... -Jeff Ryan May-3 wrote: KURT PETERS wrote: Sorry, I meant the griddata module as part of

Re: [Matplotlib-users] Plotting NOAA data...

2008-12-23 Thread antonv
Here is the link to the folder that has the grib files. They are updated every 3 hours: ftp://ftpprd.ncep.noaa.gov/pub/data/nccf/com/wave/prod/ Any of the files there would have the same info only at different times of day. -- View this message in context:

Re: [Matplotlib-users] Plotting NOAA data...

2008-12-23 Thread Jeff Whitaker
vasilescu_an...@yahoo.com wrote: Hi Jeff, This example is just awesome! I really appreciate the time you put into this but it's way way over my head... There are a couple issues I have especially that I just started using python and matplotlib a couple days ago. First, the direct reading

Re: [Matplotlib-users] Plotting NOAA data...

2008-12-23 Thread antonv
Is there a PyNIO binary for windows as on their download page there are only Linux, Mac or Solaris versions? Jeff Whitaker wrote: vasilescu_an...@yahoo.com wrote: Hi Jeff, This example is just awesome! I really appreciate the time you put into this but it's way way over my head... There