Conversion of standardized ReadMe file for
file /./ftp/cats/J/BaltA/10/481 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-Aug-11
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/BaltA/10/481 HIP visual binaries kinematics. I. (Bartkevicius+, 2001)
*================================================================================
*Kinematics of Hipparcos visual binaries. I. Stars with orbital solutions.
* Bartkevicius A., Gudas A.
* <Baltic Astronomy, 10, 481 (2001)>
* =2001BaltA..10..481B
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Data of selected stars
integer*4 nr__
parameter (nr__=570) ! Number of records
character*73 ar__ ! Full-size record
integer*4 HIP (nr__) ! HIP number
character*12 Name (nr__) ! Other name
real*4 Vmag (nr__) ! (mag) V magnitude
real*4 B_V (nr__) ! (mag) B-V colour index
character*15 SpType (nr__) ! Spectral type
character*19 Source (nr__) ! Sources (comma-separated list), see refs.dat
character*3 Class (nr__) ! Population class (1)
*Note (1): Population class:
* D1a: young thin disk
* D1b: intermediate age thin disk
* D2f: old thin disk
* D3f: thick disk
* H: halo
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Spectroscopic parallaxes
integer*4 nr__1
parameter (nr__1=8) ! Number of records
character*54 ar__1 ! Full-size record
integer*4 HIP_1 (nr__1) ! HIP number
character*8 SpType_1 (nr__1) ! Spectral type
real*4 Vmag_1 (nr__1) ! (mag) V magnitude
real*4 B_V_1 (nr__1) ! (mag) B-V colour index
real*4 VMAG_2 (nr__1) ! (mag) Absolute V magnitude
real*4 E_B_V (nr__1) ! (mag) Color excess
real*4 AV (nr__1) ! (mag) Extinction
real*4 Plx (nr__1) ! (mas) Spectroscopic parallax
real*4 e_Plx (nr__1) ! (mas) rms uncertainty on Plx
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Individual values of the parallaxes
integer*4 nr__2
parameter (nr__2=882) ! Number of records
character*48 ar__2 ! Full-size record
integer*4 HIP_2 (nr__2) ! Hipparcos number
real*4 Plx_1 (nr__2) ! (mas) Trigonometric parallax
real*4 e_Plx_1 (nr__2) ! (mas) rms uncertainty on Plx
character*6 r_Plx (nr__2) ! Literature source of the parallaxes, see refs.dat
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! Mean values of parallaxes
integer*4 nr__3
parameter (nr__3=570) ! Number of records
character*25 ar__3 ! Full-size record
integer*4 HIP_3 (nr__3) ! Hipparcos number
real*4 Plx_2 (nr__3) ! (mas) Parallax mean value
real*4 e_Plx_2 (nr__3) ! (mas) Parallax mean value error
integer*4 o_Plx (nr__3) ! Number of different parallaxes estimations
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table5.dat' ! Individual values of proper motions
integer*4 nr__4
parameter (nr__4=1013) ! Number of records
character*44 ar__4 ! Full-size record
integer*4 HIP_4 (nr__4) ! Hipparcos number
character*2 m_HIP (nr__4) ! Component designation
real*8 pmRA (nr__4) ! (mas/yr) Proper motion in right ascension
real*4 e_pmRA (nr__4) ! (mas/yr) Proper motion error in right ascension
real*8 pmDE (nr__4) ! (mas/yr) Proper motion in declination
real*4 e_pmDE (nr__4) ! (mas/yr) Proper motion error in declination
character*6 r_pmRA (nr__4) ! Literature sources of the proper motions,
* see refs.dat
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table6.dat' ! Mean values of proper motions
integer*4 nr__5
parameter (nr__5=570) ! Number of records
character*38 ar__5 ! Full-size record
integer*4 HIP_5 (nr__5) ! Hipparcos number
real*8 pmRA_1 (nr__5) ! (mas/yr) Proper motion in right ascension
real*4 e_pmRA_1 (nr__5) ! (mas/yr) Proper motion error in right ascension
real*8 pmDE_1 (nr__5) ! (mas/yr) Proper motion in declination
real*4 e_pmDE_1 (nr__5) ! (mas/yr) Proper motion error in declination
integer*4 o_pmRA (nr__5) ! Number of different proper motion estimations
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table7.dat' ! Individual values of radial velocities
integer*4 nr__6
parameter (nr__6=789) ! Number of records
character*53 ar__6 ! Full-size record
integer*4 HIP_6 (nr__6) ! Hipparcos number
real*8 RV (nr__6) ! (km/s) Radial velocity
real*4 e_RV (nr__6) ! (km/s) Error of radial velocity
integer*4 o_RV (nr__6) ! Number of different radial velocity
* estimations in the literature sources
character*6 r_RV (nr__6) ! Literature sources of radial velocities,
* in refs.dat file
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table8.dat' ! Mean values of radial velocities
integer*4 nr__7
parameter (nr__7=497) ! Number of records
character*49 ar__7 ! Full-size record
integer*4 HIP_7 (nr__7) ! Hipparcos number
real*8 RV_1 (nr__7) ! (km/s) Radial velocity mean value
real*4 e_RV_1 (nr__7) ! (km/s) Error of radial velocity mean value
integer*4 o_RV_1 (nr__7) ! Number of different radial velocity estimations
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table9.dat' ! Kinematical parameters of stars with known radial
velocities
integer*4 nr__8
parameter (nr__8=497) ! Number of records
character*81 ar__8 ! Full-size record
integer*4 HIP_8 (nr__8) ! Hipparcos number
real*8 Uvel (nr__8) ! (km/s) Galactic velocity component U
real*4 e_Uvel (nr__8) ! (km/s) Error of galactic velocity component U
real*8 Vvel (nr__8) ! (km/s) Galactic velocity component V
real*4 e_Vvel (nr__8) ! (km/s) Error of galactic velocity component V
real*8 Wvel (nr__8) ! (km/s) Galactic velocity component W
real*4 e_Wvel (nr__8) ! (km/s) Error of galactic velocity component W
real*4 Vtot (nr__8) ! (km/s) Total velocity
real*4 e_Vtot (nr__8) ! (km/s) Error of total velocity
real*4 fG (nr__8) ! Grenon's parameter fG (1)
real*4 Vt (nr__8) ! (km/s) Transverse velocity
real*4 e_Vt (nr__8) ! (km/s) Error of transverse velocity
*Note (1): Grenon's parameter:
* fG = 1/300 * sqrt(U^2^+2.5V^2^+3.5W^2^)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table10.dat' ! Transverse velocities of stars without velocities
integer*4 nr__9
parameter (nr__9=73) ! Number of records
character*49 ar__9 ! Full-size record
integer*4 HIP_9 (nr__9) ! HIP number
real*4 Vt_1 (nr__9) ! (km/s) Transverse velocity
real*4 e_Vt_1 (nr__9) ! (km/s) rms uncertainty on Vt
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table13a.dat' ! Halo and thick disk Hipparcos binaries with
orbital transition
integer*4 nr__10
parameter (nr__10=54) ! Number of records
character*68 ar__10 ! Full-size record
integer*4 HIP_10 (nr__10) ! HIP number
character*11 SpType_2 (nr__10) ! Spectral type
real*4 fG_1 (nr__10) ! Grenon's parameter (1)
real*4 Vtot_1 (nr__10) ! (km/s) Total velocity
real*4 e_Vtot_1 (nr__10) ! (km/s) rms uncertainty on Vtot
real*4 v_Wvel_ (nr__10) ! (km/s) Absolute space velocity W
real*8 Vrot (nr__10) ! (km/s) Rotational velocity
character*4 Crit (nr__10) ! Selection criteria of population groups (2)
character*8 Note (nr__10) ! Notes
*Note (1): Grenon's parameter:
* fG = 1/300 * sqrt(U^2^+2.5V^2^+3.5W^2^)
*Note (2): Selection criteria of population groups:
* fG: according to Grenon's population age criteria
* U, VROT, W: for the velocity component criterion
* VT: for the high transverse velocity when radial velocities are unknown
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table13b.dat' ! Thick disk transverse velocity candidate binaries
integer*4 nr__11
parameter (nr__11=5) ! Number of records
character*27 ar__11 ! Full-size record
integer*4 HIP_11 (nr__11) ! HIP number
character*8 SpType_3 (nr__11) ! Spectral type
real*4 Vt_2 (nr__11) ! (km/s) Transverse velocity
real*4 e_Vt_2 (nr__11) ! (km/s) rms uncertainty on Vt
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'refs.dat' ! References
integer*4 nr__12
parameter (nr__12=23) ! Number of records
character*159 ar__12 ! Full-size record
character*6 Ref (nr__12) ! Reference code
character*19 BibCode (nr__12) ! BibCode
character*25 Aut (nr__12) ! Author's name
character*106 Com (nr__12) ! Comments
C=============================================================================
C Loading file 'table1.dat' ! Data of selected stars
C Format for file interpretation
1 format(I6,1X,A12,1X,F5.2,1X,F6.3,1X,A15,1X,A19,1X,A3)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,570
read(1,'(A73)')ar__
read(ar__,1)
+ HIP(i__),Name(i__),Vmag(i__),B_V(i__),SpType(i__),Source(i__),
+ Class(i__)
c ..............Just test output...........
write(6,1)
+ HIP(i__),Name(i__),Vmag(i__),B_V(i__),SpType(i__),Source(i__),
+ Class(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! Spectroscopic parallaxes
C Format for file interpretation
2 format(
+ I6,1X,A8,1X,F4.2,1X,F5.2,1X,F5.2,1X,F4.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,8
read(1,'(A54)')ar__1
read(ar__1,2)
+ HIP_1(i__),SpType_1(i__),Vmag_1(i__),B_V_1(i__),VMAG_2(i__),
+ E_B_V(i__),AV(i__),Plx(i__),e_Plx(i__)
c ..............Just test output...........
write(6,2)
+ HIP_1(i__),SpType_1(i__),Vmag_1(i__),B_V_1(i__),VMAG_2(i__),
+ E_B_V(i__),AV(i__),Plx(i__),e_Plx(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Individual values of the parallaxes
C Format for file interpretation
3 format(I6,1X,F6.2,1X,F5.2,1X,A6)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,882
read(1,'(A48)')ar__2
read(ar__2,3)HIP_2(i__),Plx_1(i__),e_Plx_1(i__),r_Plx(i__)
c ..............Just test output...........
write(6,3)HIP_2(i__),Plx_1(i__),e_Plx_1(i__),r_Plx(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! Mean values of parallaxes
C Format for file interpretation
4 format(I6,1X,F6.2,1X,F5.2,1X,I1)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,570
read(1,'(A25)')ar__3
read(ar__3,4)HIP_3(i__),Plx_2(i__),e_Plx_2(i__),o_Plx(i__)
c ..............Just test output...........
write(6,4)HIP_3(i__),Plx_2(i__),e_Plx_2(i__),o_Plx(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table5.dat' ! Individual values of proper motions
C Format for file interpretation
5 format(I6,A2,F8.2,1X,F5.2,1X,F8.2,1X,F5.2,1X,A6)
C Effective file loading
open(unit=1,status='old',file=
+'table5.dat')
write(6,*) '....Loading file: table5.dat'
do i__=1,1013
read(1,'(A44)')ar__4
read(ar__4,5)
+ HIP_4(i__),m_HIP(i__),pmRA(i__),e_pmRA(i__),pmDE(i__),
+ e_pmDE(i__),r_pmRA(i__)
c ..............Just test output...........
write(6,5)
+ HIP_4(i__),m_HIP(i__),pmRA(i__),e_pmRA(i__),pmDE(i__),
+ e_pmDE(i__),r_pmRA(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table6.dat' ! Mean values of proper motions
C Format for file interpretation
6 format(I6,1X,F8.2,1X,F5.2,1X,F8.2,1X,F5.2,1X,I1)
C Effective file loading
open(unit=1,status='old',file=
+'table6.dat')
write(6,*) '....Loading file: table6.dat'
do i__=1,570
read(1,'(A38)')ar__5
read(ar__5,6)
+ HIP_5(i__),pmRA_1(i__),e_pmRA_1(i__),pmDE_1(i__),
+ e_pmDE_1(i__),o_pmRA(i__)
c ..............Just test output...........
write(6,6)
+ HIP_5(i__),pmRA_1(i__),e_pmRA_1(i__),pmDE_1(i__),
+ e_pmDE_1(i__),o_pmRA(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table7.dat' ! Individual values of radial velocities
C Format for file interpretation
7 format(I6,1X,F7.2,1X,F5.2,1X,I2,1X,A6)
C Effective file loading
open(unit=1,status='old',file=
+'table7.dat')
write(6,*) '....Loading file: table7.dat'
do i__=1,789
read(1,'(A53)')ar__6
read(ar__6,7)HIP_6(i__),RV(i__),e_RV(i__),o_RV(i__),r_RV(i__)
c ..............Just test output...........
write(6,7)HIP_6(i__),RV(i__),e_RV(i__),o_RV(i__),r_RV(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table8.dat' ! Mean values of radial velocities
C Format for file interpretation
8 format(I6,1X,F7.2,1X,F5.2,1X,I2)
C Effective file loading
open(unit=1,status='old',file=
+'table8.dat')
write(6,*) '....Loading file: table8.dat'
do i__=1,497
read(1,'(A49)')ar__7
read(ar__7,8)HIP_7(i__),RV_1(i__),e_RV_1(i__),o_RV_1(i__)
c ..............Just test output...........
write(6,8)HIP_7(i__),RV_1(i__),e_RV_1(i__),o_RV_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table9.dat' ! Kinematical parameters of stars with known radial
* velocities
C Format for file interpretation
9 format(
+ I6,1X,F7.2,1X,F5.2,1X,F7.2,1X,F5.2,1X,F7.2,1X,F5.2,1X,F6.2,1X,
+ F6.2,1X,F4.2,1X,F6.2,1X,F6.2)
C Effective file loading
open(unit=1,status='old',file=
+'table9.dat')
write(6,*) '....Loading file: table9.dat'
do i__=1,497
read(1,'(A81)')ar__8
read(ar__8,9)
+ HIP_8(i__),Uvel(i__),e_Uvel(i__),Vvel(i__),e_Vvel(i__),
+ Wvel(i__),e_Wvel(i__),Vtot(i__),e_Vtot(i__),fG(i__),Vt(i__),
+ e_Vt(i__)
c ..............Just test output...........
write(6,9)
+ HIP_8(i__),Uvel(i__),e_Uvel(i__),Vvel(i__),e_Vvel(i__),
+ Wvel(i__),e_Wvel(i__),Vtot(i__),e_Vtot(i__),fG(i__),Vt(i__),
+ e_Vt(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table10.dat' ! Transverse velocities of stars without velocities
C Format for file interpretation
10 format(I6,1X,F6.2,1X,F4.2)
C Effective file loading
open(unit=1,status='old',file=
+'table10.dat')
write(6,*) '....Loading file: table10.dat'
do i__=1,73
read(1,'(A49)')ar__9
read(ar__9,10)HIP_9(i__),Vt_1(i__),e_Vt_1(i__)
c ..............Just test output...........
write(6,10)HIP_9(i__),Vt_1(i__),e_Vt_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table13a.dat' ! Halo and thick disk Hipparcos binaries with
* orbital transition
C Format for file interpretation
11 format(
+ I6,1X,A11,2X,F4.2,1X,F6.2,1X,F6.2,1X,F6.2,1X,F7.2,1X,A4,2X,A8)
C Effective file loading
open(unit=1,status='old',file=
+'table13a.dat')
write(6,*) '....Loading file: table13a.dat'
do i__=1,54
read(1,'(A68)')ar__10
read(ar__10,11)
+ HIP_10(i__),SpType_2(i__),fG_1(i__),Vtot_1(i__),e_Vtot_1(i__),
+ v_Wvel_(i__),Vrot(i__),Crit(i__),Note(i__)
c ..............Just test output...........
write(6,11)
+ HIP_10(i__),SpType_2(i__),fG_1(i__),Vtot_1(i__),e_Vtot_1(i__),
+ v_Wvel_(i__),Vrot(i__),Crit(i__),Note(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table13b.dat' ! Thick disk transverse velocity candidate binaries
C Format for file interpretation
12 format(I6,1X,A8,1X,F6.2,1X,F4.2)
C Effective file loading
open(unit=1,status='old',file=
+'table13b.dat')
write(6,*) '....Loading file: table13b.dat'
do i__=1,5
read(1,'(A27)')ar__11
read(ar__11,12)HIP_11(i__),SpType_3(i__),Vt_2(i__),e_Vt_2(i__)
c ..............Just test output...........
write(6,12)HIP_11(i__),SpType_3(i__),Vt_2(i__),e_Vt_2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'refs.dat' ! References
C Format for file interpretation
13 format(A6,1X,A19,1X,A25,1X,A106)
C Effective file loading
open(unit=1,status='old',file=
+'refs.dat')
write(6,*) '....Loading file: refs.dat'
do i__=1,23
read(1,'(A159)')ar__12
read(ar__12,13)Ref(i__),BibCode(i__),Aut(i__),Com(i__)
c ..............Just test output...........
write(6,13)Ref(i__),BibCode(i__),Aut(i__),Com(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end