Re: how to convert the date into julian date [message #80926 is a reply to message #80901] |
Mon, 23 July 2012 06:35   |
ben.bighair
Messages: 221 Registered: April 2007
|
Senior Member |
|
|
On Monday, July 23, 2012 6:55:21 AM UTC-4, Bandrush Barda wrote:
> Hello everyone?
>
> I'd like to ask really simple question. I just want to make sure that all images that will be used further are required to be the same path as IDL or not. My IDL program is on C disk. I have saved all my files on D disk and then changed the IDL path into D disk where the my files are.
> why I'm asking this question is: when i try to read an image (7 bands, floating-point data, stored in tiff format, located in D disk) using import image file tool in IDL, there is an error saying 'Error opening the file: unit:100. file...(here file path)'.
> So what does it mean? Is this error related to the file path?
>
> Thanks in advance.
Hi,
It isn't possible to tell what is happening from what you have described. I suggest that you do a couple of things.
1. test that the file really exists by using
IDL> ok = FILE_TEST('theNameOfYourFileWithCompletePathIncludingDriveLe tter')
IDL> print,ok
2. check the read permissions on the file. I can't recall how to do that on windows, but within IDL you can use something like
IDL > info = FILE_INFO('theNameOfYourFileWithCompletePathIncludingDriveLe tter')
IDL > help, info,/str
3. if those don't help you resolve the issue, then the next thing is to paste the entire unedited error message you see into your next message to the group.
Cheers,
Ben
|
|
|