Welcome to iraf.net Saturday, May 11 2024 @ 11:01 AM GMT
weistrop |
07/11/2012 03:22AM (Read 2594 times)
|
|
|
Status: offline
Registered: 04/06/2007
Posts: 7
|
I'm running iraf 2.15.1a on a 64 bit MacBook Pro and trying to use tedit in the nttools package. When I try to add a column using the add column command in tedit, I can then type numerical values into the new column. However, when I exit tedit and then try to tread or tedit the table again, I get an error message - 'arithmetic exception', and cannot open the table. (Can't use tdump to dump it either).Any thought?. Also, if I need to install patches, could you please point me to directions on how to do this. I've never installed iraf or patches myself.Thanks, Donna Weistrop
|
|
|
|
fitz |
07/11/2012 03:22AM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Can you give me a more specific example of the column you're trying to add, e.g. what datatype, what values, etc. I tried a quick test under v2.16 and didn't have a problem. I can't remember this specifically being fixed but it may be part of general 64-bit fixes.In general, updates to v2.15 require installing new binaries and a source patch. In v2.16 this is simplified to simply typing "make latest" in the iraf root directory, but upgrading from v2.15 to v2.16 requires a new installation. If you have the 'macosx' binaries installed for v2.15 you may find that these provide a workaround if you set IRAFARCH=macosx before logging in.
|
|
|
|
weistrop |
07/11/2012 03:22AM
|
|
|
Status: offline
Registered: 04/06/2007
Posts: 7
|
I've listed below part of a text dump of the table I'm trying to add a column to, as well as the .cd file in case this helps. I'm trying to add a numeric column called restwave, datatype R, format f10.2, units AngA typical value of restwave is 3727.00Thanks, Donna W.data file:
209.212 3749.562 2.367000E-17 2.921000E-16 -12.34
209.212 4987.903 2.251000E-17 4.514000E-17 -2.004
209.212 5035.991 2.139000E-17 9.727000E-17 -4.549
209.212 5576.823 1.814000E-17 7.236000E-17 -3.99
209.212 6583.869 1.393000E-17 1.760000E-17 -1.263
209.212 6600.071 1.415000E-17 2.102000E-16 -14.86
209.212 6620.329 1.442000E-17 4.853000E-17 -3.366
209.212 6754.684 1.428000E-17 5.792000E-17 -4.057
209.212 6769.094 1.434000E-17 5.393000E-17 -3.762
213.214 3748.884 2.643000E-17 6.192000E-16 -23.43
213.214 4889.526 2.004000E-17 8.091000E-17 -4.037
213.214 4987.84 2.434000E-17 1.089000E-16 -4.479
213.214 5035.413 2.461000E-17 1.428000E-16 -5.799
213.214 6582.478 1.642000E-17 2.738000E-17 -1.668
213.214 6600.11 1.639000E-17 4.233000E-16 -25.83
213.214 6620.904 1.636000E-17 1.078000E-16 -6.593
213.214 6754.153 1.651000E-17 1.388000E-16 -8.407
213.214 6768.292 1.629000E-17 9.921000E-17 -6.089
215.216 3749.895 2.442000E-17 9.076000E-16 -37.17
cd file:
linesum R %8.3f pix
linecen R %8.2f Ang.
Cont R %10.3e ""
flux R %10.3e ""
eqw R %6.3f A
|
|
|
|
fitz |
07/11/2012 03:22AM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Hi Donna,Sorry for the delayed reply. I can reproduce your problem using either .tab or .fits tables on the most recent IRAF, ascii tables seem to work fine. I'll let you know here when this is fixed, but the workaround for the moment is to install the TABLES package and use those 32-bit binaries to create/edit the table.-Mike
|
|
|
|
| |
|
Content generated in: 0.14 seconds |
|