In addition to scipy.io, there are some pure python netcdf readers,
including pupynere (might be easier to install a pure python module?). Also,
you have ScientificPython.io.netCDF, in case this is more convenient for
you.
ncdump is
almost certainly not the way to go, it is best suited for human
inspection of the file contents. If you absolutely want to use it,
consider
using the C source creator in ncdump to import it (Cython or similar?).

Good luck,
Paul.

On Thu, Jun 11, 2009 at 8:09 PM, JPKay <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”
>
>
> 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.
>
>
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
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