FORTRAN Generation
(/./ftp/cats/J/A_A/600/L9)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/600/L9 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/A+A/600/L9       NGC 1514 and LoTr 5 radial velocity curves     (Jones+, 2017)
*================================================================================
*The long-period binary central stars of the planetary nebulae NGC 1514 and
*LoTr 5.
*    Jones D., Van Winckel H., Aller A., Exter K., De Marco O.
*    <Astron. Astrophys. 600, L9 (2017)>
*    =2017A&A...600L...9J        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'lotr5.dat'	! Radial velocity measurements of central star
                                 of LoTr 5

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

      real*8        BJD         ! (d) Barycentric Julian Date
      real*8        BRV         ! (km/s) Barycentric radial velocity
      real*4        e_BRV       ! (km/s) Uncertainty of radial velocity measurement

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

C  Declarations for 'ngc1514.dat'	! Radial velocity measurements of central stars
                                 of NGC 1514

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

      real*8        BJD_1       ! (d) Barycentric Julian Date
      real*4        BRV1        ! (km/s) Barycentric radial velocity of hot component
      real*4        e_BRV1      ! (km/s) Uncertainty of radial velocity measurement
*                                 of hot component
      real*4        BRV2        ! (km/s) Barycentric radial velocity of cold component
      real*4        e_BRV2      ! (km/s) Uncertainty of radial velocity measurement
*                                 of cold component

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

C  Loading file 'lotr5.dat'	! Radial velocity measurements of central star
*                                 of LoTr 5

C  Format for file interpretation

    1 format(2X,F15.7,3X,F7.3,3X,F5.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'lotr5.dat')
      write(6,*) '....Loading file: lotr5.dat'
      do i__=1,118
        read(1,'(A35)')ar__
        read(ar__,1)BJD,BRV,e_BRV
c    ..............Just test output...........
        write(6,1)BJD,BRV,e_BRV
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'ngc1514.dat'	! Radial velocity measurements of central stars
*                                 of NGC 1514

C  Format for file interpretation

    2 format(2X,F15.7,3X,F6.3,3X,F5.3,3X,F6.3,3X,F5.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'ngc1514.dat')
      write(6,*) '....Loading file: ngc1514.dat'
      do i__=1,143
        read(1,'(A51)')ar__1
        read(ar__1,2)BJD_1,BRV1,e_BRV1,BRV2,e_BRV2
c    ..............Just test output...........
        write(6,2)BJD_1,BRV1,e_BRV1,BRV2,e_BRV2
c    .......End.of.Just test output...........
      end do
      close(1)

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