Welcome to iraf.net Thursday, March 28 2024 @ 02:58 PM GMT
Buglog #455
- Thursday, December 16 1999 @ 06:46 PM GMT
- Contributed by: admin
- Views: 1,307
MODULE: mscrfits
SYSTEM: MSCRED up to V3.2.3: December 10, 1999
SYSTEM: MSCRED up to V3.2.3: December 10, 1999
NUMBER: 455 MODULE: mscrfits SYSTEM: MSCRED up to V3.2.3: December 10, 1999 DATE: Thu Dec 16 11:46:48 MST 1999 FROM: valdes BUG: If the original file names include a '.' other than that for the '.fits' extension it is correctly stored by MSCWFITS. However, reading the tape with MSCRFITS either to list the contents or to restore the original file names will cause the part of the file name following the last '.' to be stripped. Therefore the FITS tape files are correct but restoring or listing them by their disk file names when the tape was written will fail. For example, suppose the file name is 'n1.abc.def.fits'. Then when it is written to tape the FILENAME keyword will contain 'n1.abc.def'. Reading this tape file to list or restore the original name will consider the original file name to be 'n1.abc'. This bug is caused by stripping the extension (anything after the last '.' including the period) both when the file is written (a correct and useful behavior) and then when reading the stored FILENAME keyword (the incorrect behavior). The workarounds are 1) don't use '.' in the original file names, 2) read the files to disk without restoring the original file names and then use the FILENAME keyword in the primary header to identify the original file name and restore the name. There is no workaround for getting a listing of the tape contents with the correct full original name other than using the fixed version. STATUS: Fixed for the next release.
The following comments are owned by whomever posted them. This site is not responsible for what they say.