Re: [Numpy-discussion] Weird problem with subtracting ndarrays

2013-06-12 Thread josef . pktd
Date: Wed, 12 Jun 2013 15:30:22 -0400 >> From: Warren Weckesser >> Subject: Re: [Numpy-discussion] weird problem with subtracting >> ndarrays >> To: Discussion of Numerical Python >> Message-ID: >> >> Content-Type: text/plain; char

Re: [Numpy-discussion] Weird problem with subtracting ndarrays

2013-06-12 Thread Moroney, Catherine M (398D)
like that? Catherine On Jun 12, 2013, at 12:25 PM, wrote: > Message: 9 > Date: Wed, 12 Jun 2013 15:30:22 -0400 > From: Warren Weckesser > Subject: Re: [Numpy-discussion] weird problem with subtracting > ndarrays > To: Discussion of Numerical Python > Message-ID: &g

[Numpy-discussion] weird problem with subtracting ndarrays

2013-06-12 Thread Moroney, Catherine M (398D)
Hello, I've got two arrays of the same shape that I read in from a file, and I'm trying to difference them. Very simple stuff, but I'm getting weird answers. Here is the code: >>> counts1 = hfile1.read_grid_field("CFbA", >>> "TerrainReferencedRCCMFraction_Num") >>> counts2 = hfile2.read_grid_

Re: [Numpy-discussion] weird problem with subtracting ndarrays

2013-06-12 Thread josef . pktd
On Wed, Jun 12, 2013 at 3:25 PM, Moroney, Catherine M (398D) wrote: > Hello, > > I've got two arrays of the same shape that I read in from a file, and I'm > trying to > difference them. Very simple stuff, but I'm getting weird answers. > > Here is the code: > counts1 = hfile1.read_grid_fiel

Re: [Numpy-discussion] weird problem with subtracting ndarrays

2013-06-12 Thread Warren Weckesser
On Wed, Jun 12, 2013 at 3:25 PM, Moroney, Catherine M (398D) < catherine.m.moro...@jpl.nasa.gov> wrote: > Hello, > > I've got two arrays of the same shape that I read in from a file, and I'm > trying to > difference them. Very simple stuff, but I'm getting weird answers. > > Here is the code: > >