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

Home » Public Forums » archive » The astro package and PC IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
The astro package and PC IDL [message #17360] Wed, 06 October 1999 00:00 Go to next message
Susan G. Stewart is currently offline  Susan G. Stewart
Messages: 1
Registered: October 1999
Junior Member
Has anyone had any luck modifying the
astro package of routines for the PC version
of IDL ?

--
Dr. Susan G. Stewart
Astronomical Applications Dept.
U.S. Naval Observatory
http://aa.usno.navy.mil/AA/
Re: The astro package and PC IDL [message #17415 is a reply to message #17360] Mon, 11 October 1999 00:00 Go to previous message
dirk is currently offline  dirk
Messages: 15
Registered: March 1998
Junior Member
In article <37FB9611.5104EAD6@aa.usno.navy.mil>,
Susan G. Stewart <sgs@aa.usno.navy.mil> wrote:
>
> Has anyone had any luck modifying the
> astro package of routines for the PC version
> of IDL ?
>

What do you mean? They're all written in IDL, and since you download the
.pro files, you can edit them in any standard text editor (emacs, pico,
vi).

I'm going to take a wild stab and guess that you've tried this and
modified a program or two, but when you compile it, it still acts like the
old version? If that's the case, then what's likely happening is that you
need to adjust your idl !path variable.

print,!path ;will tell you what directories idl will look in (in order)
;when you tell it to .run foo.pro
;(implicit in this list is that IDL will look in the current
;directory first, and then start down the directories listed
;in !path). If your astro lib directory is in the path
;before your new file, it will compile the old program in the
;astro lib. You can add new directories like this:

!path = '/usr/users/dirk/idl/iuerdaf:' + !path
!path = '/usr/users/dirk/idl/fits:' + !path
!path = '/usr/users/dirk/idl/fuse:' + !path ;reverse priority order
!path = '/usr/users/dirk/idl/dev:' + !path

This adds the new path string to the old path string. You shouls add
directories in the reverse order you want them to be searched. In other
words, IDL will look in my /idl/dev directory first, and then go up the
list hunting for the program foo.pro I'm sure the smarter folks around
here have more elegant and fancy ways of doing this, but this works for
me.

Hope that helps!
- Dirk
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Dump WAVE plot to hardcopy
Next Topic: Reading HDF data using ENVI

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

Current Time: Wed Oct 08 15:12:04 PDT 2025

Total time taken to generate the page: 0.00573 seconds