Re: [Numpy-discussion] what python module to modify NetCDF data?

2011-10-09 Thread Chris Barker
On 10/8/11 7:45 AM, Chao YUE wrote: I want to change some variable values in a series of NetCDF file. Did anybody else did this before using python? I like the netcdf4 package -- very powerful and a pretty nice numpy-compatible API: http://code.google.com/p/netcdf4-python/ Check out the

Re: [Numpy-discussion] what python module to modify NetCDF data?

2011-10-09 Thread Konrad Hinsen
On 8 oct. 11, at 17:57, Vicente Sole wrote: I have never seen myself a NetCDF file but if your NetCDF file is using HDF5 as format (possible since NetCDF 4 if I am not mistaken), you should be able to use h5py or PyTables to access and or modify it. I haven't tried this, but I don't think

Re: [Numpy-discussion] what python module to modify NetCDF data?

2011-10-09 Thread Chao YUE
Thanks for all for very useful discussions. I am just on the beginning of modeling and for now I only use netCDF4 data. I think it might be a good idea to try netcdf4-pythonhttp://code.google.com/p/netcdf4-python/first. I think whitaker will continue to develop this package. But it gave me a good

[Numpy-discussion] what python module to modify NetCDF data?

2011-10-08 Thread Chao YUE
Dear all, I want to change some variable values in a series of NetCDF file. Did anybody else did this before using python? Now I use pupynere for reading data from NetCDF files and making plots. but the document of pupynere for writing data to NetCDF file is quite simple and I still feel

Re: [Numpy-discussion] what python module to modify NetCDF data?

2011-10-08 Thread Vicente Sole
Hi, I have never seen myself a NetCDF file but if your NetCDF file is using HDF5 as format (possible since NetCDF 4 if I am not mistaken), you should be able to use h5py or PyTables to access and or modify it. Best regards, Armando Quoting Chao YUE chaoyue...@gmail.com: Dear all, I

Re: [Numpy-discussion] what python module to modify NetCDF data?

2011-10-08 Thread Kiko
Quoting Chao YUE chaoyue...@gmail.com: Dear all, I want to change some variable values in a series of NetCDF file. Did anybody else did this before using python? Now I use pupynere for reading data from NetCDF files and making plots. but the document of pupynere for writing data to

Re: [Numpy-discussion] what python module to modify NetCDF data?

2011-10-08 Thread Benjamin Root
On Saturday, October 8, 2011, Kiko kikocorre...@gmail.com wrote: Quoting Chao YUE chaoyue...@gmail.com: Dear all, I want to change some variable values in a series of NetCDF file. Did anybody else did this before using python? Now I use pupynere for reading data from NetCDF files and