View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

overwrite mode issue

Guest wrote on Mar 01, 2006

Hello,

I am encountering the following error message:

gm> imcopy smngsdata_1 mngsdata_1[1]
smngsdata_1 -> mngsdata_1[1]
ERROR: FXF: to do this operation you need to specify overwrite mode

I DO want to overwrite the one element of the MEFs file (I am trying to
apply a sign change to the image but imarith can not process MEF
files). How do I change this to allow the overwrite?

Thanks,
John Graham

Post generated using Mail2Forum (http://www.mail2forum.com)

Mike Fitzpatrick wrote on Mar 01, 2006

You would simply specify the 'overwrite' attribute, i.e.

gm> imcopy smngsdata_1 mngsdata_1[1,overwrite]

See the FITS kernel user's guide at http://iraf.net/irafdocs/fits_userguide/ for more information.

-Mike

Last post on Mar 01, 2006