Welcome to iraf.net Monday, May 20 2024 @ 11:11 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 iminsert in script
   
dbrenner
 09/12/2009 05:40PM (Read 1691 times)  
++++-
Regular Member

Status: offline


Registered: 05/05/2006
Posts: 115
You would think at least one of these syntax would work. The program "runs" but produces no output; I can use iminsert from the command line with no problem.procedure preparetofft
begin#iminsert (input1 = "zeros.fits", input2 = "test.fits[1:125,1:125]", output = "prepared.fits", option = "replace", coordfile = "starts/lltour.txt")#iminsert "zeros.fits" "test.fits[1:125,1:125]", "prepared.fits", option = "replace", coordfile = "starts/lltour.txt"#iminsert input1 = "zeros.fits", input2 = "test.fits[1:125,1:125]", output = "prepared.fits", option = "replace", coordfile = "starts/lltour.txt"#iminsert zeros.fits, test.fits[1:125,1:125], prepared.fits, option = replace, coordfile = starts/lltour.txt
#iminsert zeros.fits test.fits[1:125,1:125] prepared.fits replace starts/lltour.txtiminsert zeros.fits test.fits[1:125,1:125] prepared.fits replace "starts/lltour.txt"
end

 
Profile Email
 Quote
valdes
 09/12/2009 05:40PM  
+++++
Active Member

Status: offline


Registered: 11/11/2005
Posts: 728
Hi,The syntax looks ok, assuming any incorrect line wraps are due to posting it. How are you executing it, that is you are declaring it as a task and then calling it by name?I have no experience with the task and it may be that it should have more diagnostic output.I'm sorry I can see anything wrong off-hand.Frank Valdes

 
Profile Email
 Quote
dbrenner
 09/12/2009 05:40PM  
++++-
Regular Member

Status: offline


Registered: 05/05/2006
Posts: 115
I think its failing because I am using Text Edit. I'm trying to switch to xemacs but having trouble installing it.

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