Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: Longstandin...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 11 of 12 Topic 5534 of 6454
Post > Topic >>

Re: Longstanding Map Overlay Problem Solved!

by David Fanning <news@[EMAIL PROTECTED] > Mar 16, 2008 at 10:56 AM

Bulrush writes:

> I changed the path. Now I can compile it, however, It said can not
> open the tif file.
> READ_TIFF: C:\Do***ents 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/
Se****e ma de ni thui. ("Perhaps thou speakest truth.")
 




 12 Posts in Topic:
Longstanding Map Overlay Problem Solved!
David Fanning <news@[E  2008-03-14 15:00:20 
Re: Longstanding Map Overlay Problem Solved!
Bulrush <Wasit.Weather  2008-03-15 19:37:11 
Re: Longstanding Map Overlay Problem Solved!
David Fanning <news@[E  2008-03-15 20:42:13 
Re: Longstanding Map Overlay Problem Solved!
David Fanning <news@[E  2008-03-15 20:46:06 
Re: Longstanding Map Overlay Problem Solved!
Bulrush <Wasit.Weather  2008-03-15 21:03:58 
Re: Longstanding Map Overlay Problem Solved!
Bulrush <Wasit.Weather  2008-03-15 22:09:17 
Re: Longstanding Map Overlay Problem Solved!
David Fanning <news@[E  2008-03-15 23:38:55 
Re: Longstanding Map Overlay Problem Solved!
Bulrush <Wasit.Weather  2008-03-16 07:39:59 
Re: Longstanding Map Overlay Problem Solved!
David Fanning <news@[E  2008-03-16 08:54:49 
Re: Longstanding Map Overlay Problem Solved!
Bulrush <Wasit.Weather  2008-03-16 08:40:17 
Re: Longstanding Map Overlay Problem Solved!
David Fanning <news@[E  2008-03-16 10:56:37 
Re: Longstanding Map Overlay Problem Solved!
Bulrush <Wasit.Weather  2008-03-16 10:33:30 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 14:27:46 CST 2008.