[daip] Re: TBIN

Eric Greisen egreisen at cv3.cv.nrao.edu
Mon Jan 20 10:50:38 EST 2003


Yoshiaki Hagiwara writes:

 > Thanks for your reply on TBIN. I cannot still read the ascii table file
 > with TBIN.
 > Once you read the table with TBIN, will you re-produce the CC table file
 > with TBOUT and send it to me?
 > TBIN might recognize the unvisible table format of my CC table. This
 > could be solved by reading a newly created CC table file with TBOUT.
 > 
   I attach the TBOUT output but there is no significant difference
other than the number of rows is set to 9 rather than the erroneous 1
in your file and the formats are cleaner.  The data contained within
the file are still not meaningful and cannot be correct.

XTENSION= 'TABLE   '           / extension type
BITPIX  =                    8 / printable ASCII codes
NAXIS   =                    2 / Table is a matrix
NAXIS1  =                   80 / Max. no. of characters/pass
NAXIS2  =                    9 / Number of entries in table
PCOUNT  =                    0 / Random parameter count
GCOUNT  =                    1 / Group count
NOPASS  =                    2 / Number of passes thru table
TFIELDS =                    7 / Number of fields in each row
EXTNAME = 'AIPS CC '           / AIPS table file
EXTVER  =                    5 / Version Number of table
TBCOL1  =                    9 / Starting char. pos. of field
TFORM1  = 'E15.6   '           / Fortran format of field  1
TFDIM1  =                    1 / Dimension of field  1
TTYPE1  = 'FLUX                    '           / type (heading) of field  1
TUNIT1  = 'JY      '           / physical units of field  1
TBCOL2  =                   24 / Starting char. pos. of field
TFORM2  = 'E15.6   '           / Fortran format of field  2
TFDIM2  =                    1 / Dimension of field  2
TTYPE2  = 'DELTAX                  '           / type (heading) of field  2
TUNIT2  = 'DEGREES '           / physical units of field  2
TBCOL3  =                   39 / Starting char. pos. of field
TFORM3  = 'E15.6   '           / Fortran format of field  3
TFDIM3  =                    1 / Dimension of field  3
TTYPE3  = 'DELTAY                  '           / type (heading) of field  3
TUNIT3  = 'DEGREES '           / physical units of field  3
TBCOL4  =                   54 / Starting char. pos. of field
TFORM4  = 'E15.6   '           / Fortran format of field  4
TFDIM4  =                    1 / Dimension of field  4
TTYPE4  = 'MAJOR AX                '           / type (heading) of field  4
TUNIT4  = 'DEGREES '           / physical units of field  4
TBCOL5  =                 1009 / Starting char. pos. of field
TFORM5  = 'E15.6   '           / Fortran format of field  5
TFDIM5  =                    1 / Dimension of field  5
TTYPE5  = 'MINOR AX                '           / type (heading) of field  5
TUNIT5  = 'DEGREES '           / physical units of field  5
TBCOL6  =                 1024 / Starting char. pos. of field
TFORM6  = 'E15.6   '           / Fortran format of field  6
TFDIM6  =                    1 / Dimension of field  6
TTYPE6  = 'POSANGLE                '           / type (heading) of field  6
TUNIT6  = 'DEGREES '           / physical units of field  6
TBCOL7  =                 1039 / Starting char. pos. of field
TFORM7  = 'E15.6   '           / Fortran format of field  7
TFDIM7  =                    1 / Dimension of field  7
TTYPE7  = 'TYPE OBJ                '           / type (heading) of field  7
TUNIT7  = 'CODE    '           / physical units of field  7
ISORTORD =                -257
HISTORY TBOUT  /CC table version  5 of INNAME='Test imagr  .ICL002.   1'
HISTORY TBOUT  / copied to the text file MYAREA:TBOUT.problem
HISTORY TBOUT  / 20-JAN-2003 08:45:10
END
COL. NO.      1              2              3              4
     ROW   FLUX           DELTAX         DELTAY         MAJOR AX
  NUMBER   JY             DEGREES        DEGREES        DEGREES
***BEGIN*PASS***
       1   5.000000E-07   2.000000E+00   0.000000E+00   1.400000E-06
       2   5.000000E-07   3.000000E-07   1.100000E-06   1.200000E-06
       3   4.000000E-07   6.000000E-07   1.800000E-06   1.300000E-06
       4   6.000000E-07  -5.000000E-07   1.700000E-06   1.200000E-06
       5   4.000000E-07  -1.500000E-06   1.500000E-06   1.000000E-09
       6   4.000000E-07  -2.600000E-06   2.000000E-06   1.200000E-06
       7   4.000000E-07  -2.500000E-06   2.500000E-06   1.400000E-06
       8   4.000000E-07  -3.200000E-06   2.700000E-06   1.000000E-06
       9   4.000000E-07  -3.300000E-06   3.000000E-06   1.600000E-06
***END*PASS***
COL. NO.      5              6              7
     ROW   MINOR AX       POSANGLE       TYPE OBJ
  NUMBER   DEGREES        DEGREES        CODE
***BEGIN*PASS***
       1   1.000000E-08   4.000000E+01   1.000000E+00
       2   1.000000E-08   1.300000E+02   1.000000E+00
       3   1.000000E-09   9.000000E+01   1.000000E+00
       4   1.000000E-08   8.000000E+01   1.000000E+00
       5   1.000000E-09   5.000000E+01   1.000000E+00
       6   1.000000E-08   3.000000E+01   1.000000E+00
       7   1.000000E-08  -5.000000E+01   1.000000E+00
       8   1.000000E-08  -6.000000E+01   1.000000E+00
       9   1.000000E-08  -5.000000E+01   1.000000E+00
***END*PASS***

 >  
 > >      I have tried the text file you have supplied and it works
 > > perfectly well in TBIN when I run it with only one exception.  TBIN
 > > reported a warning that the file states that there is one CC row and
 > > it actually reads 9 - but all 9 are read with no error.  That warning
 > > comes from the line
 > > 
 > >  > NAXIS2  =                    1 / Number of entries in table
 > > 
 > > Are you sure that the file you have sent us is the exact one you were
 > > using?  If the END card were missing or blanks inserted some places
 > > then the program would become confused and think it is still reading
 > > header information even when it is now into the data.
 > > 
 > > This is very peculiar CC data with fluxes of 0.5 microJy, major axes of
 > > milliarcsec and minor axes 1/100 of the major axis.  The first
 > > position is 2, 0 degrees, the others are milliarcsec.
 > > 
 > > Eric Greisen
 > 
Eric Greisen




More information about the Daip mailing list