Re: addendum to 'JyVisAD on Windows' (fwd)

for the record...

---------- Forwarded message ----------
Date: Thu, 20 Jun 2002 16:27:09 -0400
From: Frank Gibbons <fgibbons@xxxxxxxxxxxxxxx>
To: Tom Whittaker <tomw@xxxxxxxxxxxxx>
Subject: Re: addendum to 'JyVisAD on Windows'

Tom,

Thanks for the tip about editing Curtis's batch file. I added the
appropriate paths there,  and all is well. I'm running my script under
Windows. This is great!

As for your addendum, I'm doing

from Numeric import *

and everything works fine.

Thanks again,

Frank

At 04:16 PM 6/20/2002, you wrote:
>FYI,
>
>In our FBF code, there is just:
>
>import Numeric
>
>and then the usual kinds of references, for example:
>
>    cook = Numeric.array( struct.unpack( fmt, data ) )
>    if (nrex>1):
>        ret = Numeric.reshape( cook, (int(nrex),) + inp.gnipuorg )
>    else:
>        ret = Numeric.reshape( cook, inp.gnipuorg )
>
>tom
>
>
>On Thu, 20 Jun 2002, Frank
>Gibbons wrote:
>
> > I'm sorry, in my last message I should have included the details of the
> > error message I'm getting from the Jython Script Editor for JNumeric:
> >
> > Traceback (innermost last):
> >    File "L:\cvs\MassSpec\src\parse.py", line 10, in ?
> > ImportError: no module named Numeric
> >
> >
> > The module is called Numeric from within Jython (as in ' from Numeric
> > import *'). It's generally called JNumeric in everyday speech, to
> > distinguish it from the equivalent module in Python, which is often called
> > CNumeric for the same reason. The jar file is called 'Numeric.jar', and is
> > located in C:\VisADJython, where graph.py & friends also live.
> >
> > If it makes a difference, I should mention that drive L is in fact a Samba
> > image of a Linux RAID configuration, though I'm running the Script Editor
> > from my desktop Windows 2000 machine.
> >
> > -Frank
> >
> > PhD, Computational Biologist,
> > Harvard Medical School BCMP/SGM-322, 250 Longwood Ave, Boston MA 02115,
> USA.
> > Tel: 617-432-3555       Fax:
> > 617-432-3557       http://llama.med.harvard.edu/~fgibbons
> >
> >
>
>--
>Tom Whittaker
>University of Wisconsin-Madison
>Space Science and Engineering Center
>Cooperative Institute for Meteorological Satellite Studies
>Telephone/VoiceMail:  608.262.2759

PhD, Computational Biologist,
Harvard Medical School BCMP/SGM-322, 250 Longwood Ave, Boston MA 02115, USA.
Tel: 617-432-3555       Fax:
617-432-3557       http://llama.med.harvard.edu/~fgibbons