Gökhan SEVER wrote:
> On Thu, Jun 11, 2009 at 1:09 PM, JPKay <kay1...@vandals.uidaho.edu 
> <mailto:kay1...@vandals.uidaho.edu>> wrote:
> 
> 
>     Hello,
>     I am trying to use matplotlib to create a quiver plot of a NetCDF
>     file with
>     the extension .nc. The Netcdf file is a series of arrays that contain
>     information about the stress tensors on a globe.
> 
>     I am struggling to import the file into python and having the quiver
>     data
>     show up.
>     To import the file I have been using:
>     “ncdump file.nc <http://file.nc>”
> 
> 
>     Any thoughts would be appreciated.
>     Thanks,
>     Jon
>     --
>     View this message in context:
>     
> http://www.nabble.com/Quiver-plot-of-a-netcdf-file-tp23986313p23986313.html
>     Sent from the matplotlib - users mailing list archive at Nabble.com.
> 
> 
> I recommend you to check netcdf4-python 
> (http://code.google.com/p/netcdf4-python/)
> You can load both netcdf3 and 4 files. Additionally, there are date 
> conversion utilities which help to do transforms between numbers and 
> dates and vice versa.

Caution: it's great, and I use it, but it is not trivial to build and 
install.  I think the OP would do best to start with pupynere. The web 
site for download looks like it is working: 
http://pypi.python.org/pypi/pupynere/

Eric


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to