IDL and ENVI run on NTFS compressed drive [message #42544] |
Fri, 11 February 2005 03:22 |
W. Eremeev
Messages: 3 Registered: February 2005
|
Junior Member |
|
|
Hi all
I have found some problems with running IDL/ENVI 4.0 on NTFS drive
having attribute Compressed.
The problem was in ENVI_GLT_DOIT procedure.
This procedure did not work properly.
Normally it run two passes, but in my case it finished with error after
the first pass.
The procedure was run with parameter out_name='70_glt', making it to
create file named '70_glt'.
During first pass it created temporary file 70_glt-bsq.
I could see this file with file manager.
Then it gave the error:
Error: "OPENR: Error opening file. Unit: 101, File: 70_glt-bsq"
The result may be invalid.
And finished.
The file 70_glt-bsq disappeared.
The procedure call was made from IDL script.
I have found, that if I map a drive letter to the disk of another
computer, copy file with the script to some directory on that drive and
run it, it runs successfully and creates files on the drive of another
computer.
The only difference between two drives is the presence of 'Compressed'
attribute.
Removal of the 'Compressed' attribute from the working directory did
not solve the problem.
Summary: ENVI_GLT_DOIT incorrectly works with its own temporary files
on NTFS drives with compression. Some piece of its code removes the
file too early.
Have anyone dealt anything with this issue?
I have tried to remove/install Service Pack 4 - it didn't help.
Sorry for the long message :)
|
|
|