Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

tedit in nttools

 
Post new topic   Reply to topic    iraf.net Forum Index -> Applications
View previous topic :: View next topic  
Author Message
weistrop



Joined: 06 Apr 2007
Posts: 3

PostPosted: Wed Jul 11, 2012 3:22 am    Post subject: tedit in nttools Reply with quote

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
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3256
Location: Tucson

PostPosted: Wed Jul 11, 2012 7:32 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
weistrop



Joined: 06 Apr 2007
Posts: 3

PostPosted: Wed Jul 11, 2012 10:06 pm    Post subject: tedit in nttools Reply with quote

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 Ang

A typical value of restwave is 3727.00

Thanks, 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
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3256
Location: Tucson

PostPosted: Tue Aug 21, 2012 5:20 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> Applications All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.11 seconds