Hello,
I have a package with a distutils script. This script calls
numpy.get_include(), in order to get numpy's header files location.
But the function seems to have a side effect by silently patching
distutils. Some classes and functions of standard library distutils
are replaced by numpy's ones.
Oops!
> a) Don't know; the last releases of pycdf and pyhdf are from February 2001
pycdf is from 2006, of course. Sorry!
Chris.
___
Numpy-discussion mailing list
Numpy-dis
On Fri, February 9, 2007 22:28, Christopher Barker wrote:
>> Andre Gosselin (the guy who wrote pycdf) also wrote an interface to HDF4
>> (not 5) named pyhdf.
>
> Is he still maintaining these packages? Have you submitted the patches
> to him?
a) Don't know; the last releases of pycdf and pyhdf are
Hi, I want to get the mean over an array with 3 dimensions. The array
has, say, dimensions 2x3x4 and I want the result to be 3x4; so the
averaging is to be done over the 1st dimension. Also, there are some
fill values, and I want these to be excluded from the calculation. I
know I can use the m
> Andre Gosselin (the guy who wrote pycdf) also wrote an interface to HDF4
> (not 5) named pyhdf.
Is he still maintaining these packages? Have you submitted the patches
to him?
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-
Christian Marquardt wrote:
>As we are at it,
>
>Andre Gosselin (the guy who wrote pycdf) also wrote an interface to HDF4
>(not 5) named pyhdf. I'm using that with numpy as well (patch attached),
>but I haven't tested it much - little more than just running the examples,
>really (which appear to be
As we are at it,
Andre Gosselin (the guy who wrote pycdf) also wrote an interface to HDF4
(not 5) named pyhdf. I'm using that with numpy as well (patch attached),
but I haven't tested it much - little more than just running the examples,
really (which appear to be ok). Maybe it's useful...
In pyh
Dear list,
attached is a patch for the original pycdf-0.6.2-rc1 distribution as
available through sourceforge - and a little shell script illustrating
how to install it. After applyng the patch, it should be configured for
numpy. Note that the "installation" script uses an environment variable
PRE
+1 for Whitaker's package.
The new location of the package is:
http://code.google.com/p/netcdf4-python/
I use netcdf for everything I do, and so I checked out all of the
packages in detail. All follow a similar API, although there are
very minor differences that will catch you if you are
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
Daran Rife schrieb:
> Yep, I was referring to: http://pysclint.sourceforge.net/pycdf/
>
> Regarding the issue of deciding which netCDF interface to adopt
> as the "standard", although it is unlikely we'll ever get consensus
> on this, I have tried several of the netCDF interfaces, including
> the o
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/svn/trunk/docs/netCDF4-module.htm
Yep, I was referring to: http://pysclint.sourceforge.net/pycdf/
Regarding the issue of deciding which netCDF interface to adopt
as the "standard", although it is unlikely we'll ever get consensus
on this, I have tried several of the netCDF interfaces, including
the one in Scientific, and have foun
I believe the person most qualified to answer that question would be
Mary Haley, (haley at ucar.edu).
On Feb 9, 2007, at 10:33 AM, Christopher Barker wrote:
> Has anyone done a review of these to see where effort would best be
> put
> into upgrading?
** Bill Spotz
Otto Tronarp wrote:
> Hi,
>
> I have a problem with numarray.argmax, the following code
>
> import numarray as N
> import sys
> c = N.zeros((10, ), N.Float64)
> while 1:
> print 'B: ', sys.getrefcount(None)
> l = N.argmax(c)
> print 'A: ', sys.getrefcount(None)
> print
>
> Dies
hmmm, this page from unidata:
http://www.unidata.ucar.edu/software/netcdf/software.html#Python
Indicates 4-6 different Python netcfd interfaces!
Has anyone done a review of these to see where effort would best be put
into upgrading?
I've used Konrad Hinsen's package a little bit with success,
Your question has been answered, but I think a few comments are in order:
1) Read this, everyone new to Python should:
http://python.net/crew/mwh/hacks/objectthink.html
2) > The only object in python with this behavior are the numeric object
(Numeric, numarray or numpy)
Not the case (see the abo
Travis Oliphant wrote:
> Is pycdf the same as pynetcdf? Where is it located?
I presume it's this one:
http://pysclint.sourceforge.net/pycdf/
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpre
Christian <[EMAIL PROTECTED]> writes:
> Hi,
>
> when creating an ndarray from a list, how can I force the result to be
> 2d *and* a column vector? So in case I pass a nested list, there will be no
> modification of the shape and when I pass a simple list, it will be
> converted to a 2d column ve
Hi,
I have a problem with numarray.argmax, the following code
import numarray as N
import sys
c = N.zeros((10, ), N.Float64)
while 1:
print 'B: ', sys.getrefcount(None)
l = N.argmax(c)
print 'A: ', sys.getrefcount(None)
print
Dies with:
Fatal Python error: deallocating None
A
Daran L. Rife wrote:
>Hi Travis,
>
>If you're still offering NumPy "patches" to third party
>packages that rely upon Numeric, I would really like for
>pycdf to be ported to NumPy. This would allow me to
>completely transition to NumPy.
>
>Thanks very much for considering my request.
>
>
Is pycd
Hi Travis,
If you're still offering NumPy "patches" to third party
packages that rely upon Numeric, I would really like for
pycdf to be ported to NumPy. This would allow me to
completely transition to NumPy.
Thanks very much for considering my request.
Daran Rife
__
22 matches
Mail list logo