READU problems in IDL 4.0.1 for Windows [message #5536] |
Mon, 15 January 1996 00:00  |
tmh8
Messages: 4 Registered: July 1994
|
Junior Member |
|
|
I have been experiencing very odd flaky performance with the READU
routine in certain circumstances. I use a Fortran program to generate binary
format files readable by the IDL routine READU. For all files I create, I am
also able to read them as format binary back into a Fortran program.
However, in certain situations which do not appear to follow any pattern, the
IDL routine READU will not be able to fully read some of these binary
formatted files; it comes back with an error message saying "end of file
encountered". Does this ring a bell with anyone? Is this a known IDL
problem, and does anyone have a workaround?
Thanks. RSVP by e-mail unless you think the answer may be of general
interest.
Tom Hamill
Atmospheric Sciences, Cornell University
tmh8@cornell.edu
|
|
|
Re: READU problems in IDL 4.0.1 for Windows [message #5607 is a reply to message #5536] |
Mon, 22 January 1996 00:00  |
dean
Messages: 55 Registered: March 1993
|
Member |
|
|
That's funny. Using 4.0.1 for Windows (running under Windows95) I got:
IDL> readu,1,test,/binary
% Keyword BINARY not allowed in call to: READU
% Execution halted at: $MAIN$
What's up? Just a WinNT thing?
OOPS! My mistake. Winodws NT uses the same executable as Win95. Try:
OpenR, lun, filename, /binary, /GET_LUN
readu,1,test,
Kelly Dean
|
|
|
Re: READU problems in IDL 4.0.1 for Windows [message #5610 is a reply to message #5536] |
Sun, 21 January 1996 00:00  |
Jackel
Messages: 30 Registered: April 1993
|
Member |
|
|
In article <4dq3ag$2m4m@yuma.ACNS.ColoState.EDU> dean@phobos.cira.colostate.edu writes:
> ReadU under IDL 4.0.1 has a new keyword called /binary. I had problems
> with binary files created by FORTRAN programs that worked fine in IDL 3.6,
> but under 4.0 it would fail. After I added the /binary keyword to my
> ReadU command line in 4.0, I was able to read the binary image with IDL
> on my Window NT machine.
That's funny. Using 4.0.1 for Windows (running under Windows95) I got:
IDL> readu,1,test,/binary
% Keyword BINARY not allowed in call to: READU
% Execution halted at: $MAIN$
What's up? Just a WinNT thing?
Brian Jackel
UWO
|
|
|
Re: READU problems in IDL 4.0.1 for Windows [message #5616 is a reply to message #5536] |
Sat, 20 January 1996 00:00  |
dean
Messages: 55 Registered: March 1993
|
Member |
|
|
ReadU under IDL 4.0.1 has a new keyword called /binary. I had problems
with binary files created by FORTRAN programs that worked fine in IDL 3.6,
but under 4.0 it would fail. After I added the /binary keyword to my
ReadU command line in 4.0, I was able to read the binary image with IDL
on my Window NT machine.
Kelly Dean
CSU/CIRA
|
|
|