Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/408/475 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-11
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/MNRAS/408/475 HATNet Pleiades Rotation Period Catalogue (Hartman+, 2010)
*================================================================================
*A large sample of photometric rotation periods for FGK Pleiades stars.
* Hartman J.D., Bakos G.A., Kovacs G., Noyes R.W.
* <Mon. Not. R. Astron. Soc., 408, 475-489 (2010)>
* =2010MNRAS.408..475H
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'prd.dat' ! Catalogue of rotation periods
integer*4 nr__
parameter (nr__=383) ! Number of records
character*172 ar__ ! Full-size record
C J2000 position composed of: RAdeg DEdeg
character*15 Name ! HATNet Designation (HAT-NNN-NNNNNNN)
real*8 RAdeg ! (deg) Right Ascension J2000 (from Stauffer et al.,
* 2007, Cat. J/ApJS/172/663)
real*8 DEdeg ! (deg) Declination J2000 (from Stauffer et al.,
* 2007, Cat. J/ApJS/172/663)
character*30 OtherID ! *Other Designations
real*8 Per ! (d) *Rotation period
real*8 e_Per ! (d) ?=-9.99999999 Uncertainty on the rotation
* period from fitting a Gaussian function to
* the peak frequency in the power spectrum
real*8 fwidth ! (d-1) ?=-9.99999 1-{sigma} width of a Gaussian
* function fit to the peak in the power spectrum
character*12 r_Per ! ? Other references for the period,
* in refs.dat file
real*8 rAmp ! (mag) ?=-9.9999 Peak-to-peak amplitude in the
* Sloan r filter
real*4 Bmag ! (mag) ?=-9.99 Magnitude (apparent) in B filter (from
* Stauffer et al., 2007, Cat. J/ApJS/172/663)
real*4 Vmag ! (mas) ?=-9.99 Magnitude (apparent) in V filter (from
* Stauffer et al., 2007, Cat. J/ApJS/172/663)
real*4 Kmag ! Magnitude (apparent) in K filter (from
* Stauffer et al., 2007, Cat. J/ApJS/172/663)
real*4 Mass ! (Msun) *Mass of the star
real*4 Radius ! (Rsun) *Radius of the star
character*1 l_vsini ! Upper or lower-limit flag on vsini
real*4 vsini ! (km/s) ?=-99.99 Projected equatorial rotation velocity
character*4 r_vsini ! Reference for the vsini, in refs.dat file
character*7 Bin ! *Note if the star is a known binary
*Note on OtherID:
* These designations are taken from Stauffer et al., 2007, Cat. J/ApJS/172/663.
* Rows without an entry for this column are new candidate cluster members.
*Note on Per:
* The given period is derived from the HATNet light curves except for
* cases where e_Per, fwidth, or rAmp are NULL. In those cases no HATNet
* period is available, and the given period is taken from the first
* reference listed.
*Note on Mass and Radius:
* This is derived from the K magnitude and the YY2 isochrones, except for
* the 9 stars with periods taken from Scholz & Eisloeffel
* (2004A&A...421..259S) for which the Baraffe 1998 (Cat. J/A+A/337/403)
* isochrones are used.
*Note on Bin:
* If this is not null the star is a known binary. The entry consists of
* two strings separated by a comma. The first string is either VB for a
* visual binary, or SB2 for a double-lined spectroscopic binary. The
* second string gives the reference for this determination.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'knownprd.dat' ! Compilation of previously published periods
integer*4 nr__1
parameter (nr__1=94) ! Number of records
character*45 ar__1 ! Full-size record
character*30 ID ! *Designation
real*8 Per_1 ! (d) Rotation period
character*4 r_Per_1 ! Reference for the period, in refs.dat file
*Note on ID:
* These designations are taken from Stauffer et al., 2007, Cat. J/ApJS/172/663
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'memnovar.dat' ! Cluster Members without detected periods
integer*4 nr__2
parameter (nr__2=120) ! Number of records
character*133 ar__2 ! Full-size record
C J2000 position composed of: RAdeg DEdeg
character*15 Name_1 ! HATNet Designation (HAT-NNN-NNNNNNN)
real*8 RAdeg_1 ! (deg) Right Ascension J2000 (from Stauffer et al.,
* 2007, Cat. J/ApJS/172/663)
real*8 DEdeg_1 ! (deg) Declination J2000 (from Stauffer et al.,
* 2007, Cat. J/ApJS/172/663)
character*31 OtherID_1 ! *Other Designations
integer*4 Nobs ! Number of photometric observations
real*8 RMS ! (mag) rms of the light curve
real*4 Bmag_1 ! (mag) ?=-9.99 Magnitude (apparent) in B filter (from
* Stauffer et al., 2007, Cat. J/ApJS/172/663)
real*4 Vmag_1 ! (mas) ?=-9.99 Magnitude (apparent) in V filter (from
* Stauffer et al., 2007, Cat. J/ApJS/172/663)
real*4 Kmag_1 ! Magnitude (apparent) in K filter (from
* Stauffer et al., 2007, Cat. J/ApJS/172/663)
real*4 Mass_1 ! (Msun) *Mass of the star
real*4 Radius_1 ! (Rsun) *Radius of the star
character*1 l_vsini_1 ! Upper or lower-limit flag on vsini
real*4 vsini_1 ! (km/s) ?=-99.99 Projected equatorial rotation velocity
character*4 r_vsini_1 ! Reference for the vsini
character*7 Bin_1 ! *Note if the star is a known binary
*Note on OtherID:
* Data are taken from Stauffer et al., 2007, Cat. J/ApJS/172/663.
*Note on Mass and Radius:
* This is derived from the K magnitude and the YY2 isochrones, except for
* the 9 stars with periods taken from Scholz & Eisloeffel
* (2004A&A...421..259S) for which the Baraffe 1998 (Cat. J/A+A/337/403)
* isochrones are used.
*Note on Bin:
* If this is not null the star is a known binary. The entry consists of
* two strings separated by a comma. The first string is either VB for a
* visual binary, or SB2 for a double-lined spectroscopic binary. The
* second string gives the reference for this determination.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'fieldprd.dat' ! Non-cluster member periodic variables
integer*4 nr__3
parameter (nr__3=1804) ! Number of records
character*76 ar__3 ! Full-size record
C J2000 position composed of: RAdeg DEdeg
character*15 Name_2 ! HATNet Designation (HAT-NNN-NNNNNNN)
real*8 RAdeg_2 ! (deg) Right Ascension J2000 (from 2MASS)
real*8 DEdeg_2 ! (deg) Declination J2000 (from 2MASS)
real*8 Per_2 ! (d) Period
real*8 rAmp_1 ! (mag) Peak-to-peak amplitude in the Sloan r filter
real*4 Jmag ! ?=-9.999 Magnitude (apparent) in 2MASS J filter
real*4 Hmag ! ?=-9.999 Magnitude (apparent) in 2MASS H filter
real*4 Kmag_2 ! ?=-9.999 Magnitude (apparent) in 2MASS K filter
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'refs.dat' ! References
integer*4 nr__4
parameter (nr__4=16) ! Number of records
character*72 ar__4 ! Full-size record
character*4 Ref ! Reference code
character*19 BibCode ! BibCode
character*20 Aut ! Author's name
character*26 Com ! Comments
C=============================================================================
C Loading file 'prd.dat' ! Catalogue of rotation periods
C Format for file interpretation
1 format(
+ A15,1X,F9.6,1X,F9.6,1X,A30,1X,F11.8,1X,F11.8,1X,F8.5,1X,A12,
+ 1X,F7.4,1X,F5.2,1X,F5.2,1X,F6.3,1X,F5.3,1X,F5.3,1X,A1,F6.2,1X,
+ A4,1X,A7)
C Effective file loading
open(unit=1,status='old',file=
+'prd.dat')
write(6,*) '....Loading file: prd.dat'
do i__=1,383
read(1,'(A172)')ar__
read(ar__,1)
+ Name,RAdeg,DEdeg,OtherID,Per,e_Per,fwidth,r_Per,rAmp,Bmag,
+ Vmag,Kmag,Mass,Radius,l_vsini,vsini,r_vsini,Bin
c ..............Just test output...........
write(6,1)
+ Name,RAdeg,DEdeg,OtherID,Per,e_Per,fwidth,r_Per,rAmp,Bmag,
+ Vmag,Kmag,Mass,Radius,l_vsini,vsini,r_vsini,Bin
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'knownprd.dat' ! Compilation of previously published periods
C Format for file interpretation
2 format(A30,1X,F9.6,1X,A4)
C Effective file loading
open(unit=1,status='old',file=
+'knownprd.dat')
write(6,*) '....Loading file: knownprd.dat'
do i__=1,94
read(1,'(A45)')ar__1
read(ar__1,2)ID,Per_1,r_Per_1
c ..............Just test output...........
write(6,2)ID,Per_1,r_Per_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'memnovar.dat' ! Cluster Members without detected periods
C Format for file interpretation
3 format(
+ A15,1X,F9.6,1X,F9.6,1X,A31,1X,I4,1X,F8.5,1X,F5.2,1X,F5.2,1X,
+ F6.3,1X,F5.3,1X,F5.3,1X,A1,F6.2,1X,A4,1X,A7)
C Effective file loading
open(unit=1,status='old',file=
+'memnovar.dat')
write(6,*) '....Loading file: memnovar.dat'
do i__=1,120
read(1,'(A133)')ar__2
read(ar__2,3)
+ Name_1,RAdeg_1,DEdeg_1,OtherID_1,Nobs,RMS,Bmag_1,Vmag_1,
+ Kmag_1,Mass_1,Radius_1,l_vsini_1,vsini_1,r_vsini_1,Bin_1
c ..............Just test output...........
write(6,3)
+ Name_1,RAdeg_1,DEdeg_1,OtherID_1,Nobs,RMS,Bmag_1,Vmag_1,
+ Kmag_1,Mass_1,Radius_1,l_vsini_1,vsini_1,r_vsini_1,Bin_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'fieldprd.dat' ! Non-cluster member periodic variables
C Format for file interpretation
4 format(
+ A15,1X,F9.6,1X,F9.6,1X,F11.8,1X,F7.4,1X,F6.3,1X,F6.3,1X,F6.3)
C Effective file loading
open(unit=1,status='old',file=
+'fieldprd.dat')
write(6,*) '....Loading file: fieldprd.dat'
do i__=1,1804
read(1,'(A76)')ar__3
read(ar__3,4)
+ Name_2,RAdeg_2,DEdeg_2,Per_2,rAmp_1,Jmag,Hmag,Kmag_2
c ..............Just test output...........
write(6,4)
+ Name_2,RAdeg_2,DEdeg_2,Per_2,rAmp_1,Jmag,Hmag,Kmag_2
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'refs.dat' ! References
C Format for file interpretation
5 format(A4,1X,A19,1X,A20,1X,A26)
C Effective file loading
open(unit=1,status='old',file=
+'refs.dat')
write(6,*) '....Loading file: refs.dat'
do i__=1,16
read(1,'(A72)')ar__4
read(ar__4,5)Ref,BibCode,Aut,Com
c ..............Just test output...........
write(6,5)Ref,BibCode,Aut,Com
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end