Conversion of standardized ReadMe file for
file /./ftp/cats/J/BaltA/10/481 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-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 ! HIP number
character*12 Name ! Other name
real*4 Vmag ! (mag) V magnitude
real*4 B_V ! (mag) B-V colour index
character*15 SpType ! Spectral type
character*19 Source ! Sources (comma-separated list), see refs.dat
character*3 Class ! 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 ! HIP number
character*8 SpType_1 ! Spectral type
real*4 Vmag_1 ! (mag) V magnitude
real*4 B_V_1 ! (mag) B-V colour index
real*4 VMAG_2 ! (mag) Absolute V magnitude
real*4 E_B_V ! (mag) Color excess
real*4 AV ! (mag) Extinction
real*4 Plx ! (mas) Spectroscopic parallax
real*4 e_Plx ! (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 ! Hipparcos number
real*4 Plx_1 ! (mas) Trigonometric parallax
real*4 e_Plx_1 ! (mas) rms uncertainty on Plx
character*6 r_Plx ! 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 ! Hipparcos number
real*4 Plx_2 ! (mas) Parallax mean value
real*4 e_Plx_2 ! (mas) Parallax mean value error
integer*4 o_Plx ! 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 ! Hipparcos number
character*2 m_HIP ! Component designation
real*8 pmRA ! (mas/yr) Proper motion in right ascension
real*4 e_pmRA ! (mas/yr) Proper motion error in right ascension
real*8 pmDE ! (mas/yr) Proper motion in declination
real*4 e_pmDE ! (mas/yr) Proper motion error in declination
character*6 r_pmRA ! 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 ! Hipparcos number
real*8 pmRA_1 ! (mas/yr) Proper motion in right ascension
real*4 e_pmRA_1 ! (mas/yr) Proper motion error in right ascension
real*8 pmDE_1 ! (mas/yr) Proper motion in declination
real*4 e_pmDE_1 ! (mas/yr) Proper motion error in declination
integer*4 o_pmRA ! 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 ! Hipparcos number
real*8 RV ! (km/s) Radial velocity
real*4 e_RV ! (km/s) Error of radial velocity
integer*4 o_RV ! Number of different radial velocity
* estimations in the literature sources
character*6 r_RV ! 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 ! Hipparcos number
real*8 RV_1 ! (km/s) Radial velocity mean value
real*4 e_RV_1 ! (km/s) Error of radial velocity mean value
integer*4 o_RV_1 ! 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 ! Hipparcos number
real*8 Uvel ! (km/s) Galactic velocity component U
real*4 e_Uvel ! (km/s) Error of galactic velocity component U
real*8 Vvel ! (km/s) Galactic velocity component V
real*4 e_Vvel ! (km/s) Error of galactic velocity component V
real*8 Wvel ! (km/s) Galactic velocity component W
real*4 e_Wvel ! (km/s) Error of galactic velocity component W
real*4 Vtot ! (km/s) Total velocity
real*4 e_Vtot ! (km/s) Error of total velocity
real*4 fG ! Grenon's parameter fG (1)
real*4 Vt ! (km/s) Transverse velocity
real*4 e_Vt ! (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 ! HIP number
real*4 Vt_1 ! (km/s) Transverse velocity
real*4 e_Vt_1 ! (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 ! HIP number
character*11 SpType_2 ! Spectral type
real*4 fG_1 ! Grenon's parameter (1)
real*4 Vtot_1 ! (km/s) Total velocity
real*4 e_Vtot_1 ! (km/s) rms uncertainty on Vtot
real*4 v_Wvel_ ! (km/s) Absolute space velocity W
real*8 Vrot ! (km/s) Rotational velocity
character*4 Crit ! Selection criteria of population groups (2)
character*8 Note ! 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 ! HIP number
character*8 SpType_3 ! Spectral type
real*4 Vt_2 ! (km/s) Transverse velocity
real*4 e_Vt_2 ! (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 ! Reference code
character*19 BibCode ! BibCode
character*25 Aut ! Author's name
character*106 Com ! 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,Name,Vmag,B_V,SpType,Source,Class
c ..............Just test output...........
write(6,1)HIP,Name,Vmag,B_V,SpType,Source,Class
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,SpType_1,Vmag_1,B_V_1,VMAG_2,E_B_V,AV,Plx,e_Plx
c ..............Just test output...........
write(6,2)
+ HIP_1,SpType_1,Vmag_1,B_V_1,VMAG_2,E_B_V,AV,Plx,e_Plx
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,Plx_1,e_Plx_1,r_Plx
c ..............Just test output...........
write(6,3)HIP_2,Plx_1,e_Plx_1,r_Plx
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,Plx_2,e_Plx_2,o_Plx
c ..............Just test output...........
write(6,4)HIP_3,Plx_2,e_Plx_2,o_Plx
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,m_HIP,pmRA,e_pmRA,pmDE,e_pmDE,r_pmRA
c ..............Just test output...........
write(6,5)HIP_4,m_HIP,pmRA,e_pmRA,pmDE,e_pmDE,r_pmRA
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,pmRA_1,e_pmRA_1,pmDE_1,e_pmDE_1,o_pmRA
c ..............Just test output...........
write(6,6)HIP_5,pmRA_1,e_pmRA_1,pmDE_1,e_pmDE_1,o_pmRA
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,RV,e_RV,o_RV,r_RV
c ..............Just test output...........
write(6,7)HIP_6,RV,e_RV,o_RV,r_RV
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,RV_1,e_RV_1,o_RV_1
c ..............Just test output...........
write(6,8)HIP_7,RV_1,e_RV_1,o_RV_1
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,Uvel,e_Uvel,Vvel,e_Vvel,Wvel,e_Wvel,Vtot,e_Vtot,fG,Vt,
+ e_Vt
c ..............Just test output...........
write(6,9)
+ HIP_8,Uvel,e_Uvel,Vvel,e_Vvel,Wvel,e_Wvel,Vtot,e_Vtot,fG,Vt,
+ e_Vt
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,Vt_1,e_Vt_1
c ..............Just test output...........
write(6,10)HIP_9,Vt_1,e_Vt_1
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,SpType_2,fG_1,Vtot_1,e_Vtot_1,v_Wvel_,Vrot,Crit,Note
c ..............Just test output...........
write(6,11)
+ HIP_10,SpType_2,fG_1,Vtot_1,e_Vtot_1,v_Wvel_,Vrot,Crit,Note
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,SpType_3,Vt_2,e_Vt_2
c ..............Just test output...........
write(6,12)HIP_11,SpType_3,Vt_2,e_Vt_2
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,BibCode,Aut,Com
c ..............Just test output...........
write(6,13)Ref,BibCode,Aut,Com
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end