Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/869/9 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-Sep-17
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/ApJ/869/9 Machine-learning investigation of the open cluster M67 (Gao, 2018)
*================================================================================
*A machine-learning-based investigation of the open cluster M67.
* Gao X.
* <Astrophys. J., 869, 9-9 (2018)>
* =2018ApJ...869....9G (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! A catalog of fundamental information for 1502
likely cluster members with P_RF_>=0.6
integer*4 nr__
parameter (nr__=1502) ! Number of records
character*56 ar__ ! Full-size record
C J2000 position composed of: RAdeg DEdeg
integer*8 GaiaDR2 ! Gaia-DR2 identifier of the likely cluster
* members
* (<Gaia DR2 NNNNNNNNNNNNNNNNNNN> in Simbad)
real*8 RAdeg ! (deg) [130.39/135.3] Gaia DR2 right ascension (J2000)
real*8 DEdeg ! (deg) [9.3/14.3] Gaia DR2 declination (J2000)
real*4 PRF ! [0.6/1] RF cluster membership probability
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! *Fundamental parameters of the 45 likely escapers
integer*4 nr__1
parameter (nr__1=45) ! Number of records
character*123 ar__1 ! Full-size record
C J2000 position composed of: RAdeg DEdeg
integer*8 GaiaDR2_1 ! Gaia-DR2 identifier of the likely cluster
* members
* (<Gaia DR2 NNNNNNNNNNNNNNNNN> in Simbad)
real*8 RAdeg_1 ! (deg) [131.1/135.3] Gaia DR2 right ascension (J2000)
real*8 DEdeg_1 ! (deg) [10.29/13.4] Gaia DR2 declination (J2000)
real*4 Plx ! (mas) [0.98/1.39] Gaia DR2 parallax ({pi})
real*4 e_Plx ! (mas) [0.02/0.38] Error on Plx
real*8 pmRA ! (mas/yr) [-11.7/-10.5] Gaia DR2 proper motion in RA
* ({mu}_{alpha}_cos{delta})
real*4 e_pmRA ! (mas/yr) [0/0.6] Error on pmRA
real*4 pmDE ! (mas/yr) [-3.5/-2.4] Gaia DR2 proper motion in DEC
* ({mu}_{delta}_)
real*4 e_pmDE ! (mas/yr) [0/0.5] Error on pmDE
real*8 Gmag ! (mag) [12.5/19.2] Gaia DR2 apparent G-band magnitude
real*4 G_RP ! (mag) [0.35/1.11] Gaia DR2 G-RP color index
real*4 PRF_1 ! [0.8/1] RF cluster membership probability
real*4 RV ! (km/s) [35.13]? Gaia DR2 radial velocity
real*4 e_RV ! (km/s) [0.73]? Error on RV
C=============================================================================
C Loading file 'table3.dat' ! A catalog of fundamental information for 1502
* likely cluster members with P_RF_>=0.6
C Format for file interpretation
1 format(I18,1X,F15.11,1X,F15.11,1X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,1502
read(1,'(A56)')ar__
read(ar__,1)GaiaDR2,RAdeg,DEdeg,PRF
c ..............Just test output...........
write(6,1)GaiaDR2,RAdeg,DEdeg,PRF
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! *Fundamental parameters of the 45 likely escapers
C Format for file interpretation
2 format(
+ I18,1X,F15.11,1X,F15.11,1X,F6.4,1X,F6.4,1X,F7.3,1X,F5.3,1X,
+ F6.3,1X,F5.3,1X,F7.4,1X,F6.4,1X,F5.3,1X,F5.2,1X,F4.2)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,45
read(1,'(A123)')ar__1
read(ar__1,2)
+ GaiaDR2_1,RAdeg_1,DEdeg_1,Plx,e_Plx,pmRA,e_pmRA,pmDE,e_pmDE,
+ Gmag,G_RP,PRF_1,RV,e_RV
if(ar__1(114:118) .EQ. '') RV = rNULL__
if(ar__1(120:123) .EQ. '') e_RV = rNULL__
c ..............Just test output...........
write(6,2)
+ GaiaDR2_1,RAdeg_1,DEdeg_1,Plx,e_Plx,pmRA,e_pmRA,pmDE,e_pmDE,
+ Gmag,G_RP,PRF_1,RV,e_RV
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end