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,

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] Reading a big netcdf file

2011-08-04 Thread Jeff Whitaker
On 8/4/11 4:46 AM, Kiko wrote: Hi, all. Thank you very much for your replies. I am obtaining some issues. If I use netcdf4-python or scipy.io.netcdf libraries: In [4]: import netCDF4 as n4 In [5]: from scipy.io import netcdf as nS In [6]: import numpy as np In [7]: gebco4 =

Re: [Numpy-discussion] ragged array implimentation

2011-03-07 Thread Jeff Whitaker
e conversation, does HDF and/or pytables > have a standard way of dealing with this? > > On 3/7/11 9:37 AM, Jeff Whitaker wrote: >> Chris: The netcdf4-python modules reads netcdf vlen arrays > arethose a netcdf4 feature? Chris: Yes, although I don't think many people are

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 cou

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 differ

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 an

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 an

Re: [Numpy-discussion] Request for porting pycdf to NumPy

2007-02-09 Thread Jeff Whitaker
Eric Firing wrote: > I have been using Jeff Whitaker's netcdf4 interface with good results. > > I could not find the web page for it on a NOAA site--I think NOAA is > reorganizing--but a search turned it up here. Maybe Jeff can provide > a better link. > > http://netcdf4-python.googlecode.com/sv

Re: [Numpy-discussion] custom accumlators

2007-01-05 Thread Jeff Whitaker
Matt Knox wrote: > I made a post about this a while ago on the scipy-user mailing list, but I > didn't receive much of a response so I'm just throwing it out there again > (with more detail) in case it got overlooked. > > Basically, I'd like to be able to do accumulate operations with custom > f

Re: [Numpy-discussion] numpy install on mac os x 10.4

2006-12-31 Thread Jeff Whitaker
Christopher Barker wrote: > Erin Sheldon wrote: > >> You can do this quite simply with fink >> > > I've generally stayed away form fink, as it felt like kind of a separate > system within OS-X, rather than integrated -- kind of like cygwin. > > In particular, if you use Fink Python, can y

Re: [Numpy-discussion] numpy install on mac os x 10.4

2006-12-31 Thread Jeff Whitaker
Erin Sheldon wrote: > Hi All - > > You can do this quite simply with fink if you have > the patience to wait for the compilations to finish. > This works on my ppc mac with > XCode and fink installed (12/31/2006): > > fink install scipy-py24 > sudo apt-get install gettext-dev=0.10.40-25 gettex