Welcome to iraf.net Friday, May 10 2024 @ 04:24 PM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 .cl issues with phot
   
morrisonss
 01/24/2011 04:48PM (Read 2048 times)  
+----
Newbie

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"

 
Profile Email
 Quote
fitz
 01/24/2011 04:48PM  
AAAAA
Admin

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.

 
Profile Email
 Quote
   
Content generated in: 0.08 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login