[daip] TABGET does not do double precision gets

Eric Greisen egreisen at nrao.edu
Fri Mar 17 11:38:09 EST 2006


Ed Fomalont writes:
 > Try using TABGET on the SU file for RAEPO.   Only the most significant 
 > part of keyvalue is written.   Hence, the precision is lost.
 > 
 > For AIPS NEW and AIPS OLD, TABGET works properly
 > 
 > _______________________________________________
 > Daip mailing list
 > Daip at listmgr.cv.nrao.edu
 > http://listmgr.cv.nrao.edu/mailman/listinfo/daip

It appears to work for me when compiled with the GNU compiler

>pixxy 1,11,1
>outpu tabget
AIPS 1: TABGET:  Verb to return specified table entry
AIPS 1: Adverbs     Values                 Comments
AIPS 1: ----------------------------------------------------------------
AIPS 1: KEYVALUE     -1           0        Value of a numeric parm. =
AIPS 1:                                    KEYVALUE(1) + KEYVALUE(2).
AIPS 1: KEYSTRNG   ' '                     Value of a character-valued
AIPS 1:                                    parameter.
>tabget
>outpu tabget
AIPS 1: TABGET:  Verb to return specified table entry
AIPS 1: Adverbs     Values                 Comments
AIPS 1: ----------------------------------------------------------------
AIPS 1: KEYVALUE    188.4057   3.540E-06   Value of a numeric parm. =
AIPS 1:                                    KEYVALUE(1) + KEYVALUE(2).
AIPS 1: KEYSTRNG   ' '                     Value of a character-valued
AIPS 1:                                    parameter.
>pixxy 2,11,1
>tabget
>outpu tabget
AIPS 1: TABGET:  Verb to return specified table entry
AIPS 1: Adverbs     Values                 Comments
AIPS 1: ----------------------------------------------------------------
AIPS 1: KEYVALUE    202.0663   4.785E-06   Value of a numeric parm. =
AIPS 1:                                    KEYVALUE(1) + KEYVALUE(2).
AIPS 1: KEYSTRNG   ' '                     Value of a character-valued
AIPS 1:                                    parameter.

But it does not work when compiled with the Intel compiler (which you
guys just started using).

The Intel compiler has done this to us before - switching to R*4
prematurely.  This may affect all sorts of things in AIPS - this is
not the only place we do this conversion.

Eric Greisen




More information about the Daip mailing list