Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/163/180 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-Oct-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/180 RVel and BV photometry of 9 {gamma} Doradus stars (Henry+, 2022)
*================================================================================
*Nine Bright {gamma}Doradus Variables Discovered with Ground-based Photometry
* Henry G.W., Fekel F.C., Williamson M.H.
* <Astron. J., 163, 180 (2022)>
* =2022AJ....163..180H
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Basic properties of the {gamma}Dor stars
integer*4 nr__
parameter (nr__=13) ! Number of records
character*68 ar__ ! Full-size record
integer*4 HD (nr__) ! Star HD name
integer*4 HIP (nr__) ! HIP star identifier
character*3 Comp (nr__) ! Component
real*4 Vmag (nr__) ! (mag) [7.14/11.2] V-band magnitude (1)
real*4 B_V (nr__) ! (mag) [0.29/0.62] B-V color (1)
real*8 plx (nr__) ! (mas) [8.21/13]? Gaia DR2 parallax
real*4 e_plx (nr__) ! (mas) [0.04/0.2]? Error on plx
real*4 VMAG_1 (nr__) ! (mag) [2.39/3.04]? V-band absolute magnitude (2)
character*2 SpT (nr__) ! Spectral class
character*8 Class (nr__) ! Luminosity class
integer*4 vsini (nr__) ! (km/s) [3/125]? Rotational velocity
character*3 Bin (nr__) ! Signle lined (SB1) or double lined (SB2)
*Note (1): Single star values and combined values of binary components
* are from the Tycho-2 catalog converted to the Johnson system. For the
* individual binary components see the text.
*Note (2): Computed from the V magnitude and the Gaia parallax.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Radial velocity observations of HD 34415
integer*4 nr__1
parameter (nr__1=50) ! Number of records
character*57 ar__1 ! Full-size record
real*8 HJD (nr__1) ! (d) [46820/59307] Heliocentric Julian date, HJD-2400000
real*4 Phase (nr__1) ! [0.006/0.76] Fractional phase
real*4 RVelA (nr__1) ! (km/s) [30.3/39.3] Observed primary radial velocity
real*4 O_CA (nr__1) ! (km/s) [-2.2/2.2] Primary velocity residual (1)
real*4 WA (nr__1) ! [0/0.4] Weight of the primary radial velocity
real*4 RVelB (nr__1) ! (km/s) [26.6/40.8]? Observed secondary radial velocity
real*4 O_CB (nr__1) ! (km/s) [-1.7/1.4]? Secondary velocity residual (1)
real*4 WB (nr__1) ! [1]? Weight of secondary radial velocity
character*4 Source (nr__1) ! Observatory source (2)
*Note (1): observed-calculated.
*Note (2): Sources as follows:
* CfA = Center for Astrophysics
* KPNO = Kitt Peak National Observatory
* FO = Fairborn Observatory
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table5.dat' ! Radial velocity observations of HD 144839
integer*4 nr__2
parameter (nr__2=81) ! Number of records
character*39 ar__2 ! Full-size record
real*8 HJD_1 (nr__2) ! (d) [54585/59349] Heliocentric Julian date, HJD-2400000
real*4 Phase_1 (nr__2) ! [0.01/1] Fractional Phase
real*4 RVel (nr__2) ! (km/s) [-37.7/-22.1] Observed Radial Velocity
real*4 O_C (nr__2) ! (km/s) [-2.8/4.8] Velocity residual, observed-calculated
real*4 Weight (nr__2) ! [0.3/1] Weight of Radial Velocity
character*4 Source_1 (nr__2) ! Observatory source (1)
*Note (1): Observatories as follows:
* KPNO = Kitt Peak National Observatory
* FO = Fairborn Observatory
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table7.dat' ! Radial velocity observations of HD 182735
integer*4 nr__3
parameter (nr__3=151) ! Number of records
character*59 ar__3 ! Full-size record
real*8 HJD_2 (nr__3) ! (d) [54367/59372] Heliocentric Julian date, HJD-2400000
real*4 Phase_2 (nr__3) ! [0.001/1] Fractional phase
real*4 RVelA_1 (nr__3) ! (km/s) [-34.5/-8.3] Observed primary radial velocity
real*4 O_CA_1 (nr__3) ! (km/s) [-4.7/6.2] Primary velocity residual (1)
real*4 WA_1 (nr__3) ! [0.06] Weight of primary radial velocity
real*4 RVelB_1 (nr__3) ! (km/s) [-35.6/-1.8] Observed secondary radial velocity
real*4 O_CB_1 (nr__3) ! (km/s) [-1.2/1.1] Secondary velocity residual (1)
real*4 WB_1 (nr__3) ! [1] Weight of secondary radial velocity
character*4 Source_2 (nr__3) ! Observatory source (2)
*Note (1): observed-calculated.
*Note (2): Sources as follows:
* KPNO = Kitt Peak National Observatory
* FO = Fairborn Observatory
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table10.dat' ! Individual photometric observations of 9 new
{gamma}Dor Stars
integer*4 nr__4
parameter (nr__4=2527) ! Number of records
character*45 ar__4 ! Full-size record
integer*4 HD_1 (nr__4) ! Star name
real*8 HJD_3 (nr__4) ! (d) [54071/54649] Heliocentric Julian Date, HJD-2400000
real*4 VarB (nr__4) ! (mag) [-0.49/0.68]? Variable-Comparison differential mag
* in B
real*4 VarV (nr__4) ! (mag) [-0.46/1.5]? Variable-Comparison differential mag
* in V
real*4 ChkB (nr__4) ! (mag) [-2.57/-0.11]? Check-Comparison differential mag
* in B
real*4 ChkV (nr__4) ! (mag) [-2.45/-0.01]? Check-Comparison differential mag
* in V
C=============================================================================
C Loading file 'table1.dat' ! Basic properties of the {gamma}Dor stars
C Format for file interpretation
1 format(
+ I6,1X,I6,1X,A3,1X,F5.2,1X,F4.2,1X,F7.4,1X,F6.4,1X,F4.2,1X,A2,
+ 1X,A8,1X,I3,1X,A3)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,13
read(1,'(A68)')ar__
read(ar__,1)
+ HD(i__),HIP(i__),Comp(i__),Vmag(i__),B_V(i__),plx(i__),
+ e_plx(i__),VMAG_1(i__),SpT(i__),Class(i__),vsini(i__),Bin(i__)
if(ar__(30:36) .EQ. '') plx(i__) = rNULL__
if(ar__(38:43) .EQ. '') e_plx(i__) = rNULL__
if(ar__(45:48) .EQ. '') VMAG_1(i__) = rNULL__
if(ar__(62:64) .EQ. '') vsini(i__) = iNULL__
c ..............Just test output...........
write(6,1)
+ HD(i__),HIP(i__),Comp(i__),Vmag(i__),B_V(i__),plx(i__),
+ e_plx(i__),VMAG_1(i__),SpT(i__),Class(i__),vsini(i__),Bin(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Radial velocity observations of HD 34415
C Format for file interpretation
2 format(
+ F10.3,2X,F5.3,2X,F4.1,2X,F4.1,2X,F3.1,2X,F4.1,2X,F4.1,2X,F3.1,
+ 2X,A4)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,50
read(1,'(A57)')ar__1
read(ar__1,2)
+ HJD(i__),Phase(i__),RVelA(i__),O_CA(i__),WA(i__),RVelB(i__),
+ O_CB(i__),WB(i__),Source(i__)
if(ar__1(37:40) .EQ. '') RVelB(i__) = rNULL__
if(ar__1(43:46) .EQ. '') O_CB(i__) = rNULL__
if(ar__1(49:51) .EQ. '') WB(i__) = rNULL__
c ..............Just test output...........
write(6,2)
+ HJD(i__),Phase(i__),RVelA(i__),O_CA(i__),WA(i__),RVelB(i__),
+ O_CB(i__),WB(i__),Source(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table5.dat' ! Radial velocity observations of HD 144839
C Format for file interpretation
3 format(F10.3,1X,F5.3,2X,F5.1,2X,F4.1,2X,F3.1,1X,A4)
C Effective file loading
open(unit=1,status='old',file=
+'table5.dat')
write(6,*) '....Loading file: table5.dat'
do i__=1,81
read(1,'(A39)')ar__2
read(ar__2,3)
+ HJD_1(i__),Phase_1(i__),RVel(i__),O_C(i__),Weight(i__),
+ Source_1(i__)
c ..............Just test output...........
write(6,3)
+ HJD_1(i__),Phase_1(i__),RVel(i__),O_C(i__),Weight(i__),
+ Source_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table7.dat' ! Radial velocity observations of HD 182735
C Format for file interpretation
4 format(
+ F10.3,1X,F5.3,2X,F5.1,2X,F4.1,2X,F4.2,2X,F5.1,2X,F4.1,2X,F3.1,
+ 2X,A4)
C Effective file loading
open(unit=1,status='old',file=
+'table7.dat')
write(6,*) '....Loading file: table7.dat'
do i__=1,151
read(1,'(A59)')ar__3
read(ar__3,4)
+ HJD_2(i__),Phase_2(i__),RVelA_1(i__),O_CA_1(i__),WA_1(i__),
+ RVelB_1(i__),O_CB_1(i__),WB_1(i__),Source_2(i__)
c ..............Just test output...........
write(6,4)
+ HJD_2(i__),Phase_2(i__),RVelA_1(i__),O_CA_1(i__),WA_1(i__),
+ RVelB_1(i__),O_CB_1(i__),WB_1(i__),Source_2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table10.dat' ! Individual photometric observations of 9 new
* {gamma}Dor Stars
C Format for file interpretation
5 format(I6,1X,F10.4,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3)
C Effective file loading
open(unit=1,status='old',file=
+'table10.dat')
write(6,*) '....Loading file: table10.dat'
do i__=1,2527
read(1,'(A45)')ar__4
read(ar__4,5)
+ HD_1(i__),HJD_3(i__),VarB(i__),VarV(i__),ChkB(i__),ChkV(i__)
if(ar__4(19:24) .EQ. '') VarB(i__) = rNULL__
if(ar__4(26:31) .EQ. '') VarV(i__) = rNULL__
if(ar__4(33:38) .EQ. '') ChkB(i__) = rNULL__
if(ar__4(40:45) .EQ. '') ChkV(i__) = rNULL__
c ..............Just test output...........
write(6,5)
+ HD_1(i__),HJD_3(i__),VarB(i__),VarV(i__),ChkB(i__),ChkV(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end