comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Bug in the Read_Interfile?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Bug in the Read_Interfile? [message #15668] Tue, 01 June 1999 00:00
lsyrkin is currently offline  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.
[Message index]
 
Read Message
Previous Topic: Re: newsgroup archive
Next Topic: IDL projection Transformation

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 07:02:09 PDT 2025

Total time taken to generate the page: 1.52479 seconds