Welcome to iraf.net Monday, December 18 2017 @ 02:26 PM GMT

 Forum Index > Help Desk > General IRAF New Topic Post Reply
 problem with script
 05/27/2017 03:21AM (Read 505 times)  

Status: offline

Registered: 09/30/2005
Posts: 3989
[b][Moderator's Note: forwarded from story submission[/b]

I am having problems with a script that reduces to the following simple script to change some parameters in photpars and fitskypars and run digiphot.apphot.phot. When I run this, photpars.apertures is changed to rad but nothing I do (yet) changes parameters in fitskypars. The unlearn, cache, and update lines make no difference. I'd appreciate suggestions on how to change fitskypars.annulus within the script. Thank you.


real rad, rann

unlearn photpars
unlearn fitskypars
cache fitskypars


update fitskypars

phot ("test.fits",
"", coords="test.list", output="test.phot", plotfile="", datapars="",
centerpars="", fitskypars="", interactive=no, radplots=no,
verify=no, update=no, verbose=no, graphics="stdgraph", display="stdimage",
icommands="", gcommands="")

Profile Email
 05/27/2017 03:33AM  

Status: offline

Registered: 09/30/2005
Posts: 3989
I'm not able to reproduce the problem, using either redirection to run it or with a procedure script. How are you running the task? Is it possible there is some confusion in whether you're using the FITSKYPARS from APPHOT or DAOPHOT, i.e. does it help if you explicitly load the package? Do you see any messages about "unable to open parameter file" ? If so, this usually means that either you don't have a uparm directory, or don't have permission to write to it. Lastly, what verison of IRAF and platform is this?

Profile Email
Content generated in: 0.10 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