FORTRAN Generation
(/./ftp/cats/J/MNRAS/430/2018)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/430/2018 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-20
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/MNRAS/430/2018   6 bright Galactic Cepheids data           (Szabados+, 2013)
*================================================================================
*Discovery of the spectroscopic binary nature of six southern Cepheids.
*    Szabados L., Derekas A., Kiss L.L., Kovacs J., Anderson R.I., Kiss CS.,
*    Szalai T., Szekely P., Christiansen J.L.
*   <Mon. Not. R. Astron. Soc., 430, 2018-2028 (2013)>
*   =2013MNRAS.430.2018S    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Basic data of the programme stars and the
                                 number of spectra

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

      character*8   Star        ! Star name
      real*4        v_Vmag_     ! (mag) Mean V magnitude
      real*8        Per         ! (d) Period
      character*14  Mode        ! Mode of pulsation
      character*5   Nobs        ! Number of observations
      character*11  FileName1   ! Name of the table with radial velocities
*                                 from SSO spectrum
      character*10  FileName2   ! Name of the table with CORALIE radial velocities

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

C  Declarations for 'table3.dat'	! New RV values of GH Carinae from the SSO spectra

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

      real*8        HJD         ! (d) Heliocentric Julian date (HJD-2400000)
      real*4        RV          ! (km/s) Radial velocity

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

C  Declarations for 'table4.dat'	! New CORALIE velocities of GH Carinae

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

      real*8        HJD_1       ! (d) Heliocentric Julian date (HJD-2400000)
      real*4        RV_1        ! (km/s) Radial velocity

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

C  Declarations for 'table6.dat'	! New RV values of V419 Centauri from the SSO spectra

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

      real*8        HJD_2       ! (d) Heliocentric Julian date (HJD-2400000)
      real*4        RV_2        ! (km/s) Radial velocity

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

C  Declarations for 'table9.dat'	! New RV values of V898 Centauri from the SSO spectra

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

      real*8        HJD_3       ! (d) Heliocentric Julian date (HJD-2400000)
      real*4        RV_3        ! (km/s) Radial velocity

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

C  Declarations for 'table13.dat'	! New RV values of AD Puppis from the SSO spectra

      integer*4 nr__5
      parameter (nr__5=33)	! Number of records
      character*16 ar__5  	! Full-size record

      real*8        HJD_4       ! (d) Heliocentric Julian date (HJD-2400000)
      real*4        RV_4        ! (km/s) Radial velocity

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

C  Declarations for 'table15.dat'	! New RV values of AY Sagittarii from the SSO spectra

      integer*4 nr__6
      parameter (nr__6=22)	! Number of records
      character*16 ar__6  	! Full-size record

      real*8        HJD_5       ! (d) Heliocentric Julian date (HJD-2400000)
      real*4        RV_5        ! (km/s) Radial velocity

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

C  Declarations for 'table17.dat'	! New RV values of ST Velorum from the SSO spectra

      integer*4 nr__7
      parameter (nr__7=27)	! Number of records
      character*16 ar__7  	! Full-size record

      real*8        HJD_6       ! (d) Heliocentric Julian date (HJD-2400000)
      real*4        RV_6        ! (km/s) Radial velocity

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

C  Loading file 'table1.dat'	! Basic data of the programme stars and the
*                                 number of spectra

C  Format for file interpretation

    1 format(A8,1X,F5.2,1X,F9.6,1X,A14,2X,A5,1X,A11,1X,A10)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,6
        read(1,'(A69)')ar__
        read(ar__,1)Star,v_Vmag_,Per,Mode,Nobs,FileName1,FileName2
c    ..............Just test output...........
        write(6,1)Star,v_Vmag_,Per,Mode,Nobs,FileName1,FileName2
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! New RV values of GH Carinae from the SSO spectra

C  Format for file interpretation

    2 format(F10.4,1X,F5.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,27
        read(1,'(A16)')ar__1
        read(ar__1,2)HJD,RV
c    ..............Just test output...........
        write(6,2)HJD,RV
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! New CORALIE velocities of GH Carinae

C  Format for file interpretation

    3 format(F10.4,1X,F5.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,43
        read(1,'(A16)')ar__2
        read(ar__2,3)HJD_1,RV_1
c    ..............Just test output...........
        write(6,3)HJD_1,RV_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! New RV values of V419 Centauri from the SSO spectra

C  Format for file interpretation

    4 format(F10.4,1X,F5.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,26
        read(1,'(A16)')ar__3
        read(ar__3,4)HJD_2,RV_2
c    ..............Just test output...........
        write(6,4)HJD_2,RV_2
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table9.dat'	! New RV values of V898 Centauri from the SSO spectra

C  Format for file interpretation

    5 format(F10.4,1X,F5.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table9.dat')
      write(6,*) '....Loading file: table9.dat'
      do i__=1,33
        read(1,'(A16)')ar__4
        read(ar__4,5)HJD_3,RV_3
c    ..............Just test output...........
        write(6,5)HJD_3,RV_3
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table13.dat'	! New RV values of AD Puppis from the SSO spectra

C  Format for file interpretation

    6 format(F10.4,1X,F5.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table13.dat')
      write(6,*) '....Loading file: table13.dat'
      do i__=1,33
        read(1,'(A16)')ar__5
        read(ar__5,6)HJD_4,RV_4
c    ..............Just test output...........
        write(6,6)HJD_4,RV_4
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table15.dat'	! New RV values of AY Sagittarii from the SSO spectra

C  Format for file interpretation

    7 format(F10.4,1X,F5.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table15.dat')
      write(6,*) '....Loading file: table15.dat'
      do i__=1,22
        read(1,'(A16)')ar__6
        read(ar__6,7)HJD_5,RV_5
c    ..............Just test output...........
        write(6,7)HJD_5,RV_5
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table17.dat'	! New RV values of ST Velorum from the SSO spectra

C  Format for file interpretation

    8 format(F10.4,1X,F5.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table17.dat')
      write(6,*) '....Loading file: table17.dat'
      do i__=1,27
        read(1,'(A16)')ar__7
        read(ar__7,8)HJD_6,RV_6
c    ..............Just test output...........
        write(6,8)HJD_6,RV_6
c    .......End.of.Just test output...........
      end do
      close(1)

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