FORTRAN Generation
(/./ftp/cats/J/ApJ/835/189)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/835/189 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-19
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/835/189             KIC 11401845 eclipse timings              (Lee+, 2017)
*================================================================================
*KIC 11401845: an eclipsing binary with multiperiodic pulsations and
*light-travel time.
*    Lee J.W., Hong K., Kim S.-L., Koo J.-R.
*   <Astrophys. J., 835, 189-189 (2017)>
*   =2017ApJ...835..189L    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! Eclipse timings measured from both datasets
                                including and removing the pulsations

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

      real*8        O_BJD       ! (d) Observed Barycentric Julian Date
      real*8        e_O_BJD     ! (d) [0.0001/0.003] Error in O-BJD
      real*8        O__O_C1     ! (d) [-0.0009/0.002] The (O-C) residual for observed
*                                 data
      real*4        Epoch       ! Epoch
      character*2   Min         ! Minimum type ("I": orbital phase 0.0 or
*                                 "II": orbital phase 0.5)
      real*8        PS_BJD      ! (d) Pulsation-Subtracted Barycentric Julian Date
      real*8        e_PS_BJD    ! (d) [0.0001/0.0008] Error in PS-BJD
      real*8        PS__O_C2    ! (d) [-0.0008/0.0008] The (O-C) residual for
*                                 Pulsation-Subtracted data

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

C  Loading file 'table3.dat'	! Eclipse timings measured from both datasets
*                                including and removing the pulsations

C  Format for file interpretation

    1 format(
     +  F13.5,1X,F7.5,1X,F9.6,1X,F5.1,1X,A2,1X,F13.5,1X,F7.5,1X,F9.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,150
        read(1,'(A72)')ar__
        read(ar__,1)
     +  O_BJD,e_O_BJD,O__O_C1,Epoch,Min,PS_BJD,e_PS_BJD,PS__O_C2
c    ..............Just test output...........
        write(6,1)
     +  O_BJD,e_O_BJD,O__O_C1,Epoch,Min,PS_BJD,e_PS_BJD,PS__O_C2
c    .......End.of.Just test output...........
      end do
      close(1)

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