Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/609/A8 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-09
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/A+A/609/A8 Close encounters to the Sun in Gaia DR1 (Bailer-Jones, 2018)
*================================================================================
*The completeness-corrected rate of stellar encounters with the Sun from the
*first Gaia data release.
* Bailer-Jones C.A.L.
* <Astron. Astrophys. 609, A8 (2018)>
* =2018A&A...609A...8B (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'encount.dat' ! Perihelion parameters for all objects with a
median perihelion distance below 10pc, in order
of increasing median perihelion distance (table3)
integer*4 nr__
parameter (nr__=646) ! Number of records
character*166 ar__ ! Full-size record
character*12 ID (nr__) ! Tycho or Hipparcos identifier
integer*4 Cat (nr__) ! [1/10] Radial velocity catalogue identifier (1)
real*8 tphmed (nr__) ! (kyr) Median perihelion time
real*8 tphlo (nr__) ! (kyr) 5% bound on perihelion time distribution
real*8 tphup (nr__) ! (kyr) 95% bound on perihelion time distribution
real*8 dphmed (nr__) ! (pc) Median perihelion distance
real*8 dphlo (nr__) ! (pc) 5% bound on perihelion distance distribution
real*8 dphup (nr__) ! (pc) 95% bound on perihelion distance distribution
real*8 vphmed (nr__) ! (km/s) Median perihelion speed
real*8 vphlo (nr__) ! (km/s) 5% bound on perihelion speed distribution
real*8 vphup (nr__) ! (km/s) 95% bound on perihelion speed distribution
integer*4 f0_5 (nr__) ! Probability star approaches within 0.5pc
integer*4 f1_0 (nr__) ! Probability star approaches within 1.0pc
integer*4 f2_0 (nr__) ! Probability star approaches within 2.0pc
real*8 plx (nr__) ! (mas) Parallax
real*8 e_plx (nr__) ! (mas) Parallax uncertainty (1 sigma)
real*8 pm (nr__) ! (mas/yr) Proper motion
real*8 e_pm (nr__) ! (mas/yr) Proper motion uncertainty (1 sigma)
real*8 RV (nr__) ! (km/s) Radial velocity
real*8 e_RV (nr__) ! (km/s) Radial velocity uncertainty (1 sigma)
*Note (1): Catalogs as follows:
* 1 = RAVE-DR5, Kunder et al. (2017, Cat. III/279)
* 2 = GCS2001, Casagrande et al. (2011,Cat. J/A+A/530/A138)
* 3 = Pulkovo, Gontcharov, 2006, Cat. III/252
* 4 = Famey et al., 2005, Cat. J/A+A/430/165
* 5 = Duflot et al., 1995, Cat. III/190
* 6 = Barbier-Brossat & Figon, 2000, Cat. III/213
* 7 = Maladora et al., 2000, Cat. III/249
* 8 = Maldonado et al., 2010, Cat. J/A+A/521/A12
* 9 = Fehrenbach et al., 1997, Cat. J/A+AS/124/255
* 10 = APOGEE2, SDSS Collaboration (2016, in prep.)
* 11 = Gaia-ESO-DR2, https://www.gaia-eso.eu
* 12 = GALAH, Martell et al., 2010, Cat. J/MNRAS/465/3203
C=============================================================================
C Loading file 'encount.dat' ! Perihelion parameters for all objects with a
* median perihelion distance below 10pc, in order
* of increasing median perihelion distance (table3)
C Format for file interpretation
1 format(
+ A12,1X,I2,1X,F9.1,1X,F9.1,1X,F9.1,1X,F7.3,1X,F7.3,1X,F7.3,1X,
+ F8.2,1X,F8.2,1X,F8.2,1X,I3,1X,I3,1X,I3,1X,F9.3,1X,F9.3,1X,
+ F9.3,1X,F9.3,1X,F8.2,1X,F8.2)
C Effective file loading
open(unit=1,status='old',file=
+'encount.dat')
write(6,*) '....Loading file: encount.dat'
do i__=1,646
read(1,'(A166)')ar__
read(ar__,1)
+ ID(i__),Cat(i__),tphmed(i__),tphlo(i__),tphup(i__),
+ dphmed(i__),dphlo(i__),dphup(i__),vphmed(i__),vphlo(i__),
+ vphup(i__),f0_5(i__),f1_0(i__),f2_0(i__),plx(i__),e_plx(i__),
+ pm(i__),e_pm(i__),RV(i__),e_RV(i__)
c ..............Just test output...........
write(6,1)
+ ID(i__),Cat(i__),tphmed(i__),tphlo(i__),tphup(i__),
+ dphmed(i__),dphlo(i__),dphup(i__),vphmed(i__),vphlo(i__),
+ vphup(i__),f0_5(i__),f1_0(i__),f2_0(i__),plx(i__),e_plx(i__),
+ pm(i__),e_pm(i__),RV(i__),e_RV(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end