Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/164/228 into FORTRAN code for loading all data files into arrays.
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-Apr-13
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/164/228 Visual Orbits of Binaries with CHARA Array. IV. (Lester+, 2022)
*================================================================================
*Visual Orbits of Spectroscopic Binaries with the CHARA Array.
*IV. HD61859, HD89822, HD109510, and HD191692.
* Lester K.V., Schaefer G.H., Fekel F.C., Gies D.R., Henry T.J., Jao W.-C.,
* Paredes L.A., Hubbard-James H.-S., Farrington C.D., Gordon K.D.,
* Chojnowski S.D., Monnier J.D., Kraus S., Le Bouquin J.-B., Anugu N.,
* Brummelaar T.T., Davies C.L., Gardner T., Labdon A., Lanthermann C.,
* Setterholm B.R.
* <Astron. J., 164, 228 (2022)>
* =2022AJ....164..228L
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Orbital parameters from VB+SB2 solution
integer*4 nr__
parameter (nr__=4) ! Number of records
character*140 ar__ ! Full-size record
character*9 Name (nr__) ! Identifier
real*8 Per (nr__) ! (d) [7.33/31.6] Period
real*8 e_Per (nr__) ! (d) [1e-05/9e-05] Error on Per
real*8 HJD (nr__) ! (d) [57756/59362] Heliocentric Julian Date;
* HJD-2400000
real*4 e_HJD (nr__) ! (d) [0.004/0.02] Error on HJD
real*4 e (nr__) ! [0.19/0.61] Eccentricity
real*4 e_e (nr__) ! [0.0007/0.002] Error on e
real*4 omega (nr__) ! (deg) [33.7/303] Argument of periastron ({omega}1)
real*4 e_omega (nr__) ! (deg) [0.2/0.3] Error on omega
real*4 i (nr__) ! (deg) [61.4/145] Inclination
real*4 e_i (nr__) ! (deg) [0.1/4] Error on i
real*4 alpha (nr__) ! (mas) [1/4.41] Position relative to phase centre
real*4 e_alpha (nr__) ! (mas) [0.001/0.04] Error on alpha
real*4 Omega_1 (nr__) ! (deg) [96.9/238] Ascending node
real*4 e_Omega_1 (nr__) ! (deg) [0.1/4] Error on Omega
real*4 gamma (nr__) ! (km/s) [-29.3/3.51] gamma velocity
real*4 e_gamma (nr__) ! (km/s) [0.03/0.08] Error on gamma
real*4 K1 (nr__) ! (km/s) [38.1/68.2] Velocity semi-amplitude of primary
real*4 e_K1 (nr__) ! (km/s) [0.04/0.09] Error on K1
real*4 K2 (nr__) ! (km/s) [52.8/81.3] Velocity semi-amplitude of secondary
real*4 e_K2 (nr__) ! (km/s) [0.03/0.2] Error on K2
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Astrophysical parameters
integer*4 nr__1
parameter (nr__1=4) ! Number of records
character*180 ar__1 ! Full-size record
character*9 Name_1 (nr__1) ! Identifier
real*4 Mass1 (nr__1) ! (Msun) [1.62/3.57] Primary mass
real*4 e_Mass1 (nr__1) ! (Msun) [0.02/0.3] Error on Mass1
real*4 Mass2 (nr__1) ! (Msun) [1.44/2.74] Secondary mass
real*4 e_Mass2 (nr__1) ! (Msun) [0.02/0.2] Error on Mass2
real*4 Rad1 (nr__1) ! (Rsun) [2.28/4.76] Primary radius
real*4 e_Rad1 (nr__1) ! (Rsun) [0.06/0.2] Error on Rad1
real*4 Rad2 (nr__1) ! (Rsun) [1.51/2.34] Secondary radius
real*4 e_Rad2 (nr__1) ! (Rsun) [0.06/0.07] Error on Rad2
integer*4 Teff1 (nr__1) ! (K) [6390/10300] Effective temperature, primary
integer*4 e_Teff1 (nr__1) ! (K) [100/200] Error on Teff1
integer*4 Teff2 (nr__1) ! (K) [6610/10230] Effective temperature, secondary
integer*4 e_Teff2 (nr__1) ! (K) [140/230] Error on Teff2
real*4 logg1 (nr__1) ! ([-]) [3.64/3.88] Primary surface gravity
real*4 e_logg1 (nr__1) ! ([-]) [0.01/0.05] Error on logg1
real*4 logg2 (nr__1) ! ([-]) [4.09/4.22] Secondary surface gravity
real*4 e_logg2 (nr__1) ! ([-]) [0.02/0.05] Error on logg2
real*4 Lum1 (nr__1) ! (Lsun) [9.6/230] Primary luminosity
real*4 e_Lum1 (nr__1) ! (Lsun) [1.3/23] Error on Lum1
real*4 Lum2 (nr__1) ! (Lsun) [4.1/54] Secondary luminosity
real*4 e_Lum2 (nr__1) ! (Lsun) [0.5/6] Error on Lum2
character*2 l_vsini1 (nr__1) ! Limit flag on vsini1
real*4 vsini1 (nr__1) ! (km/s) [4.2/37.1] Primary rotational velocity
real*4 e_vsini1 (nr__1) ! (km/s) [0.4/2]? Error on vsini1
character*2 l_vsini2 (nr__1) ! Limit flag on vsini2
real*4 vsini2 (nr__1) ! (km/s) [4.2/14.2] Secondary rotational velocity
real*4 e_vsini2 (nr__1) ! (km/s) [0.9/3]? Error on vsini2
real*4 v_z1_zs_ (nr__1) ! ([-]) [-0.05/0.11] log primary redshift divided by
* Sun redshift
real*4 e__z1_zs_ (nr__1) ! ([-]) [0.02/0.2] Error on [z1/zs]
real*4 v_z2_zs_ (nr__1) ! ([-]) [-0.06/0.12] log secondary redshift divided
* by Sun redshift
real*4 e__z2_zs_ (nr__1) ! ([-]) [0.05/0.2] Error on [z2/zs]
real*4 Dist (nr__1) ! (pc) [64.4/111] Distance from this work
real*4 e_Dist (nr__1) ! (pc) [0.3/6.1] Error on Dist
real*4 DistG (nr__1) ! (pc) [-104/112] Distance from Gaia DR3
real*4 e_DistG (nr__1) ! (pc) [0.4/3] Error on DistG
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table5.dat' ! Radial velocity measurements
integer*4 nr__2
parameter (nr__2=294) ! Number of records
character*66 ar__2 ! Full-size record
character*9 Name_2 (nr__2) ! Identifier
integer*4 Obs_Y (nr__2) ! (yr) [2004/2021] Year of observation
character*3 Obs_M (nr__2) ! ("month") Month of observation
integer*4 Obs_D (nr__2) ! (d) Day of observation
real*8 HJD_1 (nr__2) ! (d) [53091/59367] Heliocentric Julian Date;
* HJD-2400000
real*4 RVel1 (nr__2) ! (km/s) [-56.1/81.4] Primary radial velocity
real*4 e_RVel1 (nr__2) ! (km/s) [0.1/2] Error on RVel1
real*8 RVel2 (nr__2) ! (km/s) [-128/78.2] Secondary radial velocity
real*4 e_RVel2 (nr__2) ! (km/s) [0.2/3] Error on RVel2
character*8 Ref (nr__2) ! Reference(s) used; APO, CTIO or Fairborn
C=============================================================================
C Loading file 'table2.dat' ! Orbital parameters from VB+SB2 solution
C Format for file interpretation
1 format(
+ A9,1X,F9.6,1X,F8.6,1X,F9.3,1X,F5.3,1X,F6.4,1X,F6.4,1X,F6.2,1X,
+ F4.2,1X,F6.2,1X,F4.2,1X,F5.3,1X,F5.3,1X,F6.2,1X,F4.2,1X,F6.2,
+ 1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,4
read(1,'(A140)')ar__
read(ar__,1)
+ Name(i__),Per(i__),e_Per(i__),HJD(i__),e_HJD(i__),e(i__),
+ e_e(i__),omega(i__),e_omega(i__),i(i__),e_i(i__),alpha(i__),
+ e_alpha(i__),Omega_1(i__),e_Omega_1(i__),gamma(i__),
+ e_gamma(i__),K1(i__),e_K1(i__),K2(i__),e_K2(i__)
c ..............Just test output...........
write(6,1)
+ Name(i__),Per(i__),e_Per(i__),HJD(i__),e_HJD(i__),e(i__),
+ e_e(i__),omega(i__),e_omega(i__),i(i__),e_i(i__),alpha(i__),
+ e_alpha(i__),Omega_1(i__),e_Omega_1(i__),gamma(i__),
+ e_gamma(i__),K1(i__),e_K1(i__),K2(i__),e_K2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Astrophysical parameters
C Format for file interpretation
2 format(
+ A9,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F4.2,1X,F4.2,1X,F4.2,1X,
+ F4.2,1X,I5,1X,I3,1X,I5,1X,I3,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,
+ 1X,F5.1,1X,F4.1,1X,F4.1,1X,F3.1,1X,A2,1X,F4.1,1X,F3.1,1X,A2,
+ 1X,F4.1,1X,F3.1,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.1,1X,
+ F3.1,1X,F6.1,1X,F3.1)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,4
read(1,'(A180)')ar__1
read(ar__1,2)
+ Name_1(i__),Mass1(i__),e_Mass1(i__),Mass2(i__),e_Mass2(i__),
+ Rad1(i__),e_Rad1(i__),Rad2(i__),e_Rad2(i__),Teff1(i__),
+ e_Teff1(i__),Teff2(i__),e_Teff2(i__),logg1(i__),e_logg1(i__),
+ logg2(i__),e_logg2(i__),Lum1(i__),e_Lum1(i__),Lum2(i__),
+ e_Lum2(i__),l_vsini1(i__),vsini1(i__),e_vsini1(i__),
+ l_vsini2(i__),vsini2(i__),e_vsini2(i__),v_z1_zs_(i__),
+ e__z1_zs_(i__),v_z2_zs_(i__),e__z2_zs_(i__),Dist(i__),
+ e_Dist(i__),DistG(i__),e_DistG(i__)
if(ar__1(123:125) .EQ. '') e_vsini1(i__) = rNULL__
if(ar__1(135:137) .EQ. '') e_vsini2(i__) = rNULL__
c ..............Just test output...........
write(6,2)
+ Name_1(i__),Mass1(i__),e_Mass1(i__),Mass2(i__),e_Mass2(i__),
+ Rad1(i__),e_Rad1(i__),Rad2(i__),e_Rad2(i__),Teff1(i__),
+ e_Teff1(i__),Teff2(i__),e_Teff2(i__),logg1(i__),e_logg1(i__),
+ logg2(i__),e_logg2(i__),Lum1(i__),e_Lum1(i__),Lum2(i__),
+ e_Lum2(i__),l_vsini1(i__),vsini1(i__),e_vsini1(i__),
+ l_vsini2(i__),vsini2(i__),e_vsini2(i__),v_z1_zs_(i__),
+ e__z1_zs_(i__),v_z2_zs_(i__),e__z2_zs_(i__),Dist(i__),
+ e_Dist(i__),DistG(i__),e_DistG(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table5.dat' ! Radial velocity measurements
C Format for file interpretation
3 format(
+ A9,1X,I4,1X,A3,1X,I2,1X,F10.4,1X,F6.2,1X,F4.2,1X,F7.2,1X,F4.2,
+ 1X,A8)
C Effective file loading
open(unit=1,status='old',file=
+'table5.dat')
write(6,*) '....Loading file: table5.dat'
do i__=1,294
read(1,'(A66)')ar__2
read(ar__2,3)
+ Name_2(i__),Obs_Y(i__),Obs_M(i__),Obs_D(i__),HJD_1(i__),
+ RVel1(i__),e_RVel1(i__),RVel2(i__),e_RVel2(i__),Ref(i__)
c ..............Just test output...........
write(6,3)
+ Name_2(i__),Obs_Y(i__),Obs_M(i__),Obs_D(i__),HJD_1(i__),
+ RVel1(i__),e_RVel1(i__),RVel2(i__),e_RVel2(i__),Ref(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end