Hi all,

I am pretty new to matplotlib and I have a big issue... I am trying to plot
data from a grib file from noaa and I am not sure what's the best way to go
about it. Until now, I am extracting the data i need in CSV files but I am
not able to plot it. Here is a sample of the code that I am using:

import matplotlib.pyplot as plt
import matplotlib.mlab as mlab

r =
mlab.csv2rec('D:/SocalScubaInfo/Data/Outputs/CSV_files/DIRPW_12191800.csv')
plt.contour(r.longitude, r.latitude)
plt.show()

Which errors out and requires a 2d array.

By the way, here is a data file:  http://downloads.75ive.com/testdata.csv
http://downloads.75ive.com/testdata.csv 

Any help is appreciated!
-- 
View this message in context: 
http://www.nabble.com/Plotting-NOAA-data...-tp21139727p21139727.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to