FORTRAN Generation
(/./ftp/cats/J/ApJS/147/103)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJS/147/103 into FORTRAN code for reading data files line by line.

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 2024-Apr-16
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/ApJS/147/103      Radial velocities of overluminous F stars (Griffin+, 2003)
*================================================================================
*The nature of overluminous F stars observed in a radial-velocity survey.
*    Griffin R.F., Suchkov A.A.
*   <Astrophys. J. Suppl. Ser. 147, 103 (2003)>
*   =2003ApJS..147..103G
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Stars Initially Selected from Hipparcos as
                             Possible Binaries

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

      character*11  Name        ! Star name
      integer*4     HR          ! ? HR <V/50> number
      integer*4     HD          ! ? HD <III/135> number
      integer*4     HIP         ! ? HIP <I/239> number
      real*4        Vmag        ! (mag) V magnitude
      real*4        B_V         ! (mag) B-V colour index
      character*10  SpType      ! MK Spectral type
      real*4        v_Fe_H_     ! ([Sun]) Metallicity
      real*4        VMAG_1      ! (mag) Absolute V magnitude
      real*4        DMc0        ! (mag) Brightness-anomaly parameter, {Delta}M_c0_ (4)
      character*4   Rem         ! Remarks about the star (1)
      character*8   Status      ! Binarity status (2)
      real*4        RV          ! (km/s) ? Radial velocity
      character*1   n_RV        ! [:v] ":" uncertainty, v: variable
      real*4        e_RV        ! (km/s) ? rms uncertainty on RV
      real*4        vsini       ! (km/s) ? Rotational velocity (3)
      character*1   u_vsini     ! Uncertainty flag on vsini
      real*4        vsini2      ! (km/s) ? Second value for rotational velocity (3)
      character*1   u_vsini2    ! Uncertainty flag on vsini2
      real*4        Dip         ! (km/s) ? Total area of the dip(s) on radial-velocity
*                                    traces
      character*1   u_Dip       ! Uncertainty flag on Dip
      integer*4     o_RV        ! ? Number of radial-velocity measurements
      character*19  BibCode     ! BibCode of the reference
      character*24  Comment     ! Author's name of the reference or comments
*Note (1): Flags have the following meaning:
*      1 = The star was on R.F. Griffin's observing program before the current
*          survey began.
*      2 = R.F. Griffin had already published the orbit of the star.
*      3 = The star was observed as a part of this survey, but its orbit has
*          already been published in a separate paper.
*      4 = An orbit had already been published by others.
*      5 = Not observed because previous observations by others indicate
*          constant radial velocity.
*      6 = The star was already asserted in the literature to be a binary,
*          but no orbit had been determined.
*Note (2): C (constant) indicates  nondetection of radial-velocity variations
*Note (3): Except where uncertainty is indicated by a colon, the
*     formal errors of rotational velocities are <~1km/s
*Note (4): the brightness anomaly represents the difference in the absolute
*     magnitudes computed from the trigonometric parallaxes and from the
*     Stromgren photometry.

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

C  Loading file 'table1.dat'	! Stars Initially Selected from Hipparcos as
*                             Possible Binaries

C  Format for file interpretation

    1 format(
     +  A11,1X,I4,1X,I6,1X,I6,1X,F4.2,1X,F4.2,1X,A10,1X,F5.2,1X,F4.2,
     +  1X,F4.2,1X,A4,1X,A8,F6.2,A1,1X,F4.2,1X,F4.1,A1,1X,F4.1,A1,1X,
     +  F4.2,A1,1X,I2,1X,A19,1X,A24)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,118
        read(1,'(A159)')ar__
        read(ar__,1)
     +  Name,HR,HD,HIP,Vmag,B_V,SpType,v_Fe_H_,VMAG_1,DMc0,Rem,Status,
     +  RV,n_RV,e_RV,vsini,u_vsini,vsini2,u_vsini2,Dip,u_Dip,o_RV,
     +  BibCode,Comment
        if(ar__(13:16) .EQ. '') HR = iNULL__
        if(ar__(18:23) .EQ. '') HD = iNULL__
        if(ar__(25:30) .EQ. '') HIP = iNULL__
        if(ar__(82:87) .EQ. '') RV = rNULL__
        if(ar__(90:93) .EQ. '') e_RV = rNULL__
        if(ar__(95:98) .EQ. '') vsini = rNULL__
        if(ar__(101:104) .EQ. '') vsini2 = rNULL__
        if(ar__(107:110) .EQ. '') Dip = rNULL__
        if(ar__(113:114) .EQ. '') o_RV = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  Name,HR,HD,HIP,Vmag,B_V,SpType,v_Fe_H_,VMAG_1,DMc0,Rem,Status,
     +  RV,n_RV,e_RV,vsini,u_vsini,vsini2,u_vsini2,Dip,u_Dip,o_RV,
     +  BibCode,Comment
c    .......End.of.Just test output...........
      end do
      close(1)

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