Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/622/A164 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/622/A164 Radial velocity curves of 11 Cepheids (Gallenne+, 2019)
*================================================================================
*Multiplicity of Galactic Cepheids from long-baseline interferometry.
*IV. New detected companions from MIRC and PIONIER observations.
* Gallenne A., Kervella P., Borgniet S., Merand A., Pietrzynski G., Gieren W.,
* Monnier J.D., Schaefer G.H., Evans N.R., Anderson R.I., Baron F.,
* Roettenbacher R.M., Karczmarek P.
* <Astron. Astrophys. 622, A164 (2019)>
* =2019A&A...622A.164G (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'stars.dat' ! List of studied stars
integer*4 nr__
parameter (nr__=11) ! Number of records
character*65 ar__ ! Full-size record
C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg ! (deg) Right Ascension J2000
real*8 DEdeg ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
character*8 Name ! Cepheid name
integer*4 RAh ! (h) Simbad right ascension (J2000)
integer*4 RAm ! (min) Simbad right ascension (J2000)
real*4 RAs ! (s) Simbad right ascension (J2000)
character*1 DE_ ! Simbad declination sign (J2000)
integer*4 DEd ! (deg) Simbad declination (J2000)
integer*4 DEm ! (arcmin) Simbad declination (J2000)
real*4 DEs ! (arcsec) Simbad declination (J2000)
real*8 Ppuls ! (d) Pulsation period
real*8 e_Ppuls ! (d) rmd uncertainty on Ppuls
character*12 FileName ! Name of the table with velocity data
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tableb1.dat' ! Radial velocity of the Cepheid U Aql
integer*4 nr__1
parameter (nr__1=58) ! Number of records
character*36 ar__1 ! Full-size record
real*8 MJD ! (d) Modified Julian day
real*4 RV ! (km/s) Radial velocity
real*4 e_RV ! (km/s) Uncertainty on the radial velocity
character*7 Inst ! Instrument used to measure the radial velocity
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tableb2.dat' ! Radial velocity of the Cepheid FF Aql
integer*4 nr__2
parameter (nr__2=86) ! Number of records
character*36 ar__2 ! Full-size record
real*8 MJD_1 ! (d) Modified Julian day
real*4 RV_1 ! (km/s) Radial velocity
real*4 e_RV_1 ! (km/s) Uncertainty on the radial velocity
character*7 Inst_1 ! Instrument used to measure the radial velocity
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tableb3.dat' ! Radial velocity of the Cepheid YZ Car
integer*4 nr__3
parameter (nr__3=17) ! Number of records
character*36 ar__3 ! Full-size record
real*8 MJD_2 ! (d) Modified Julian day
real*4 RV_2 ! (km/s) Radial velocity
real*4 e_RV_2 ! (km/s) Uncertainty on the radial velocity
character*7 Inst_2 ! Instrument used to measure the radial velocity
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tableb4.dat' ! Radial velocity of the Cepheid BP Cir
integer*4 nr__4
parameter (nr__4=32) ! Number of records
character*36 ar__4 ! Full-size record
real*8 MJD_3 ! (d) Modified Julian day
real*4 RV_3 ! (km/s) Radial velocity
real*4 e_RV_3 ! (km/s) Uncertainty on the radial velocity
character*7 Inst_3 ! Instrument used to measure the radial velocity
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tableb5.dat' ! Radial velocity of the Cepheid BG Cru
integer*4 nr__5
parameter (nr__5=23) ! Number of records
character*36 ar__5 ! Full-size record
real*8 MJD_4 ! (d) Modified Julian day
real*4 RV_4 ! (km/s) Radial velocity
real*4 e_RV_4 ! (km/s) Uncertainty on the radial velocity
character*7 Inst_4 ! Instrument used to measure the radial velocity
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tableb6.dat' ! Radial velocity of the Cepheid S Mus
integer*4 nr__6
parameter (nr__6=34) ! Number of records
character*36 ar__6 ! Full-size record
real*8 MJD_5 ! (d) Modified Julian day
real*4 RV_5 ! (km/s) Radial velocity
real*4 e_RV_5 ! (km/s) Uncertainty on the radial velocity
character*7 Inst_5 ! Instrument used to measure the radial velocity
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tableb7.dat' ! Radial velocity of the Cepheid S Nor
integer*4 nr__7
parameter (nr__7=37) ! Number of records
character*36 ar__7 ! Full-size record
real*8 MJD_6 ! (d) Modified Julian day
real*4 RV_6 ! (km/s) Radial velocity
real*4 e_RV_6 ! (km/s) Uncertainty on the radial velocity
character*7 Inst_6 ! Instrument used to measure the radial velocity
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tableb8.dat' ! Radial velocity of the Cepheid W Sgr
integer*4 nr__8
parameter (nr__8=38) ! Number of records
character*36 ar__8 ! Full-size record
real*8 MJD_7 ! (d) Modified Julian day
real*4 RV_7 ! (km/s) Radial velocity
real*4 e_RV_7 ! (km/s) Uncertainty on the radial velocity
character*7 Inst_7 ! Instrument used to measure the radial velocity
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tableb9.dat' ! Radial velocity of the Cepheid V350 Sgr
integer*4 nr__9
parameter (nr__9=25) ! Number of records
character*36 ar__9 ! Full-size record
real*8 MJD_8 ! (d) Modified Julian day
real*4 RV_8 ! (km/s) Radial velocity
real*4 e_RV_8 ! (km/s) Uncertainty on the radial velocity
character*7 Inst_8 ! Instrument used to measure the radial velocity
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tableb10.dat' ! Radial velocity of the Cepheid V636 Sco
integer*4 nr__10
parameter (nr__10=26) ! Number of records
character*36 ar__10 ! Full-size record
real*8 MJD_9 ! (d) Modified Julian day
real*4 RV_9 ! (km/s) Radial velocity
real*4 e_RV_9 ! (km/s) Uncertainty on the radial velocity
character*7 Inst_9 ! Instrument used to measure the radial velocity
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tableb11.dat' ! Radial velocity of the Cepheid AH Vel
integer*4 nr__11
parameter (nr__11=26) ! Number of records
character*36 ar__11 ! Full-size record
real*8 MJD_10 ! (d) Modified Julian day
real*4 RV_10 ! (km/s) Radial velocity
real*4 e_RV_10 ! (km/s) Uncertainty on the radial velocity
character*7 Inst_10 ! Instrument used to measure the radial velocity
C=============================================================================
C Loading file 'stars.dat' ! List of studied stars
C Format for file interpretation
1 format(
+ A8,2X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F9.6,1X,F8.6,
+ 1X,A12)
C Effective file loading
open(unit=1,status='old',file=
+'stars.dat')
write(6,*) '....Loading file: stars.dat'
do i__=1,11
read(1,'(A65)')ar__
read(ar__,1)
+ Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Ppuls,e_Ppuls,FileName
RAdeg = rNULL__
DEdeg = rNULL__
c Derive coordinates RAdeg and DEdeg from input data
c (RAdeg and DEdeg are set to rNULL__ when unknown)
if(RAh .GT. -180) RAdeg=RAh*15.
if(RAm .GT. -180) RAdeg=RAdeg+RAm/4.
if(RAs .GT. -180) RAdeg=RAdeg+RAs/240.
if(DEd .GE. 0) DEdeg=DEd
if(DEm .GE. 0) DEdeg=DEdeg+DEm/60.
if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600.
if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg
c ..............Just test output...........
write(6,1)
+ Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Ppuls,e_Ppuls,FileName
write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'tableb1.dat' ! Radial velocity of the Cepheid U Aql
C Format for file interpretation
2 format(F12.6,3X,F6.2,3X,F4.2,1X,A7)
C Effective file loading
open(unit=1,status='old',file=
+'tableb1.dat')
write(6,*) '....Loading file: tableb1.dat'
do i__=1,58
read(1,'(A36)')ar__1
read(ar__1,2)MJD,RV,e_RV,Inst
c ..............Just test output...........
write(6,2)MJD,RV,e_RV,Inst
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'tableb2.dat' ! Radial velocity of the Cepheid FF Aql
C Format for file interpretation
3 format(F12.6,3X,F6.2,3X,F4.2,1X,A7)
C Effective file loading
open(unit=1,status='old',file=
+'tableb2.dat')
write(6,*) '....Loading file: tableb2.dat'
do i__=1,86
read(1,'(A36)')ar__2
read(ar__2,3)MJD_1,RV_1,e_RV_1,Inst_1
c ..............Just test output...........
write(6,3)MJD_1,RV_1,e_RV_1,Inst_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'tableb3.dat' ! Radial velocity of the Cepheid YZ Car
C Format for file interpretation
4 format(F12.6,3X,F6.2,3X,F4.2,1X,A7)
C Effective file loading
open(unit=1,status='old',file=
+'tableb3.dat')
write(6,*) '....Loading file: tableb3.dat'
do i__=1,17
read(1,'(A36)')ar__3
read(ar__3,4)MJD_2,RV_2,e_RV_2,Inst_2
c ..............Just test output...........
write(6,4)MJD_2,RV_2,e_RV_2,Inst_2
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'tableb4.dat' ! Radial velocity of the Cepheid BP Cir
C Format for file interpretation
5 format(F12.6,3X,F6.2,3X,F4.2,1X,A7)
C Effective file loading
open(unit=1,status='old',file=
+'tableb4.dat')
write(6,*) '....Loading file: tableb4.dat'
do i__=1,32
read(1,'(A36)')ar__4
read(ar__4,5)MJD_3,RV_3,e_RV_3,Inst_3
c ..............Just test output...........
write(6,5)MJD_3,RV_3,e_RV_3,Inst_3
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'tableb5.dat' ! Radial velocity of the Cepheid BG Cru
C Format for file interpretation
6 format(F12.6,3X,F6.2,3X,F4.2,1X,A7)
C Effective file loading
open(unit=1,status='old',file=
+'tableb5.dat')
write(6,*) '....Loading file: tableb5.dat'
do i__=1,23
read(1,'(A36)')ar__5
read(ar__5,6)MJD_4,RV_4,e_RV_4,Inst_4
c ..............Just test output...........
write(6,6)MJD_4,RV_4,e_RV_4,Inst_4
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'tableb6.dat' ! Radial velocity of the Cepheid S Mus
C Format for file interpretation
7 format(F12.6,3X,F6.2,3X,F4.2,1X,A7)
C Effective file loading
open(unit=1,status='old',file=
+'tableb6.dat')
write(6,*) '....Loading file: tableb6.dat'
do i__=1,34
read(1,'(A36)')ar__6
read(ar__6,7)MJD_5,RV_5,e_RV_5,Inst_5
c ..............Just test output...........
write(6,7)MJD_5,RV_5,e_RV_5,Inst_5
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'tableb7.dat' ! Radial velocity of the Cepheid S Nor
C Format for file interpretation
8 format(F12.6,3X,F6.2,3X,F4.2,1X,A7)
C Effective file loading
open(unit=1,status='old',file=
+'tableb7.dat')
write(6,*) '....Loading file: tableb7.dat'
do i__=1,37
read(1,'(A36)')ar__7
read(ar__7,8)MJD_6,RV_6,e_RV_6,Inst_6
c ..............Just test output...........
write(6,8)MJD_6,RV_6,e_RV_6,Inst_6
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'tableb8.dat' ! Radial velocity of the Cepheid W Sgr
C Format for file interpretation
9 format(F12.6,3X,F6.2,3X,F4.2,1X,A7)
C Effective file loading
open(unit=1,status='old',file=
+'tableb8.dat')
write(6,*) '....Loading file: tableb8.dat'
do i__=1,38
read(1,'(A36)')ar__8
read(ar__8,9)MJD_7,RV_7,e_RV_7,Inst_7
c ..............Just test output...........
write(6,9)MJD_7,RV_7,e_RV_7,Inst_7
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'tableb9.dat' ! Radial velocity of the Cepheid V350 Sgr
C Format for file interpretation
10 format(F12.6,3X,F6.2,3X,F4.2,1X,A7)
C Effective file loading
open(unit=1,status='old',file=
+'tableb9.dat')
write(6,*) '....Loading file: tableb9.dat'
do i__=1,25
read(1,'(A36)')ar__9
read(ar__9,10)MJD_8,RV_8,e_RV_8,Inst_8
c ..............Just test output...........
write(6,10)MJD_8,RV_8,e_RV_8,Inst_8
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'tableb10.dat' ! Radial velocity of the Cepheid V636 Sco
C Format for file interpretation
11 format(F12.6,3X,F6.2,3X,F4.2,1X,A7)
C Effective file loading
open(unit=1,status='old',file=
+'tableb10.dat')
write(6,*) '....Loading file: tableb10.dat'
do i__=1,26
read(1,'(A36)')ar__10
read(ar__10,11)MJD_9,RV_9,e_RV_9,Inst_9
c ..............Just test output...........
write(6,11)MJD_9,RV_9,e_RV_9,Inst_9
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'tableb11.dat' ! Radial velocity of the Cepheid AH Vel
C Format for file interpretation
12 format(F12.6,3X,F6.2,3X,F4.2,1X,A7)
C Effective file loading
open(unit=1,status='old',file=
+'tableb11.dat')
write(6,*) '....Loading file: tableb11.dat'
do i__=1,26
read(1,'(A36)')ar__11
read(ar__11,12)MJD_10,RV_10,e_RV_10,Inst_10
c ..............Just test output...........
write(6,12)MJD_10,RV_10,e_RV_10,Inst_10
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end