View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

owfit write permission

bruzzone wrote on Feb 20, 2009

Hello, I'm trying to convert iraf type images (.imh) to fits using
owfit, in order to open those file with other display application.
I'm receiving the following error:
warning: no write permission on file(String_file)
Error writing file: my_image.
I have all permission granted over files and folders and also the
imdir directory is properly defined(the directory where I'm right now with all this images).
Any suggestion is welcome.
best regards.
sebastian

Mike Fitzpatrick wrote on Feb 20, 2009

This was a well-known Y2K error, and I'm guessing since the OWFITS task was put in the OBSOLETE package in 1997 it was just never updated with the proper Y2K fix. The exact cause is an overflow caused when creating a date string and one workaround is simply to reset the system date to pre-2000 to run the task.

Is there some reason the regular WFITS task won't work for you?

-Mike

Last post on Feb 20, 2009