tiltpars (fortran executable in iraf)
ebubar wrote on Sep 14, 2010
I wonder if anyone can help with this. I am reducing some MIKE echelle spectra using the mike_tools packages. I've reached the point where I am correcting for the tilt of the slit using a fortran program called tiltpars. It is compliled and I have linked to it using:
task tiltpars=location/./tilpars
This gives me an error:
ERROR: task 'tiltpars' has no param file
I assume I need to link somehow so that IRAF knows its a fortran executable, not an IRAF package. Any insight?
task tiltpars=location/./tilpars
This gives me an error:
ERROR: task 'tiltpars' has no param file
I assume I need to link somehow so that IRAF knows its a fortran executable, not an IRAF package. Any insight?
ebubar wrote on Sep 14, 2010
If anyone else runs into this, I seem to have fixed the problem. I needed to first include the path to my tiltpars executable in my .bashrc:
In my case:
PATH=$PATH:/Applications/scisoft/all/Packages/iraf/mike_tools/iraf/:$PATH
I also added an alias to my executable:
alias tiltpars='/Applications/scisoft/all/Packages/iraf/mike_tools/iraf/./tiltpars'
Finally, I loaded this into IRAF using the $foreign option...
task $tiltpars=$foreign
which I believe tells IRAF that the command tiltpars isn't an IRAF script.
In my case:
PATH=$PATH:/Applications/scisoft/all/Packages/iraf/mike_tools/iraf/:$PATH
I also added an alias to my executable:
alias tiltpars='/Applications/scisoft/all/Packages/iraf/mike_tools/iraf/./tiltpars'
Finally, I loaded this into IRAF using the $foreign option...
task $tiltpars=$foreign
which I believe tells IRAF that the command tiltpars isn't an IRAF script.
Last post on Sep 14, 2010