Welcome to iraf.net Thursday, May 02 2024 @ 10:26 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 problems running loop_driz
   
Francesca
 07/19/2011 03:31PM (Read 1204 times)  
++---
Junior

Status: offline


Registered: 06/01/2010
Posts: 15
Dear user support,I am trying to run the loop_driz task on non-HST images.
I get the following error:ERROR: Attempt to access undefined local variable `gcount'. "if (gcount == 4) {"
line 184: dither$loop_driz.cl
called as: `loop_driz (input=@img_C2.list, output=bla.fits, masks=@mask_C2.list, shiftfile=shifts.C2.txt, shifttask=shiftfind, verbose=yes)' Can you help me with this problem?many thanks,Francesca

 
Profile Email
 Quote
fitz
 07/19/2011 03:31PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The 'gcount' keyword is probably missing from your image. This is read from the header and scanned into a script variable, but if it doesn't exist you'll typically see the 'undefined local variable' message.Since these are non-HST images you should use HEDIT to add the gcount keyword with a value other than 4.

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