Bug in the Read_Interfile? [message #15668] |
Tue, 01 June 1999 00:00 |
lsyrkin
Messages: 9 Registered: May 1999
|
Junior Member |
|
|
Hi IDL experts,
I am using the Read_Interfile routine for reading interfiles in 2
formats - with separate and common header.
It works fine if the header and data are in separate files. But for one
file it returns an error if the file's name is in lower case :
IDL> read_interfile,'/export/home/rsi/idl_5.2/myfiles/edson_fl.hd r',
image
% OPENR: Error opening file:
/export/home/rsi/idl_5.2/myfiles/EDSON_FL.HDR.
No such file or directory
% Execution halted at: INTER_READDATA 401
/usr/local/rsi/idl_5.2/lib/read_interfile.pro
% READ_INTERFILE 440
/usr/local/rsi/idl_5.2/lib/read_interfile.pro
% $MAIN$
It looks like Read_Interfile changes file name to upper case and then
cannot find it.
I am running IDL 5.2 on SUN SPARC but interfiles are coming from
different sources and can have their names in lower, upper and mixed
cases.
Does anybody have the same problem and any good solution except renaming
files to upper case?
I'll appreciate any help.
Thanks in advance,
Leonid Syrkin
Programmer/Analyst
Brigham and Women's Hospital, Dana Farber Cancer Institute
Joint Program in Nuclear Medicine
Harvard Medical School
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
|
|
|