I learned a little more about my problem. It has to do with fits images written by IDL. I've copied one of these images into my local directory so that I'm the owner. But I still get the same error message:
ERROR: No write permission on file (String_File)
If I use head to look at the header:
SIMPLE = T / Written by IDL: Fri Sep 24 13:23:12 2010
BITPIX = -32 / Number of bits per data pixel
NAXIS = 4 / Number of data axes
NAXIS1 = 12001 /
NAXIS2 = 6 /
NAXIS3 = 128 /
NAXIS4 = 128 /
EXTEND = T / FITS data may contain extensions
DATE = '2010-09-24' / Creation UTC (CCCC-MM-DD) date of FITS header
COMMENT FITS (Flexible Image Transport System) format is defined in 'Astronomy
COMMENT and Astrophysics', volume 376, page 359; bibcode 2001A&A...376..359H
I have tried a couple of different images and the common thing is that they were written with IDL.
Yes, you are correct about the file size. IDL is apparently writing out some fraction of a 2880-byte record at the end. The older IRAF was tolerant of this 'idiosyncrasy' while the new one is not. I work with a number of IDL users and need to be able to pass images back and forth. And particularly when the file size is too big for the 32-bit limit, I don't currently have any alternatives. Is there some workaround for this? I can complain about the IDL fits writer, but my understanding is that this is a long-standing problem. I guess that I could write an SPP program to rewrite the files with the correct length.
The problem is yet another bug in the FITS kernel: It assumes the DATE keyword is given in the ISO form 'yyyy-mm-ddThh:mm:ss.s", but in your image only the date is given. The time is set to INDEF and when used in a calculation, overflows the value. The message is coming from a routine trying to format the string internally. This is fixed in the upcoming v2.15 release, for now you need to edit the DATE keyword to use the ISO format.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum