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

2011-10-08 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 "exa

[Numpy-discussion] Non-rectangular neighborhoods

2011-10-08 Thread T J
While reading the documentation for the neighborhood iterator, it seems that it can only handle rectangular neighborhoods. Have I understood this correctly? If it is possible to do non-rectangular regions, could someone post an example/sketch of how to do this? ___

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

2011-10-08 Thread Benjamin Root
On Saturday, October 8, 2011, Kiko wrote: > Quoting 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

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

2011-10-08 Thread Kiko
Quoting 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

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 : > Dear all, > > I want to change some v

[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 difficult