Re: [Numpy-discussion] why Segmentation fault (core dumped)?

2012-05-26 Thread Jeff Whitaker
On 5/26/12 5:51 AM, Chao YUE wrote: Dear all, Previously I am able to run a script on our server but now it gave me a Segmentation fault (core dumped) error. try I tried the script with same type of netcdf file but with much smaller file size and it works. So I think the error is related with

Re: [Numpy-discussion] C++ Example

2012-03-04 Thread Jeff Whitaker
On 3/4/12 3:18 PM, Luis Pedro Coelho wrote: On Saturday, March 03, 2012 04:38:53 PM David Cournapeau wrote: I don't think the code is comparable either - some of the stuff done in the C code is done in the C++ code your are calling. The C code could be significantly improved. Actually, that's

Re: [Numpy-discussion] Copy netcdf attributes between different files

2011-11-14 Thread Jeff Whitaker
On 11/14/11 10:04 AM, Giovanni Plantageneto wrote: Hi everybody, I am using netCDF4 library to read and write from netcdf files. I would like to copy all the attributes of one file to another one, in a way like this: --- from netCDF4 import Dataset as ncdf file1 = ncdf('file1.nc',

Re: [Numpy-discussion] ragged array implimentation

2011-03-07 Thread Jeff Whitaker
On 3/7/11 10:28 AM, Christopher Barker wrote: Hi folks, I'm setting out to write some code to access and work with ragged arrays stored in netcdf files. It dawned on me that ragged arrays are not all that uncommon, so I'm wondering if any of you have any code you've developed that I could

Re: [Numpy-discussion] ragged array implimentation

2011-03-07 Thread Jeff Whitaker
numpy array, with a way to index into it. Also, that would allow you to do some math with the arrays, if the broad casting made sense, anyway. But now that you've entered the conversation, does HDF and/or pytables have a standard way of dealing with this? On 3/7/11 9:37 AM, Jeff Whitaker wrote

Re: [Numpy-discussion] Data file format choice.

2009-01-30 Thread Jeff Whitaker
Gary Pajer wrote: It's time for me to select a data format. My data are (more or less) spectra ( a couple of thousand samples), six channels, each channel running around 10 Hz, collecting for a minute or so. Plus all the settings on the instrument. I don't see any significant differences

Re: [Numpy-discussion] Having trouble installing Numpy on OS X

2009-01-24 Thread Jeff Whitaker
Nat Wilson wrote: Would anyone be willing to help me interpret an error while trying to build and install Numpy? I've searched around, and haven't seen this elsewhere. I've been running into this wall for about half the day now. I've tried reinstalling Python, using numpy 1.2.0 and