Re: Mind Boggling Problem with Map_Proj_Init [message #72715] |
Fri, 01 October 2010 11:36  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Paolo writes:
> Also very useful from the solarsoft library
> is "which.pro"
>
> ftp://sohoftp.nascom.nasa.gov/solarsoft/gen/idl/help/which.p ro
>
> IDL>which,'mrdfits',/all
> [...]/ssw/gen/idl/fits/mrdfits.pro
> [...]/ssw/gen/idl_libs/astron/fits/mrdfits.pro
>
>
> This program will print the paths to *all* the
> programs named mrdfits.pro (for very popular
> programs I sometimes get 3 or 4 hits).
> Then you just have to figure which of the 3 ones
> you really really want to use (oten they are identical,
> sometimes not).
Yes, this is *extremely* common on UNIX machines, in
particular. I don't know why. It's not uncommon, when
I am tracking a problem for someone, to find 4-5 versions
of the Coyote Library on someone's IDL path.
We should have a seminar on how to set up an IDL
path and get updates when they are available! :-)
Mark Piper, how about it? This would be an excellent
topic for one of your excellent hour-long seminars!
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.")
|
|
|
Re: Mind Boggling Problem with Map_Proj_Init [message #72716 is a reply to message #72715] |
Fri, 01 October 2010 11:25   |
pgrigis
Messages: 436 Registered: September 2007
|
Senior Member |
|
|
[skip]
>
> You can find out which Map_Continents you are using
> by typing one or the other (or all!) of these IDL
> commands:
>
> IDL> Print, File_Which('map_continents.pro')
Also very useful from the solarsoft library
is "which.pro"
ftp://sohoftp.nascom.nasa.gov/solarsoft/gen/idl/help/which.p ro
IDL>which,'mrdfits',/all
[...]/ssw/gen/idl/fits/mrdfits.pro
[...]/ssw/gen/idl_libs/astron/fits/mrdfits.pro
This program will print the paths to *all* the
programs named mrdfits.pro (for very popular
programs I sometimes get 3 or 4 hits).
Then you just have to figure which of the 3 ones
you really really want to use (oten they are identical,
sometimes not).
Ciao,
Paolo
>
> IDL> .compile map_continents
> IDL> Help, /Source
>
> It should be the one that lives in an IDL lib directory!
>
> C:\Program Files\ITT\IDL\IDL80\lib\map_continents.pro
>
> 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.")
|
|
|
Re: Mind Boggling Problem with Map_Proj_Init [message #72809 is a reply to message #72715] |
Mon, 04 October 2010 13:55  |
Mark Piper
Messages: 198 Registered: December 2009
|
Senior Member |
|
|
On Oct 1, 12:36 pm, David Fanning <n...@dfanning.com> wrote:
> We should have a seminar on how to set up an IDL
> path and get updates when they are available! :-)
>
> Mark Piper, how about it? This would be an excellent
> topic for one of your excellent hour-long seminars!
Check! It's now on the list. This would help me, too, because I've
been confused by the many different ways to set path, as well as the
precedence of these different ways. Maybe we could discuss what
particular topics should go into this webinar?
mp
|
|
|