FORTRAN Generation
(/./ftp/cats/J/AJ/163/180)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/163/180 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 2026-Oct-15
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/AJ/163/180   RVel and BV photometry of 9 {gamma} Doradus stars  (Henry+, 2022)
*================================================================================
*Nine Bright {gamma}Doradus Variables Discovered with Ground-based Photometry
*    Henry G.W., Fekel F.C., Williamson M.H.
*   <Astron. J., 163, 180 (2022)>
*   =2022AJ....163..180H
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Basic properties of the {gamma}Dor stars

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

      integer*4     HD          ! Star HD name
      integer*4     HIP         ! HIP star identifier
      character*3   Comp        ! Component
      real*4        Vmag        ! (mag) [7.14/11.2] V-band magnitude (1)
      real*4        B_V         ! (mag) [0.29/0.62] B-V color (1)
      real*8        plx         ! (mas) [8.21/13]? Gaia DR2 parallax
      real*4        e_plx       ! (mas) [0.04/0.2]? Error on plx
      real*4        VMAG_1      ! (mag) [2.39/3.04]? V-band absolute magnitude (2)
      character*2   SpT         ! Spectral class
      character*8   Class       ! Luminosity class
      integer*4     vsini       ! (km/s) [3/125]? Rotational velocity
      character*3   Bin         ! Signle lined (SB1) or double lined (SB2)
*Note (1): Single star values and combined values of binary components
*    are from the Tycho-2 catalog converted to the Johnson system. For the
*    individual binary components see the text.
*Note (2): Computed from the V magnitude and the Gaia parallax.

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

C  Declarations for 'table3.dat'	! Radial velocity observations of HD 34415

      integer*4 nr__1
      parameter (nr__1=50)	! Number of records
      character*57 ar__1  	! Full-size record

      real*8        HJD         ! (d) [46820/59307] Heliocentric Julian date, HJD-2400000
      real*4        Phase       ! [0.006/0.76] Fractional phase
      real*4        RVelA       ! (km/s) [30.3/39.3] Observed primary radial velocity
      real*4        O_CA        ! (km/s) [-2.2/2.2] Primary velocity residual (1)
      real*4        WA          ! [0/0.4] Weight of the primary radial velocity
      real*4        RVelB       ! (km/s) [26.6/40.8]? Observed secondary radial velocity
      real*4        O_CB        ! (km/s) [-1.7/1.4]? Secondary velocity residual (1)
      real*4        WB          ! [1]? Weight of secondary radial velocity
      character*4   Source      ! Observatory source (2)
*Note (1): observed-calculated.
*Note (2): Sources as follows:
*    CfA = Center for Astrophysics
*   KPNO = Kitt Peak National Observatory
*     FO = Fairborn Observatory

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

C  Declarations for 'table5.dat'	! Radial velocity observations of HD 144839

      integer*4 nr__2
      parameter (nr__2=81)	! Number of records
      character*39 ar__2  	! Full-size record

      real*8        HJD_1       ! (d) [54585/59349] Heliocentric Julian date, HJD-2400000
      real*4        Phase_1     ! [0.01/1] Fractional Phase
      real*4        RVel        ! (km/s) [-37.7/-22.1] Observed Radial Velocity
      real*4        O_C         ! (km/s) [-2.8/4.8] Velocity residual, observed-calculated
      real*4        Weight      ! [0.3/1] Weight of Radial Velocity
      character*4   Source_1    ! Observatory source (1)
*Note (1): Observatories as follows:
*   KPNO = Kitt Peak National Observatory
*     FO = Fairborn Observatory

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

C  Declarations for 'table7.dat'	! Radial velocity observations of HD 182735

      integer*4 nr__3
      parameter (nr__3=151)	! Number of records
      character*59 ar__3  	! Full-size record

      real*8        HJD_2       ! (d) [54367/59372] Heliocentric Julian date, HJD-2400000
      real*4        Phase_2     ! [0.001/1] Fractional phase
      real*4        RVelA_1     ! (km/s) [-34.5/-8.3] Observed primary radial velocity
      real*4        O_CA_1      ! (km/s) [-4.7/6.2] Primary velocity residual (1)
      real*4        WA_1        ! [0.06] Weight of primary radial velocity
      real*4        RVelB_1     ! (km/s) [-35.6/-1.8] Observed secondary radial velocity
      real*4        O_CB_1      ! (km/s) [-1.2/1.1] Secondary velocity residual (1)
      real*4        WB_1        ! [1] Weight of secondary radial velocity
      character*4   Source_2    ! Observatory source (2)
*Note (1): observed-calculated.
*Note (2): Sources as follows:
*   KPNO = Kitt Peak National Observatory
*     FO = Fairborn Observatory

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

