Welcome to iraf.net Saturday, April 20 2024 @ 10:46 AM GMT


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

Status: offline


Registered: 09/30/2005
Posts: 4040
[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.

script:

real rad, rann

unlearn photpars
unlearn fitskypars
cache fitskypars

rad=74.
rann=174.

photpars.apertures=rad
fitskypars.annulus=rann
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
 Quote
fitz
 05/27/2017 03:33AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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
 Quote
   
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

Login