Conversion of standardized ReadMe file for
file /./ftp/cats/III/252 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-Jun-10
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. III/252 Pulkovo radial velocities for 35493 HIP stars (Gontcharov, 2006)
*================================================================================
*Pulkovo Compilation of Radial Velocities for 35493 Hipparcos Stars in a
*Common System.
* Gontcharov G.A.
* <Pis'ma Astron. Zh. 32, 844 (2006)>
* =2006PAZh...32..844G
* =2006AstL...32..759G
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! IAU standard stars used to make the PCRV
integer*4 nr__
parameter (nr__=155) ! Number of records
character*43 ar__ ! Full-size record
C J2000.0 position composed of: RAdeg DEdeg
integer*4 HIP (nr__) ! Hipparcos number
integer*4 HD (nr__) ! ? HD number
real*4 RV (nr__) ! (km/s) Mean radial velocity
real*4 e_RV (nr__) ! (km/s) Mean error of radial velocity
real*8 RAdeg (nr__) ! (deg) Approximate right ascension (J2000.0)
real*8 DEdeg (nr__) ! (deg) Approximate declination (J2000.0)
real*4 Vmag (nr__) ! (mag) Johnson V magnitude
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! Work list of secondary standards used
integer*4 nr__1
parameter (nr__1=1128) ! Number of records
character*43 ar__1 ! Full-size record
C J2000.0 position composed of: RAdeg DEdeg
integer*4 HIP_1 (nr__1) ! Hipparcos number
integer*4 HD_1 (nr__1) ! ? HD number
real*4 RV_1 (nr__1) ! (km/s) Mean radial velocity
real*4 e_RV_1 (nr__1) ! (km/s) Mean error of radial velocity
real*8 RAdeg_1 (nr__1) ! (deg) Approximate right ascension (J2000.0)
real*8 DEdeg_1 (nr__1) ! (deg) Approximate declination (J2000.0)
real*4 Vmag_1 (nr__1) ! (mag) Johnson V magnitude
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table8.dat' ! Main catalogue data
integer*4 nr__2
parameter (nr__2=35493) ! Number of records
character*50 ar__2 ! Full-size record
C J2000.0 position composed of: RAdeg DEdeg
integer*4 HIP_2 (nr__2) ! Hipparcos number
integer*4 HD_2 (nr__2) ! ? HD number
real*8 RV_2 (nr__2) ! (km/s) Mean radial velocity
real*4 e_RV_2 (nr__2) ! (km/s) Mean error of radial velocity
integer*4 o_RV (nr__2) ! Number of publications used
real*4 eRV (nr__2) ! (km/s) ? Standard deviation of RV measurements (1)
real*8 RAdeg_2 (nr__2) ! (deg) Approximate right ascension (J2000.0)
real*8 DEdeg_2 (nr__2) ! (deg) Approximate declination (J2000.0)
real*4 Vmag_2 (nr__2) ! (mag) Johnson V magnitude
*Note (1): Calculated as the standard deviation of the differences
* "publication minus weighted mean velocity" for the case of
* two or more publications.
C=============================================================================
C Loading file 'table1.dat' ! IAU standard stars used to make the PCRV
C Format for file interpretation
1 format(I6,1X,I6,F6.1,F4.1,1X,F7.3,F7.3,F5.2)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,155
read(1,'(A43)')ar__
read(ar__,1)
+ HIP(i__),HD(i__),RV(i__),e_RV(i__),RAdeg(i__),DEdeg(i__),
+ Vmag(i__)
if(ar__(8:13) .EQ. '') HD(i__) = iNULL__
c ..............Just test output...........
write(6,1)
+ HIP(i__),HD(i__),RV(i__),e_RV(i__),RAdeg(i__),DEdeg(i__),
+ Vmag(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! Work list of secondary standards used
C Format for file interpretation
2 format(I6,1X,I6,F6.1,F4.1,1X,F7.3,F7.3,F5.2)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,1128
read(1,'(A43)')ar__1
read(ar__1,2)
+ HIP_1(i__),HD_1(i__),RV_1(i__),e_RV_1(i__),RAdeg_1(i__),
+ DEdeg_1(i__),Vmag_1(i__)
if(ar__1(8:13) .EQ. '') HD_1(i__) = iNULL__
c ..............Just test output...........
write(6,2)
+ HIP_1(i__),HD_1(i__),RV_1(i__),e_RV_1(i__),RAdeg_1(i__),
+ DEdeg_1(i__),Vmag_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table8.dat' ! Main catalogue data
C Format for file interpretation
3 format(I6,1X,I6,F7.1,1X,F3.1,I2,F4.1,1X,F7.3,F7.3,F5.2)
C Effective file loading
open(unit=1,status='old',file=
+'table8.dat')
write(6,*) '....Loading file: table8.dat'
do i__=1,35493
read(1,'(A50)')ar__2
read(ar__2,3)
+ HIP_2(i__),HD_2(i__),RV_2(i__),e_RV_2(i__),o_RV(i__),eRV(i__),
+ RAdeg_2(i__),DEdeg_2(i__),Vmag_2(i__)
if(ar__2(8:13) .EQ. '') HD_2(i__) = iNULL__
if(ar__2(27:30) .EQ. '') eRV(i__) = rNULL__
c ..............Just test output...........
write(6,3)
+ HIP_2(i__),HD_2(i__),RV_2(i__),e_RV_2(i__),o_RV(i__),eRV(i__),
+ RAdeg_2(i__),DEdeg_2(i__),Vmag_2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end