Welcome to iraf.net Thursday, March 28 2024 @ 01:56 PM GMT
Buglog #284
- Wednesday, March 22 1995 @ 02:56 PM GMT
- Contributed by: admin
- Views: 924
MODULE: photcal.mknobsfile,photcal.mkobsfile
SYSTEM: V2.10
SYSTEM: V2.10
NUMBER: 284 MODULE: photcal.mknobsfile,photcal.mkobsfile SYSTEM: V2.10 DATE: Wed Mar 22 07:56:37 MST 1995 FROM: davis BUG: A very serious problem has been found in the iraf 2.10.3 and digiphotx mknobsfile/mkobsfile scripts. Running mknobsfile/mkobsfile on files written by the allstar/nstar tasks (but not the phot task) may corrupt the input files. This is definitely not problem for mknobsfile/mkobsfile in 2.10.2 and earlier version of iraf or for digiphotx linked with versions 1.2.1 and earlier of the tables package. The problem crept in when the tables package was modified to support text tables. The error check in mknobsfile/mkobsfile previously used to detect whether an input file was a text file or binary table began to fail for allstar/nstar files. The code thought the text file was a binary table, opened it as such, and attempted to edit it. Although the code was smart enough to detect that the proper columns etc were not present and did not do any actual editing, simply opening and closing the file as a table in READ_WRITE mode caused to file to be rewritten and its format corrupted. STATUS: This problem has been fixed for the next release of iraf and in the forth-coming 2.10.3 patch as well as in the ftp archive version of digiphotx. If you are running later versions of tables there is no workaround except installing the patch and/or the new version of digiphotx. We have confirmed that there is a problem running mknobsfile/mkobsfile with tables 1.3.2 and 1.3.3 and that there was definitely not a problem with tables 1.2.1 and earlier but are not certain of the status of intermediate versions.
The following comments are owned by whomever posted them. This site is not responsible for what they say.