Welcome to iraf.net Friday, May 10 2024 @ 04:24 PM GMT
morrisonss |
01/24/2011 04:48PM (Read 2048 times)
|
|
|
Status: offline
Registered: 09/18/2009
Posts: 12
|
I have written a .cl script that I am using for photometry and data processing. I have the two lines of code near the end. When I run the code, the first one (daofind) runs, but the second one (phot) does not run. I tried commenting out daofind, and when I do that it tires to run phot, which does not work because the coords file does not exist. Does anyone have a clue as to why this would happen?
daofind HDcomb.fits output="HDcomb.imh.coo"
phot HDcomb.fits coords="HDcomb.imh.coo" output="HDcomb.mag"
|
|
|
|
fitz |
01/24/2011 04:48PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
If this is a .cl file of commands you execute by indirection rather than a procedure script, then its likely the problem is that with this method ALL input is taken from the script file. If the daophot.verify package parameter is set then you may be getting extra prompts that are being answered by your phot command in the script file.You can try turning off this parameter, or else turn the .cl into a procedure script and execute it as a task.
|
|
|
|
| |
|
Content generated in: 0.08 seconds |
|