Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/408/475 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-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 (nr__) ! HATNet Designation (HAT-NNN-NNNNNNN)
real*8 RAdeg (nr__) ! (deg) Right Ascension J2000 (from Stauffer et al.,
* 2007, Cat. J/ApJS/172/663)
real*8 DEdeg (nr__) ! (deg) Declination J2000 (from Stauffer et al.,
* 2007, Cat. J/ApJS/172/663)
character*30 OtherID (nr__) ! *Other Designations
real*8 Per (nr__) ! (d) *Rotation period
real*8 e_Per (nr__) ! (d) ?=-9.99999999 Uncertainty on the rotation
* period from fitting a Gaussian function to
* the peak frequency in the power spectrum
real*8 fwidth (nr__) ! (d-1) ?=-9.99999 1-{sigma} width of a Gaussian
* function fit to the peak in the power spectrum
character*12 r_Per (nr__) ! ? Other references for the period,
* in refs.dat file
real*8 rAmp (nr__) ! (mag) ?=-9.9999 Peak-to-peak amplitude in the
* Sloan r filter
real*4 Bmag (nr__) ! (mag) ?=-9.99 Magnitude (apparent) in B filter (from
* Stauffer et al., 2007, Cat. J/ApJS/172/663)
real*4 Vmag (nr__) ! (mas) ?=-9.99 Magnitude (apparent) in V filter (from
* Stauffer et al., 2007, Cat. J/ApJS/172/663)
real*4 Kmag (nr__) ! Magnitude (apparent) in K filter (from
* Stauffer et al., 2007, Cat. J/ApJS/172/663)
real*4 Mass (nr__) ! (Msun) *Mass of the star
real*4 Radius (nr__) ! (Rsun) *Radius of the star
character*1 l_vsini (nr__) ! Upper or lower-limit flag on vsini
real*4 vsini (nr__) ! (km/s) ?=-99.99 Projected equatorial rotation velocity
character*4 r_vsini (nr__) ! Reference for the vsini, in refs.dat file
character*7 Bin (nr__) ! *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 (nr__1) ! *Designation
real*8 Per_1 (nr__1) ! (d) Rotation period
character*4 r_Per_1 (nr__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 (nr__2) ! HATNet Designation (HAT-NNN-NNNNNNN)
real*8 RAdeg_1 (nr__2) ! (deg) Right Ascension J2000 (from Stauffer et al.,
* 2007, Cat. J/ApJS/172/663)
real*8 DEdeg_1 (nr__2) ! (deg) Declination J2000 (from Stauffer et al.,
* 2007, Cat. J/ApJS/172/663)
character*31 OtherID_1 (nr__2) ! *Other Designations
integer*4 Nobs (nr__2) ! Number of photometric observations
real*8 RMS (nr__2) ! (mag) rms of the light curve
real*4 Bmag_1 (nr__2) ! (mag) ?=-9.99 Magnitude (apparent) in B filter (from
* Stauffer et al., 2007, Cat. J/ApJS/172/663)
real*4 Vmag_1 (nr__2) ! (mas) ?=-9.99 Magnitude (apparent) in V filter (from
* Stauffer et al., 2007, Cat. J/ApJS/172/663)
real*4 Kmag_1 (nr__2) ! Magnitude (apparent) in K filter (from
* Stauffer et al., 2007, Cat. J/ApJS/172/663)
real*4 Mass_1 (nr__2) ! (Msun) *Mass of the star
real*4 Radius_1 (nr__2) ! (Rsun) *Radius of the star
character*1 l_vsini_1 (nr__2) ! Upper or lower-limit flag on vsini
real*4 vsini_1 (nr__2) ! (km/s) ?=-99.99 Projected equatorial rotation velocity
character*4 r_vsini_1 (nr__2) ! Reference for the vsini
character*7 Bin_1 (nr__2) ! *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 (nr__3) ! HATNet Designation (HAT-NNN-NNNNNNN)
real*8 RAdeg_2 (nr__3) ! (deg) Right Ascension J2000 (from 2MASS)
real*8 DEdeg_2 (nr__3) ! (deg) Declination J2000 (from 2MASS)
real*8 Per_2 (nr__3) ! (d) Period
real*8 rAmp_1 (nr__3) ! (mag) Peak-to-peak amplitude in the Sloan r filter
real*4 Jmag (nr__3) ! ?=-9.999 Magnitude (apparent) in 2MASS J filter
real*4 Hmag (nr__3) ! ?=-9.999 Magnitude (apparent) in 2MASS H filter
real*4 Kmag_2 (nr__3) ! ?=-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 (nr__4) ! Reference code
character*19 BibCode (nr__4) ! BibCode
character*20 Aut (nr__4) ! Author's name
character*26 Com (nr__4) ! 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(i__),RAdeg(i__),DEdeg(i__),OtherID(i__),Per(i__),
+ e_Per(i__),fwidth(i__),r_Per(i__),rAmp(i__),Bmag(i__),
+ Vmag(i__),Kmag(i__),Mass(i__),Radius(i__),l_vsini(i__),
+ vsini(i__),r_vsini(i__),Bin(i__)
c ..............Just test output...........
write(6,1)
+ Name(i__),RAdeg(i__),DEdeg(i__),OtherID(i__),Per(i__),
+ e_Per(i__),fwidth(i__),r_Per(i__),rAmp(i__),Bmag(i__),
+ Vmag(i__),Kmag(i__),Mass(i__),Radius(i__),l_vsini(i__),
+ vsini(i__),r_vsini(i__),Bin(i__)
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(i__),Per_1(i__),r_Per_1(i__)
c ..............Just test output...........
write(6,2)ID(i__),Per_1(i__),r_Per_1(i__)
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(i__),RAdeg_1(i__),DEdeg_1(i__),OtherID_1(i__),
+ Nobs(i__),RMS(i__),Bmag_1(i__),Vmag_1(i__),Kmag_1(i__),
+ Mass_1(i__),Radius_1(i__),l_vsini_1(i__),vsini_1(i__),
+ r_vsini_1(i__),Bin_1(i__)
c ..............Just test output...........
write(6,3)
+ Name_1(i__),RAdeg_1(i__),DEdeg_1(i__),OtherID_1(i__),
+ Nobs(i__),RMS(i__),Bmag_1(i__),Vmag_1(i__),Kmag_1(i__),
+ Mass_1(i__),Radius_1(i__),l_vsini_1(i__),vsini_1(i__),
+ r_vsini_1(i__),Bin_1(i__)
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(i__),RAdeg_2(i__),DEdeg_2(i__),Per_2(i__),rAmp_1(i__),
+ Jmag(i__),Hmag(i__),Kmag_2(i__)
c ..............Just test output...........
write(6,4)
+ Name_2(i__),RAdeg_2(i__),DEdeg_2(i__),Per_2(i__),rAmp_1(i__),
+ Jmag(i__),Hmag(i__),Kmag_2(i__)
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(i__),BibCode(i__),Aut(i__),Com(i__)
c ..............Just test output...........
write(6,5)Ref(i__),BibCode(i__),Aut(i__),Com(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end