Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/612/L2 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-Oct-12
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/612/L2 Compilation of stellar rotation data (Kovacs, 2018)
*================================================================================
*Signature of non-isotropic distribution of stellar rotation inclination angles
*in the Praesepe cluster.
* Kovacs G.
* <Astron. Astrophys. 612, L2 (2018)>
* =2018A&A...612L...2K (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1-1.dat' ! Stellar rotation data in Praesepe
integer*4 nr__
parameter (nr__=120) ! Number of records
character*147 ar__ ! Full-size record
C J2000.0 position composed of: RAdeg DEdeg
integer*4 K2ID ! ?=0 Kepler K2 EPIC identifier (1)
character*6 M44ID ! Other identifier
character*15 HATID ! HATNet identifier (HAT-NNN-NNNNNNN)
real*8 RAdeg ! (deg) Right Ascension (J2000.0) (2)
real*8 DEdeg ! (deg) Declination (J2000.0) (2)
real*4 Vsini ! (km/s) Equatorial rotational velocity times sin(i) (2)
real*4 e_Vsini ! (km/s) Error of Vsini (2)
real*8 Prot ! (d) Rotation period in
real*4 Vmag ! (mag) Johnson V magnitude (3)
real*4 Kmag ! (mag) 2MASS K magnitude (3)
real*4 J_K ! (mag) 2MASS J-K index (3)
real*4 R ! (Rsun) Stellar radius (4)
real*4 L ! (Lsun) Stellar luminosity (4)
integer*4 Teff ! (K) Stellar effective temperature (5)
character*3 n_Prot ! Source of Prot (6)
character*8 Notes ! Variable type (7)
*Note (1): K2_ID: Missing items in K2 are denoted by 000000000.
*Note (2): From Mermilliod et al., 2009, Cat. J/A+A/498/949.
*Note (3): From URAT1 (Zacharias et al., 2015, Cat. I/329) or
* UCAC4 (Zacharias et al., 2012, Cat. I/322) of CDS.
*Note (4): by using IRFM-calibrated T_eff_ and PARSEC evolution models
*Note (5): IRFM-calibrated T_eff_, using V, J, K magnitudes
*Note (6): Source of Prot as follows:
* KEP = K2, Rebull et al., 2017, Cat. J/ApJ/839/92
* HAT = HATNet, Kovacs et al., 2014, Cat. J/MNRAS/442/2081
*Note (7): Notes as follows:
* SB* = Spectroscopic binary and rotational variable
* (see Mermilliod et al., 2009, Cat. J/A+A/498/949)
* x = Rotational variable
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1-2.dat' ! Stellar rotation data on hot Jupiter host stars
integer*4 nr__1
parameter (nr__1=39) ! Number of records
character*95 ar__1 ! Full-size record
character*9 Name ! System name
real*4 Porb ! (d) Orbital period
real*4 vsini_1 ! (km/s) Equatorial rotational velocity times sin(i)
real*4 e_vsini_1 ! (km/s) Error of vsini (1)
real*4 R_ ! (Rsun) Stellar radius (2)
real*4 Teff_1 ! (K) Stellar effective temperature
real*4 logg ! ([cm/s2]) log_10 of the surface acceleration (2)
real*4 v_Fe_H_ ! Logarithmic iron abundance relative to the Sun
real*4 Prot_1 ! (d) Rotational period
real*4 age ! (Gyr) Stellar age from evolutionary models
real*4 e_age ! (Gyr) Error of the stellar age
character*2 S1 ! Source of the stellar parameters and vsini,
* in refs.dat file
character*2 S2 ! Source of the stellar parameters and vsini,
* in refs.dat file
character*2 S3 ! Source of the stellar parameters and vsini,
* in refs.dat file
character*1 Notes_1 ! [abcd] Individual notes (3)
*Note (1): vsini errors are set to 0.99 if those are not given in the source, or
* set in this work for any other reasons (e.g., overall vsini, from different
* sources are used).
*Note (2): logg and R* are calculated from the stellar mass and density as given
* in the Tables 1 and 3 of Maxted et al., 2015A&A...577A..90M, or taken from the
* references below if the data originate not from the publication cited.
*Note (3): Individual notes as follows:
* a = for 55 Cnc, vsini is the average of the values given in Lopez-Morales
* et al., 2014ApJ...792L..31L and Valenti & Fischer, 2005ApJS..159..141V
* b = for Qatar-2 we use the rotational period given in Dai et al.,
* 2017AJ....153...40D instead of Maxted et al., 2015A&A...577A..90M
* c = for WASP-6, vsini is the average of those given in Gillon et al.,
* 2009A&A...501..785G and Doyle et al., 2013MNRAS.428.3164D
* d = age for WASP-52 is read-off from Fig. 7 of Hebrard et al.,
* 2013A&A...549A.134H
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1-6.dat' ! Stellar rotation data in the Kepler field
integer*4 nr__2
parameter (nr__2=55) ! Number of records
character*89 ar__2 ! Full-size record
C J2000.0 position composed of: RAdeg DEdeg
integer*4 KIC ! Kepler Input Catalog number
real*8 RAdeg_1 ! (deg) Right Ascension (J2000.0), from KIC
real*8 DEdeg_1 ! (deg) Declination (J2000.0), from KIC
real*4 Prot_2 ! (d) Rotational period
real*4 R__1 ! (Rsun) Stellar radius
real*4 logg_1 ! ([cm/s2]) log_10 of the surface acceleration
integer*4 Teff_2 ! (K) Stellar effective temperature
real*4 vsini_2 ! (km/s) Equatorial rotational velocity times sin(i)
real*4 e_vsini_2 ! (km/s) Error of vsini
character*2 S1_1 ! Source of the stellar parameters and vsini,
* in refs.dat file
character*2 S2_1 ! Source of the stellar parameters and vsini,
* in refs.dat file
character*2 S3_1 ! Source of the stellar parameters and vsini,
* in refs.dat file
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'refs.dat' ! References
integer*4 nr__3
parameter (nr__3=50) ! Number of records
character*70 ar__3 ! Full-size record
character*2 Ref ! Reference number
character*19 BibCode ! BibCode
character*23 Aut ! Author's name
character*23 Com ! Comments
C=============================================================================
C Loading file 'table1-1.dat' ! Stellar rotation data in Praesepe
C Format for file interpretation
1 format(
+ I9,2X,A6,3X,A15,2X,F10.6,3X,F9.6,2X,F4.1,2X,F4.1,2X,F7.4,2X,
+ F6.3,2X,F6.3,3X,F5.3,3X,F5.3,3X,F5.3,3X,I4,5X,A3,4X,A8)
C Effective file loading
open(unit=1,status='old',file=
+'table1-1.dat')
write(6,*) '....Loading file: table1-1.dat'
do i__=1,120
read(1,'(A147)')ar__
read(ar__,1)
+ K2ID,M44ID,HATID,RAdeg,DEdeg,Vsini,e_Vsini,Prot,Vmag,Kmag,J_K,
+ R,L,Teff,n_Prot,Notes
c ..............Just test output...........
write(6,1)
+ K2ID,M44ID,HATID,RAdeg,DEdeg,Vsini,e_Vsini,Prot,Vmag,Kmag,J_K,
+ R,L,Teff,n_Prot,Notes
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table1-2.dat' ! Stellar rotation data on hot Jupiter host stars
C Format for file interpretation
2 format(
+ A9,3X,F5.2,2X,F5.2,4X,F4.2,3X,F4.2,2X,F5.0,2X,F5.3,2X,F5.2,3X,
+ F5.2,2X,F5.2,4X,F4.2,2X,A2,1X,A2,1X,A2,1X,A1)
C Effective file loading
open(unit=1,status='old',file=
+'table1-2.dat')
write(6,*) '....Loading file: table1-2.dat'
do i__=1,39
read(1,'(A95)')ar__1
read(ar__1,2)
+ Name,Porb,vsini_1,e_vsini_1,R_,Teff_1,logg,v_Fe_H_,Prot_1,age,
+ e_age,S1,S2,S3,Notes_1
c ..............Just test output...........
write(6,2)
+ Name,Porb,vsini_1,e_vsini_1,R_,Teff_1,logg,v_Fe_H_,Prot_1,age,
+ e_age,S1,S2,S3,Notes_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table1-6.dat' ! Stellar rotation data in the Kepler field
C Format for file interpretation
3 format(
+ I8,2X,F10.6,2X,F10.6,2X,F6.3,2X,F5.3,2X,F5.3,3X,I4,1X,F6.1,4X,
+ F4.1,5X,A2,1X,A2,1X,A2)
C Effective file loading
open(unit=1,status='old',file=
+'table1-6.dat')
write(6,*) '....Loading file: table1-6.dat'
do i__=1,55
read(1,'(A89)')ar__2
read(ar__2,3)
+ KIC,RAdeg_1,DEdeg_1,Prot_2,R__1,logg_1,Teff_2,vsini_2,
+ e_vsini_2,S1_1,S2_1,S3_1
c ..............Just test output...........
write(6,3)
+ KIC,RAdeg_1,DEdeg_1,Prot_2,R__1,logg_1,Teff_2,vsini_2,
+ e_vsini_2,S1_1,S2_1,S3_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'refs.dat' ! References
C Format for file interpretation
4 format(A2,1X,A19,1X,A23,1X,A23)
C Effective file loading
open(unit=1,status='old',file=
+'refs.dat')
write(6,*) '....Loading file: refs.dat'
do i__=1,50
read(1,'(A70)')ar__3
read(ar__3,4)Ref,BibCode,Aut,Com
c ..............Just test output...........
write(6,4)Ref,BibCode,Aut,Com
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end