FORTRAN Generation
(/./ftp/cats/J/A_A/686/A268)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/686/A268 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-Jun-08
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/A+A/686/A268    New binary systems in Magellanic Clouds       (Rathour+, 2024)
*================================================================================
*Non-evolutionary effects on period change in Magellanic Cepheids.
*I. New binary systems revealed from light travel time effect.
*    Rathour R.S., Hajdu G., Smolec R., Karczmarek P., Hocde V.,
*    Ziolkowska O., Soszynski I., Udalski A.
*    <Astron. Astrophys. 686, A268 (2024)>
*    =2024A&A...686A.268R        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'tablea1.dat'	! List of LMC binary Cepheid candidates with
                                 their orbital parameters

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

      character*2   Mode        ! [F 1O] Pulsation mode
      character*6   Sample      ! Sample (1)
      integer*4     Target      ! Target name (NNNN) for
*                                   OGLE LMC-CEP-NNNN in LMC,
*                                   OGLE SMC-CEP-NNNN in SMC
      character*5   n_Target    ! Note (2)
      integer*4     Fitorder    ! Fit order
      real*8        Ppul        ! (d) Pulsation period
      integer*4     Porb        ! (d) Orbital period
      integer*4     e_Porb      ! (d) Orbital period error
      integer*4     T0          ! (d) Time of periastron passage
      integer*4     e_T0        ! (d) Time of periastron passage error
      real*4        e           ! Eccentric anomaly
      real*4        e_e         ! Eccentric anomaly error
      real*4        asini       ! (AU) asini semi-major axis
      real*4        e_asini     ! (AU) asini semi-major axis error
      integer*4     omega       ! (deg) Argument of periastron
      integer*4     e_omega     ! (deg) Argument of periastron error
      real*8        PCR         ! (d/Myr) Linear period-change rate
      real*4        e_PCR       ! (d/Myr) Linear period-change rate error
      real*8        K           ! (km/s) Semi-amplitude of the expected radial
*                                   velocity variation,
      real*4        e_K         ! (km/s) Semi-amplitude of the expected radial
*                                   velocity variation error
      real*8        f_m         ! (Msun) Mass function
      real*4        e_f_m       ! (Msun) Mass function error
      real*4        Mc          ! (Msun) Mass of the companion
      real*4        Mcep        ! (Msun) Mass of the Cepheid
*Note (1): Strong candidates constitute the gold sample. The remaining ones are
*   the marginal candidates referred to as the bronze sample.
*Note (2): Notes as follows:
*           d = peculiar mass function candidates
*           a = additional low amplitude variability
*           b = sub-harmonic signal
*           * = additional radial mode

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

C  Declarations for 'tablea2.dat'	! List of SMC binary Cepheid candidates with
                                 their orbital parameters

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

      character*2   Mode_1      ! [F 1O] Pulsation mode
      character*6   Sample_1    ! Sample (1)
      integer*4     Target_1    ! Target name (NNNN) for
*                                   OGLE LMC-CEP-NNNN in LMC,
*                                   OGLE SMC-CEP-NNNN in SMC
      character*5   n_Target_1  ! Note (2)
      integer*4     Fitorder_1  ! Fit order
      real*8        Ppul_1      ! (d) Pulsation period
      integer*4     Porb_1      ! (d) Orbital period
      integer*4     e_Porb_1    ! (d) Orbital period error
      integer*4     T0_1        ! (d) Time of periastron passage
      integer*4     e_T0_1      ! (d) Time of periastron passage error
      real*4        e_1         ! Eccentric anomaly
      real*4        e_e_1       ! Eccentric anomaly error
      real*4        asini_1     ! (AU) asini semi-major axis
      real*4        e_asini_1   ! (AU) asini semi-major axis error
      integer*4     omega_1     ! (deg) Argument of periastron
      integer*4     e_omega_1   ! (deg) Argument of periastron error
      real*8        PCR_1       ! (d/Myr) Linear period-change rate
      real*4        e_PCR_1     ! (d/Myr) Linear period-change rate error
      real*8        K_1         ! (km/s) Semi-amplitude of the expected radial
*                                   velocity variation,
      real*4        e_K_1       ! (km/s) Semi-amplitude of the expected radial
*                                   velocity variation error
      real*8        f_m_1       ! (Msun) Mass function
      real*4        e_f_m_1     ! (Msun) Mass function error
      real*4        Mc_1        ! (Msun) Mass of the companion
      real*4        Mcep_1      ! (Msun) Mass of the Cepheid
*Note (1): Strong candidates constitute the gold sample. The remaining ones are
*   the marginal candidates referred to as the bronze sample.
*Note (2): Notes as follows:
*           d = peculiar mass function candidates
*           a = additional low amplitude variability
*           b = sub-harmonic signal
*           * = additional radial mode

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

C  Loading file 'tablea1.dat'	! List of LMC binary Cepheid candidates with
*                                 their orbital parameters

C  Format for file interpretation

    1 format(
     +  A2,1X,A6,1X,I4,1X,A5,1X,I2,1X,F11.8,1X,I4,1X,I3,1X,I5,1X,I3,
     +  1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,I4,1X,I3,1X,F7.3,1X,F5.3,
     +  1X,F7.3,1X,F6.2,1X,F7.3,1X,F6.3,1X,F5.1,1X,F3.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea1.dat')
      write(6,*) '....Loading file: tablea1.dat'
      do i__=1,52
        read(1,'(A143)')ar__
        read(ar__,1)
     +  Mode,Sample,Target,n_Target,Fitorder,Ppul,Porb,e_Porb,T0,e_T0,
     +  e,e_e,asini,e_asini,omega,e_omega,PCR,e_PCR,K,e_K,f_m,e_f_m,
     +  Mc,Mcep
c    ..............Just test output...........
        write(6,1)
     +  Mode,Sample,Target,n_Target,Fitorder,Ppul,Porb,e_Porb,T0,e_T0,
     +  e,e_e,asini,e_asini,omega,e_omega,PCR,e_PCR,K,e_K,f_m,e_f_m,
     +  Mc,Mcep
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'tablea2.dat'	! List of SMC binary Cepheid candidates with
*                                 their orbital parameters

C  Format for file interpretation

    2 format(
     +  A2,1X,A6,1X,I4,1X,A5,1X,I2,1X,F11.8,1X,I4,1X,I3,1X,I5,1X,I3,
     +  1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,I4,1X,I3,1X,F7.3,1X,F5.3,
     +  1X,F7.3,1X,F6.2,1X,F7.3,1X,F6.3,1X,F5.1,1X,F3.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea2.dat')
      write(6,*) '....Loading file: tablea2.dat'
      do i__=1,145
        read(1,'(A143)')ar__1
        read(ar__1,2)
     +  Mode_1,Sample_1,Target_1,n_Target_1,Fitorder_1,Ppul_1,Porb_1,
     +  e_Porb_1,T0_1,e_T0_1,e_1,e_e_1,asini_1,e_asini_1,omega_1,
     +  e_omega_1,PCR_1,e_PCR_1,K_1,e_K_1,f_m_1,e_f_m_1,Mc_1,Mcep_1
c    ..............Just test output...........
        write(6,2)
     +  Mode_1,Sample_1,Target_1,n_Target_1,Fitorder_1,Ppul_1,Porb_1,
     +  e_Porb_1,T0_1,e_T0_1,e_1,e_e_1,asini_1,e_asini_1,omega_1,
     +  e_omega_1,PCR_1,e_PCR_1,K_1,e_K_1,f_m_1,e_f_m_1,Mc_1,Mcep_1
c    .......End.of.Just test output...........
      end do
      close(1)

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