Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

.cl issues with phot

 
Post new topic   Reply to topic    iraf.net Forum Index -> Systems
View previous topic :: View next topic  
Author Message
morrisonss



Joined: 18 Sep 2009
Posts: 9

PostPosted: Mon Jan 24, 2011 4:48 pm    Post subject: .cl issues with phot Reply with quote

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"
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3255
Location: Tucson

PostPosted: Mon Jan 24, 2011 9:46 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> Systems All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.08 seconds