FORTRAN Generation
(/./ftp/cats/J/ApJ/516/693)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/516/693 into FORTRAN code for loading all data files into arrays.

Note that special values are assigned to unknown or unspecified numbers (also called NULL numbers); when necessary, the coordinate components making up the right ascension and declination are converted into floating-point numbers representing these angles in degrees.



      program load_ReadMe
C=============================================================================
C  F77-compliant program generated by readme2f_1.81 (2015-09-23), on 2026-Oct-06
C=============================================================================
*  This code was generated from the ReadMe file documenting a catalogue
*  according to the "Standard for Documentation of Astronomical Catalogues"
*  currently in use by the Astronomical Data Centers (CDS, ADC, A&A)
*  (see full documentation at URL http://vizier.u-strasbg.fr/doc/catstd.htx)
*  Please report problems or questions to   
C=============================================================================

      implicit none
*  Unspecified or NULL values, generally corresponding to blank columns,
*  are assigned one of the following special values:
*     rNULL__    for unknown or NULL floating-point values
*     iNULL__    for unknown or NULL   integer      values
      real*4     rNULL__
      integer*4  iNULL__
      parameter  (rNULL__=--2147483648.)  	! NULL real number
      parameter  (iNULL__=(-2147483647-1))	! NULL int  number
      integer    idig			! testing NULL number

C=============================================================================
Cat. J/ApJ/516/693   Mass-to-light ratio of binary galaxies     (Honma, 1999)
*================================================================================
*The mass-to-light ratio of binary galaxies
*    Honma M.
*   <Astrophys. J. 516, 693 (1999)>
*   =1999ApJ...516..693H
C=============================================================================

C  Internal variables

      integer*4 i__

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table1.dat'	! Data for 57 pairs in the sample

      integer*4 nr__
      parameter (nr__=114)	! Number of records
      character*96 ar__   	! Full-size record

C  Position composed of: GLON GLAT
      character*16  Name       (nr__) ! Galaxy Name
      character*16  Pair       (nr__) ! The galaxy paired with Name
      real*8        GLON       (nr__) ! (deg) Galactic longitude
      real*8        GLAT       (nr__) ! (deg) Galactic latitude
      integer*4     Vel        (nr__) ! (km/s) Redshift velocity
      integer*4     e_Vel      (nr__) ! (km/s) Uncertainty in Vel
      character*4   MType      (nr__) ! Galactic morphological type
      real*4        Bmag       (nr__) ! (mag) B band magnitude
      real*4        LCSep      (nr__) ! (kpc) Luminosity-corrected separation
      real*4        LCVel      (nr__) ! (km/s) Luminosity-corrected velocity difference
      real*8        M_L        (nr__) ! (Sun) Mass to light ratio

C=============================================================================

C  Loading file 'table1.dat'	! Data for 57 pairs in the sample

C  Format for file interpretation

    1 format(
     +  A16,2X,A16,2X,F9.5,1X,F9.5,1X,I4,1X,I3,1X,A4,1X,F4.1,1X,F5.1,
     +  2X,F5.1,1X,F7.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,114
        read(1,'(A96)')ar__
        read(ar__,1)
     +  Name(i__),Pair(i__),GLON(i__),GLAT(i__),Vel(i__),e_Vel(i__),
     +  MType(i__),Bmag(i__),LCSep(i__),LCVel(i__),M_L(i__)
c    ..............Just test output...........
        write(6,1)
     +  Name(i__),Pair(i__),GLON(i__),GLAT(i__),Vel(i__),e_Vel(i__),
     +  MType(i__),Bmag(i__),LCSep(i__),LCVel(i__),M_L(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================
      stop
      end