FORTRAN Generation
(/./ftp/cats/J/A_A/619/A1)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/619/A1 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-Aug-12
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/619/A1        55 Cnc radial velocities and photometry    (Bourrier+, 2018)
*================================================================================
*The 55 Cancri system reassessed.
*    Bourrier V., Dumusque X., Dorn C., Henry G.W., Astudillo-Defru N., Rey J.,
*    Benneke B., Hebrard G., Lovis C., Demory B.O., Moutou C., Ehrenreich D.
*   <Astron. Astrophys. 619, A1 (2018)>
*   =2018A&A...619A...1B (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'apt55cnc.dat'	! Photometry of 55 Cnc

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

      real*8        RJD         ! (d) Reduced Julian date (JD-2400000)
      real*4        v_P_C2_by   ! (mag) Differential (b+y)/2 magnitude between
*                                   55 Cnc and star C2
      real*8        v_P_C3_by   ! (mag) Differential (b+y)/2 magnitude between
*                                   55 Cnc and star C2
      real*4        v_C3_C2_by  ! (mag) Differential (b+y)/2 magnitude between
*                                   stars C3 and C2

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

C  Declarations for 'rv55cnc.dat'	! Radial velocities of 55 Cnc with S index

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

      real*8        RJD_1       ! (d) Reduced Julian date (JD-2400000)
      real*8        RV          ! (m/s) Radial velocity
      real*8        e_RV        ! (m/s) Radial velocity photon plus instrument error
      real*8        Smw         ! S Mount Wilson index
      real*8        e_Smw       ! S Mount Wilson index error
      character*6   Inst        ! Name of instrument

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

C  Loading file 'apt55cnc.dat'	! Photometry of 55 Cnc

C  Format for file interpretation

    1 format(F10.4,2X,F6.4,2X,F7.4,2X,F6.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'apt55cnc.dat')
      write(6,*) '....Loading file: apt55cnc.dat'
      do i__=1,2243
        read(1,'(A35)')ar__
        read(ar__,1)RJD,v_P_C2_by,v_P_C3_by,v_C3_C2_by
c    ..............Just test output...........
        write(6,1)RJD,v_P_C2_by,v_P_C3_by,v_C3_C2_by
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'rv55cnc.dat'	! Radial velocities of 55 Cnc with S index

C  Format for file interpretation

    2 format(F13.7,1X,F12.5,1X,F8.5,1X,F8.6,1X,F8.6,1X,A6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'rv55cnc.dat')
      write(6,*) '....Loading file: rv55cnc.dat'
      do i__=1,783
        read(1,'(A60)')ar__1
        read(ar__1,2)RJD_1,RV,e_RV,Smw,e_Smw,Inst
c    ..............Just test output...........
        write(6,2)RJD_1,RV,e_RV,Smw,e_Smw,Inst
c    .......End.of.Just test output...........
      end do
      close(1)

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