Welcome to iraf.net Thursday, May 02 2024 @ 10:26 AM GMT
Francesca |
07/19/2011 03:31PM (Read 1204 times)
|
|
|
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
|
|
|
|
fitz |
07/19/2011 03:31PM
|
|
|
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.
|
|
|
|
| |
|
Content generated in: 0.07 seconds |
|