Re: [Matplotlib-users] netcdf4-python usage, NetCDFFile

2010-10-31 Thread Jeff Whitaker
On 10/31/10 5:44 AM, John wrote: > Jeff, > > I just built netcdf with the following script: > > #!/bin/bash > > ./configure --enable-netcdf-4 --enable-hdf4 --enable-hdf4-file-tests > --enable-pnetcdf --enable-cxx-4 --with-hdf5=/flex_wrk/lib64 > --enable-shared --prefix=/flex_wrk/lib64 > make > make

Re: [Matplotlib-users] netcdf4-python usage, NetCDFFile

2010-10-31 Thread John
Jeff, I just built netcdf with the following script: #!/bin/bash ./configure --enable-netcdf-4 --enable-hdf4 --enable-hdf4-file-tests --enable-pnetcdf --enable-cxx-4 --with-hdf5=/flex_wrk/lib64 --enable-shared --prefix=/flex_wrk/lib64 make make install Everything seemed to work fine. I then r

Re: [Matplotlib-users] netcdf4-python usage, NetCDFFile

2010-10-30 Thread Jeff Whitaker
On 10/30/10 5:05 PM, John wrote: > Thank you. I didn't think they used it, I just wanted to know if it > was safe to do what you suggested to try. It does seem to work. > > Another question, can netcd4-python READ HDF files? Or is it just that > it creates files that are readable? If it's the latte

Re: [Matplotlib-users] netcdf4-python usage, NetCDFFile

2010-10-30 Thread John
Thank you. I didn't think they used it, I just wanted to know if it was safe to do what you suggested to try. It does seem to work. Another question, can netcd4-python READ HDF files? Or is it just that it creates files that are readable? If it's the latter, does anyone have a suggestion for a pyt

Re: [Matplotlib-users] netcdf4-python usage, NetCDFFile

2010-10-30 Thread Jeff Whitaker
On 10/30/10 3:41 AM, John wrote: > I've searched through the netcdf4-python trunk, but I find no > reference of NetCDFFile as in how the basemap or Scientific.IO.NetCDF > modules use it. > > For compatibility with my old scripts, is it safe to simply: > > from netCDF4 import Dataset as NetCDFFile