Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/163/282 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-15
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/AJ/163/282 Radial velocity follow up of {eta} Aquilae (Benedict+, 2022)
*================================================================================
*The {eta} Aquilae System; Radial Velocities and Astrometry in Search of
*{eta} Aql B
* Benedict G.F., Barnes T.G., Evans N.R., Cochran W.D., Anderson R.I.,
* McArthur B.E., Harrison T.E.
* <Astron. J., 163, 282 (2022)>
* =2022AJ....163..282B
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! HET radial velocities
integer*4 nr__
parameter (nr__=95) ! Number of records
character*45 ar__ ! Full-size record
integer*4 Template ! ? Template spectrum ID for HET and HJS
real*8 JD ! (d) Date of observation; JD-2400000.0
real*8 Phase ! Cepheid pulsation phase
real*8 RVel ! (km/s) Radial Velocity (1)
real*8 e_RVel ! (km/s) Radial Velocity error
character*7 Inst ! Instrument used
*Note (1): See Table5 in the article for correction to absolute velocity.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! HJS radial velocities
integer*4 nr__1
parameter (nr__1=51) ! Number of records
character*45 ar__1 ! Full-size record
integer*4 Template_1 ! ? Template spectrum ID for HET and HJS
real*8 JD_1 ! (d) Date of observation; JD-2400000.0
real*8 Phase_1 ! Cepheid pulsation phase
real*8 RVel_1 ! (km/s) Radial Velocity (1)
real*8 e_RVel_1 ! (km/s) Radial Velocity error
character*7 Inst_1 ! Instrument used
*Note (1): See Table5 in the article for correction to absolute velocity.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Eaton radial velocities
integer*4 nr__2
parameter (nr__2=217) ! Number of records
character*45 ar__2 ! Full-size record
integer*4 Template_2 ! ? Template spectrum ID for HET and HJS
real*8 JD_2 ! (d) Date of observation; JD-2400000.0
real*8 Phase_2 ! Cepheid pulsation phase
real*8 RVel_2 ! (km/s) Radial Velocity (1)
real*8 e_RVel_2 ! (km/s) Radial Velocity error
character*7 Inst_2 ! Instrument used
*Note (1): See Table5 in the article for correction to absolute velocity.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! Coralie and Hermes radial velocities
integer*4 nr__3
parameter (nr__3=55) ! Number of records
character*45 ar__3 ! Full-size record
integer*4 Template_3 ! ? Template spectrum ID for HET and HJS
real*8 JD_3 ! (d) Date of observation; JD-2400000.0
real*8 Phase_3 ! Cepheid pulsation phase
real*8 RVel_3 ! (km/s) Radial Velocity (1)
real*8 e_RVel_3 ! (km/s) Radial Velocity error
character*7 Inst_3 ! Instrument used
*Note (1): See Table5 in the article for correction to absolute velocity.
C=============================================================================
C Loading file 'table1.dat' ! HET radial velocities
C Format for file interpretation
1 format(I1,1X,F10.4,1X,F8.6,1X,F7.3,1X,F7.5,1X,A7)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,95
read(1,'(A45)')ar__
read(ar__,1)Template,JD,Phase,RVel,e_RVel,Inst
if(ar__(1:1) .EQ. '') Template = iNULL__
c ..............Just test output...........
write(6,1)Template,JD,Phase,RVel,e_RVel,Inst
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! HJS radial velocities
C Format for file interpretation
2 format(I1,1X,F10.4,1X,F8.6,1X,F7.3,1X,F7.5,1X,A7)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,51
read(1,'(A45)')ar__1
read(ar__1,2)Template_1,JD_1,Phase_1,RVel_1,e_RVel_1,Inst_1
if(ar__1(1:1) .EQ. '') Template_1 = iNULL__
c ..............Just test output...........
write(6,2)Template_1,JD_1,Phase_1,RVel_1,e_RVel_1,Inst_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Eaton radial velocities
C Format for file interpretation
3 format(I1,1X,F10.4,1X,F8.6,1X,F7.3,1X,F7.5,1X,A7)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,217
read(1,'(A45)')ar__2
read(ar__2,3)Template_2,JD_2,Phase_2,RVel_2,e_RVel_2,Inst_2
if(ar__2(1:1) .EQ. '') Template_2 = iNULL__
c ..............Just test output...........
write(6,3)Template_2,JD_2,Phase_2,RVel_2,e_RVel_2,Inst_2
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! Coralie and Hermes radial velocities
C Format for file interpretation
4 format(I1,1X,F10.4,1X,F8.6,1X,F7.3,1X,F7.5,1X,A7)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,55
read(1,'(A45)')ar__3
read(ar__3,4)Template_3,JD_3,Phase_3,RVel_3,e_RVel_3,Inst_3
if(ar__3(1:1) .EQ. '') Template_3 = iNULL__
c ..............Just test output...........
write(6,4)Template_3,JD_3,Phase_3,RVel_3,e_RVel_3,Inst_3
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end