C  Declarations for 'table10.dat'	! Individual photometric observations of 9 new
                              {gamma}Dor Stars

      integer*4 nr__4
      parameter (nr__4=2527)	! Number of records
      character*45 ar__4  	! Full-size record

      integer*4     HD_1        ! Star name
      real*8        HJD_3       ! (d) [54071/54649] Heliocentric Julian Date, HJD-2400000
      real*4        VarB        ! (mag) [-0.49/0.68]? Variable-Comparison differential mag
*                             in B
      real*4        VarV        ! (mag) [-0.46/1.5]? Variable-Comparison differential mag
*                             in V
      real*4        ChkB        ! (mag) [-2.57/-0.11]? Check-Comparison differential mag
*                             in B
      real*4        ChkV        ! (mag) [-2.45/-0.01]? Check-Comparison differential mag
*                             in V

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

C  Loading file 'table1.dat'	! Basic properties of the {gamma}Dor stars

C  Format for file interpretation

    1 format(
     +  I6,1X,I6,1X,A3,1X,F5.2,1X,F4.2,1X,F7.4,1X,F6.4,1X,F4.2,1X,A2,
     +  1X,A8,1X,I3,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,13
        read(1,'(A68)')ar__
        read(ar__,1)
     +  HD,HIP,Comp,Vmag,B_V,plx,e_plx,VMAG_1,SpT,Class,vsini,Bin
        if(ar__(30:36) .EQ. '') plx = rNULL__
        if(ar__(38:43) .EQ. '') e_plx = rNULL__
        if(ar__(45:48) .EQ. '') VMAG_1 = rNULL__
        if(ar__(62:64) .EQ. '') vsini = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  HD,HIP,Comp,Vmag,B_V,plx,e_plx,VMAG_1,SpT,Class,vsini,Bin
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Radial velocity observations of HD 34415

C  Format for file interpretation

    2 format(
     +  F10.3,2X,F5.3,2X,F4.1,2X,F4.1,2X,F3.1,2X,F4.1,2X,F4.1,2X,F3.1,
     +  2X,A4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,50
        read(1,'(A57)')ar__1
        read(ar__1,2)HJD,Phase,RVelA,O_CA,WA,RVelB,O_CB,WB,Source
        if(ar__1(37:40) .EQ. '') RVelB = rNULL__
        if(ar__1(43:46) .EQ. '') O_CB = rNULL__
        if(ar__1(49:51) .EQ. '') WB = rNULL__
c    ..............Just test output...........
        write(6,2)HJD,Phase,RVelA,O_CA,WA,RVelB,O_CB,WB,Source
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5.dat'	! Radial velocity observations of HD 144839

C  Format for file interpretation

    3 format(F10.3,1X,F5.3,2X,F5.1,2X,F4.1,2X,F3.1,1X,A4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,81
        read(1,'(A39)')ar__2
        read(ar__2,3)HJD_1,Phase_1,RVel,O_C,Weight,Source_1
c    ..............Just test output...........
        write(6,3)HJD_1,Phase_1,RVel,O_C,Weight,Source_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table7.dat'	! Radial velocity observations of HD 182735

C  Format for file interpretation

    4 format(
     +  F10.3,1X,F5.3,2X,F5.1,2X,F4.1,2X,F4.2,2X,F5.1,2X,F4.1,2X,F3.1,
     +  2X,A4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table7.dat')
      write(6,*) '....Loading file: table7.dat'
      do i__=1,151
        read(1,'(A59)')ar__3
        read(ar__3,4)
     +  HJD_2,Phase_2,RVelA_1,O_CA_1,WA_1,RVelB_1,O_CB_1,WB_1,Source_2
c    ..............Just test output...........
        write(6,4)
     +  HJD_2,Phase_2,RVelA_1,O_CA_1,WA_1,RVelB_1,O_CB_1,WB_1,Source_2
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table10.dat'	! Individual photometric observations of 9 new
*                              {gamma}Dor Stars

C  Format for file interpretation

    5 format(I6,1X,F10.4,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table10.dat')
      write(6,*) '....Loading file: table10.dat'
      do i__=1,2527
        read(1,'(A45)')ar__4
        read(ar__4,5)HD_1,HJD_3,VarB,VarV,ChkB,ChkV
        if(ar__4(19:24) .EQ. '') VarB = rNULL__
        if(ar__4(26:31) .EQ. '') VarV = rNULL__
        if(ar__4(33:38) .EQ. '') ChkB = rNULL__
        if(ar__4(40:45) .EQ. '') ChkV = rNULL__
c    ..............Just test output...........
        write(6,5)HD_1,HJD_3,VarB,VarV,ChkB,ChkV
c    .......End.of.Just test output...........
      end do
      close(1)

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