Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/612/L2 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-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 (nr__) ! ?=0 Kepler K2 EPIC identifier (1)
character*6 M44ID (nr__) ! Other identifier
character*15 HATID (nr__) ! HATNet identifier (HAT-NNN-NNNNNNN)
real*8 RAdeg (nr__) ! (deg) Right Ascension (J2000.0) (2)
real*8 DEdeg (nr__) ! (deg) Declination (J2000.0) (2)
real*4 Vsini (nr__) ! (km/s) Equatorial rotational velocity times sin(i) (2)
real*4 e_Vsini (nr__) ! (km/s) Error of Vsini (2)
real*8 Prot (nr__) ! (d) Rotation period in
real*4 Vmag (nr__) ! (mag) Johnson V magnitude (3)
real*4 Kmag (nr__) ! (mag) 2MASS K magnitude (3)
real*4 J_K (nr__) ! (mag) 2MASS J-K index (3)
real*4 R (nr__) ! (Rsun) Stellar radius (4)
real*4 L (nr__) ! (Lsun) Stellar luminosity (4)
integer*4 Teff (nr__) ! (K) Stellar effective temperature (5)
character*3 n_Prot (nr__) ! Source of Prot (6)
character*8 Notes (nr__) ! 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 (nr__1) ! System name
real*4 Porb (nr__1) ! (d) Orbital period
real*4 vsini_1 (nr__1) ! (km/s) Equatorial rotational velocity times sin(i)
real*4 e_vsini_1 (nr__1) ! (km/s) Error of vsini (1)
real*4 R_ (nr__1) ! (Rsun) Stellar radius (2)
real*4 Teff_1 (nr__1) ! (K) Stellar effective temperature
real*4 logg (nr__1) ! ([cm/s2]) log_10 of the surface acceleration (2)
real*4 v_Fe_H_ (nr__1) ! Logarithmic iron abundance relative to the Sun
real*4 Prot_1 (nr__1) ! (d) Rotational period
real*4 age (nr__1) ! (Gyr) Stellar age from evolutionary models
real*4 e_age (nr__1) ! (Gyr) Error of the stellar age
character*2 S1 (nr__1) ! Source of the stellar parameters and vsini,
* in refs.dat file
character*2 S2 (nr__1) ! Source of the stellar parameters and vsini,
* in refs.dat file
character*2 S3 (nr__1) ! Source of the stellar parameters and vsini,
* in refs.dat file
character*1 Notes_1 (nr__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 (nr__2) ! Kepler Input Catalog number
real*8 RAdeg_1 (nr__2) ! (deg) Right Ascension (J2000.0), from KIC
real*8 DEdeg_1 (nr__2) ! (deg) Declination (J2000.0), from KIC
real*4 Prot_2 (nr__2) ! (d) Rotational period
real*4 R__1 (nr__2) ! (Rsun) Stellar radius
real*4 logg_1 (nr__2) ! ([cm/s2]) log_10 of the surface acceleration
integer*4 Teff_2 (nr__2) ! (K) Stellar effective temperature
real*4 vsini_2 (nr__2) ! (km/s) Equatorial rotational velocity times sin(i)
real*4 e_vsini_2 (nr__2) ! (km/s) Error of vsini
character*2 S1_1 (nr__2) ! Source of the stellar parameters and vsini,
* in refs.dat file
character*2 S2_1 (nr__2) ! Source of the stellar parameters and vsini,
* in refs.dat file
character*2 S3_1 (nr__2) ! 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 (nr__3) ! Reference number
character*19 BibCode (nr__3) ! BibCode
character*23 Aut (nr__3) ! Author's name
character*23 Com (nr__3) ! 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(i__),M44ID(i__),HATID(i__),RAdeg(i__),DEdeg(i__),
+ Vsini(i__),e_Vsini(i__),Prot(i__),Vmag(i__),Kmag(i__),
+ J_K(i__),R(i__),L(i__),Teff(i__),n_Prot(i__),Notes(i__)
c ..............Just test output...........
write(6,1)
+ K2ID(i__),M44ID(i__),HATID(i__),RAdeg(i__),DEdeg(i__),
+ Vsini(i__),e_Vsini(i__),Prot(i__),Vmag(i__),Kmag(i__),
+ J_K(i__),R(i__),L(i__),Teff(i__),n_Prot(i__),Notes(i__)
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(i__),Porb(i__),vsini_1(i__),e_vsini_1(i__),R_(i__),
+ Teff_1(i__),logg(i__),v_Fe_H_(i__),Prot_1(i__),age(i__),
+ e_age(i__),S1(i__),S2(i__),S3(i__),Notes_1(i__)
c ..............Just test output...........
write(6,2)
+ Name(i__),Porb(i__),vsini_1(i__),e_vsini_1(i__),R_(i__),
+ Teff_1(i__),logg(i__),v_Fe_H_(i__),Prot_1(i__),age(i__),
+ e_age(i__),S1(i__),S2(i__),S3(i__),Notes_1(i__)
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(i__),RAdeg_1(i__),DEdeg_1(i__),Prot_2(i__),R__1(i__),
+ logg_1(i__),Teff_2(i__),vsini_2(i__),e_vsini_2(i__),S1_1(i__),
+ S2_1(i__),S3_1(i__)
c ..............Just test output...........
write(6,3)
+ KIC(i__),RAdeg_1(i__),DEdeg_1(i__),Prot_2(i__),R__1(i__),
+ logg_1(i__),Teff_2(i__),vsini_2(i__),e_vsini_2(i__),S1_1(i__),
+ S2_1(i__),S3_1(i__)
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(i__),BibCode(i__),Aut(i__),Com(i__)
c ..............Just test output...........
write(6,4)Ref(i__),BibCode(i__),Aut(i__),Com(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end