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

Home » Public Forums » archive » Longstanding Map Overlay Problem Solved!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Longstanding Map Overlay Problem Solved! [message #59314 is a reply to message #59231] Sun, 16 March 2008 09:56 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Bulrush writes:

> I changed the path. Now I can compile it, however, It said can not
> open the tif file.
> READ_TIFF: C:\Documents and Settings\Zulher\AF03sep15b.n16-VIg: Cannot
> open

OK, the program needs to know where the file is located.
You can either modify the program to include the complete
file path to the image file (wherever you put it), or
you can put the file in the directory where you are running
the program. (Sounds to me like you are running the program
from some other directory than the one it resides in.)

The easiest thing, if you have put all these files into
the same place, is to just make sure that is the place
you are running IDL from. Suppose you put all these files
in C:\Coyote (a good place). And you have added this
directory to your IDL path:

IDL> !PATH = 'C:\coyote;' + !PATH

Then, you need to make this your current directory:

IDL> CD, 'C:\coyote'

Now, if all your files are here, and your data file is
here, you can run this program. :-)

You can find your current directory in IDL, by doing
this:

IDL> CD, CURRENT=thisDir & Print, thisDir

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: index arrays of structures
Next Topic: Interactive Image Locations and Values

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

Current Time: Sun Oct 12 06:15:08 PDT 2025

Total time taken to generate the page: 0.40290 seconds