IDL 6.3 read_binary ?? [message #59105] |
Wed, 05 March 2008 02:22  |
kerninger
Messages: 6 Registered: March 2008
|
Junior Member |
|
|
Hello,
I have a problem with the read_binary function in IDL version 6.3.
When I call the following line it gives me a syntax error during
compilation.
array=read_binary(fname,
data_dims=[mx,my,mz],data_type=4,endian='little)
When I do the same in IDL version 5.6 there it works.
Does anybody know a solution?
Best regards,
kerninger
|
|
|
Re: IDL 6.3 read_binary ?? [message #59199 is a reply to message #59105] |
Fri, 07 March 2008 01:09  |
Spon
Messages: 178 Registered: September 2007
|
Senior Member |
|
|
On Mar 7, 3:31 am, Craig Markwardt
<craigm...@REMOVEcow.physics.wisc.edu> wrote:
> Surely this was a path problem?
>
> Craig
That's what my money's on. Is anyone volunteering to hack into
kerninger's Computing Center and extract the !PATH from every machine
in there? ;-)
Still hopeful of a further update from OP...
Chris
|
|
|
Re: IDL 6.3 read_binary ?? [message #59207 is a reply to message #59105] |
Thu, 06 March 2008 19:31  |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
kerninger@gmx.de writes:
> I just want to say that the problem is really due to the system I try
> to use this code. An other system of the same Computing Center is able
> to compile and run the code.
> So, thank you very much for your contribution.
> Now we can close this discussion ;)
>
> kerninger
Surely this was a path problem? You would get a syntax error if
READ_BINARY was missing from your path, so IDL would try to interpret
it as an array instead of a function.
Craig
|
|
|
Re: IDL 6.3 read_binary ?? [message #59212 is a reply to message #59105] |
Thu, 06 March 2008 11:23  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
kerninger@gmx.de writes:
> I just want to say that the problem is really due to the system I try
> to use this code. An other system of the same Computing Center is able
> to compile and run the code.
> So, thank you very much for your contribution.
> Now we can close this discussion ;)
Discussions that end with magical, and unbelievable,
results always leave me unsatisfied. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: IDL 6.3 read_binary ?? [message #59213 is a reply to message #59105] |
Thu, 06 March 2008 10:44  |
Vince Hradil
Messages: 574 Registered: December 1999
|
Senior Member |
|
|
On Mar 6, 12:33 pm, kernin...@gmx.de wrote:
> I just want to say that the problem is really due to the system I try
> to use this code. An other system of the same Computing Center is able
> to compile and run the code.
> So, thank you very much for your contribution.
> Now we can close this discussion ;)
>
> kerninger
I think it would still be nice to know why. Maybe it just the
scientist in me. At least maybe you could share the system
information?
|
|
|