Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/159/273 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-10
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/AJ/159/273 Taurus members & nonmembers with K2 data (Rebull+, 2020)
*================================================================================
*Rotation of low-mass stars in Taurus with K2.
* Rebull L.M., Stauffer J.R., Cody A.M., Hillenbrand L.A., Bouvier J.,
* Roggero N., David T.J.
* <Astron. J., 159, 273 (2020)>
* =2020AJ....159..273R
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Periods and supporting data for Taurus members with
K2 light curves
integer*4 nr__
parameter (nr__=217) ! Number of records
character*230 ar__ ! Full-size record
C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg ! (deg) Right Ascension J2000
real*8 DEdeg ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
integer*4 EPIC ! [210509151/248180268] EPIC identifier
integer*4 RAh ! (h) [04/05] Hour of right ascension (J2000)
integer*4 RAm ! (min) Minute of right ascension (J2000)
real*4 RAs ! (s) Second of right ascension (J2000)
character*1 DE_ ! [+] Sign of declination (J2000)
integer*4 DEd ! (deg) [14/27] Degree of declination (J2000)
integer*4 DEm ! (arcmin) Arcminute of declination (J2000)
real*4 DEs ! (arcsec) Arcsecond of declination (J2000)
character*23 OName ! Other target identifier
character*19 Gaia ! Gaia DR2 identifier
real*4 Vmag ! (mag) [6.92/24.92]? Apparent V band Vega magnitude
real*4 Ksmag ! (mag) [5.32/15.44] Apparent Ks band Vega magnitude
real*4 v_V_Ks_o ! (mag) [0.08/11.58]? Observed (V-Ks) color
real*4 v_V_Ks_u ! (mag) [0.08/15.74] Used (V-Ks) color (1)
real*4 E_V_Ks ! (mag) [0/14.3] Adopted (V-Ks) color excess (2)
real*4 Ksmag0 ! (mag) [4.15/15.37] Inferred dereddended Ks Vega
* magnitude (2)
real*4 v_V_Ks_0 ! (mag) [-0.48/9.8] Inferred dereddended (V-Ks) color (3)
integer*4 r_mag ! References for magnitudes (G1)
integer*4 f_E_V_Ks ! Origin of E(V-Ks) leading to (V-Ks)0 (G2)
real*8 P1 ! (d) [0.18/28]? Primary period (4)
real*8 P2 ! (d) [0.05/16]? Secondary period
real*8 P3 ! (d) [0.31/12]? Tertiary period
real*4 P4 ! (d) [0.18/0.27]? Quaternary period
character*11 Member ! Membership classification (5)
character*5 IRexcess ! Presence of an IR excess
character*4 IRexStr ! (um) Minimum wavelength where IR excess is detected
* (6)
real*4 Slope ! [-2.89/1.94]? SED slope (7)
character*4 Class ! SED class; I, flat, II, or III
character*3 dip ! LC matches dipper characteristics (8)
character*3 burst ! LC matches burster characteristics (8)
character*6 mult ! Single or multi-period star flag
character*3 dd ! LC and power spectrum matches double-dip
* characteristics (8)
character*3 ddmove ! LC and power spectrum matche moving double-dip
* characteristics (8)
character*3 shape ! LC matches shape changer characteristics (8)
character*3 beat ! LC has beating visible (8)
character*3 complex ! Power spectrum has a complex, structured peak
* and/or wide peak (8)
character*3 closep ! Power spectrum has resolved close peaks (8)
character*3 distp ! Power spectrum has resolved distant peaks (8)
character*3 pulse ! Power spectrum and LC match pulsator
* characteristics (8)
*Note (1): Observed or inferred; see text.
*Note (2): In order to deredden the (V-Ks) colors, we followed the same
* approach as in Rebull+, 2018, J/AJ/155/196, with some modifications
* explained at section 2.5 in the article.
*Note (3): Rounded to nearest 0.1 to emphasize the relatively low accuracy.
*Note (4): Taken to be rotation period in cases where there is >1 period.
*Note (5): Highest quality member, possible member, foreground young star
* (see section 2.2).
*Note (6): Or the limit of our knowledge of where there is no excess
* (see section 4).
*Note (7): Fit to all available detections between 2 and 25{mu}m
*Note (8): In Papers II (Rebull+, 2016, J/AJ/152/113), IV (Rebull+,
* 2017, J/ApJ/839/92) and V (Rebull+, 2018, J/AJ/155/196) we classified
* the Light Curves (LC) and periodogram morphologies for the Pleiades,
* Praesepe, USco, and pOph; see these references for discussion of the
* classes (e.g., double-dip, scallop, etc.). See section 6.2 for more
* informations.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tablea1.dat' ! Periods and supporting data for Taurus likely
nonmembers with K2 light curves
integer*4 nr__1
parameter (nr__1=632) ! Number of records
character*209 ar__1 ! Full-size record
C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg_1 ! (deg) Right Ascension J2000
real*8 DEdeg_1 ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
integer*4 EPIC_1 ! EPIC identifier
integer*4 RAh_1 ! (h) [03/05] Hour of right ascension (J2000)
integer*4 RAm_1 ! (min) Minute of right ascension (J2000)
real*4 RAs_1 ! (s) Second of right ascension (J2000)
character*1 DE__1 ! [+] Sign of declination (J2000)
integer*4 DEd_1 ! (deg) [12/28] Degreee of declination (J2000)
integer*4 DEm_1 ! (arcmin) Arcminute of declination (J2000)
real*4 DEs_1 ! (arcsec) Arcsecond of declination (J2000)
character*25 OName_1 ! Other target identifier
character*19 Gaia_1 ! Gaia DR2 identifier
real*4 Vmag_1 ! (mag) [4.82/22.5]? Apparent V band Vega magnitude
real*4 Ksmag_1 ! (mag) [3.02/16.4] Apparent Ks band Vega magnitude
real*4 v_V_Ks_o_1 ! (mag) [-0.29/8.71]? Observed (V-Ks) color
real*4 v_V_Ks_u_1 ! (mag) [-0.29/14.1] Used (V-Ks) color (1)
real*4 E_V_Ks_1 ! (mag) [0/10.2] Adopted (V-Ks) color excess (2)
real*4 Ksmag0_1 ! (mag) [2.6/16.4] Inferred dereddended Ks Vega magnitude
* (2)
real*4 v_V_Ks_0_1 ! (mag) [-0.87/13.7] Inferred dereddended (V-Ks) color
* (3)
integer*4 r_mag_1 ! References for magnitudes (G1)
integer*4 f_E_V_Ks_1 ! Origin of E(V-Ks) leading to (V-Ks)0 (G2)
real*8 P1_1 ! (d) [0.04/25.4]? Primary period (4)
real*4 P2_1 ! (d) [0.05/8.86]? Secondary period
real*4 P3_1 ! (d) [0.04/9.21]? Tertiary period
real*4 P4_1 ! (d) [0.05/2.39]? Quaternary period
character*5 IRexcess_1 ! Presence of an IR excess; see parargaph 4
character*3 IRexStr_1 ! (um) Minimum wavelength where IR excess is detected
* (5)
real*4 Slope_1 ! [-4.04/1.06]? SED slope (6)
character*4 Class_1 ! SED class; I, flat, II, or III
character*6 mult_1 ! Single or multi-period star flag
character*3 dd_1 ! LC and power spectrum matches double-dip
* characteristics (7)
character*3 ddmove_1 ! LC and power spectrum matche moving double-dip
* characteristics (7)
character*3 shape_1 ! LC matches shape changer characteristics (7)
character*3 beat_1 ! LC has beating visible (7)
character*3 complex_1 ! Power spectrum has a complex, structured peak
* and/or wide peak (7)
character*3 closep_1 ! Power spectrum has resolved close peaks (7)
character*3 distp_1 ! Power spectrum has resolved distant peaks (7)
character*3 pulse_1 ! Power spectrum and LC match pulsator
* characteristics (7)
*Note (1): Observed or inferred; see text.
*Note (2): In order to deredden the (V-Ks) colors, we followed the same
* approach as in Rebull+, 2018, J/AJ/155/196, with some modifications
* explained at section 2.5 in the article.
*Note (3): Rounded to nearest 0.1 to emphasize the relatively low accuracy.
*Note (4): Taken to be rotation period in cases where there is >1 period.
*Note (5): Or the limit of our knowledge of where there is no excess
* (see section 4).
*Note (6): Fit to all available detections between 2 and 25{mu}m.
*Note (7): In Papers II (Rebull+, 2016, J/AJ/152/113), IV (Rebull+,
* 2017, J/ApJ/839/92) and V (Rebull+, 2018, J/AJ/155/196) we classified
* the Light Curves (LC) and periodogram morphologies for the Pleiades,
* Praesepe, USco, and pOph; see these references for discussion of the
* classes (e.g., double-dip, scallop, etc.). See section 6.2 for more
* informations.
C=============================================================================
C Loading file 'table2.dat' ! Periods and supporting data for Taurus members with
* K2 light curves
C Format for file interpretation
1 format(
+ I9,1X,I2,I2,F5.2,A1,I2,I2,F4.1,1X,A23,1X,A19,1X,F5.2,1X,F5.2,
+ 1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,I1,1X,I1,1X,F7.4,
+ 1X,F7.4,1X,F7.4,1X,F6.4,1X,A11,1X,A5,1X,A4,1X,F5.2,1X,A4,1X,
+ A3,1X,A3,1X,A6,1X,A3,1X,A3,1X,A3,1X,A3,1X,A3,1X,A3,1X,A3,1X,A3)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,217
read(1,'(A230)')ar__
read(ar__,1)
+ EPIC,RAh,RAm,RAs,DE_,DEd,DEm,DEs,OName,Gaia,Vmag,Ksmag,
+ v_V_Ks_o,v_V_Ks_u,E_V_Ks,Ksmag0,v_V_Ks_0,r_mag,f_E_V_Ks,P1,P2,
+ P3,P4,Member,IRexcess,IRexStr,Slope,Class,dip,burst,mult,dd,
+ ddmove,shape,beat,complex,closep,distp,pulse
if(ar__(74:78) .EQ. '') Vmag = rNULL__
if(ar__(86:90) .EQ. '') v_V_Ks_o = rNULL__
if(ar__(120:126) .EQ. '') P1 = rNULL__
if(ar__(128:134) .EQ. '') P2 = rNULL__
if(ar__(136:142) .EQ. '') P3 = rNULL__
if(ar__(144:149) .EQ. '') P4 = rNULL__
if(ar__(174:178) .EQ. '') Slope = rNULL__
RAdeg = rNULL__
DEdeg = rNULL__
c Derive coordinates RAdeg and DEdeg from input data
c (RAdeg and DEdeg are set to rNULL__ when unknown)
if(RAh .GT. -180) RAdeg=RAh*15.
if(RAm .GT. -180) RAdeg=RAdeg+RAm/4.
if(RAs .GT. -180) RAdeg=RAdeg+RAs/240.
if(DEd .GE. 0) DEdeg=DEd
if(DEm .GE. 0) DEdeg=DEdeg+DEm/60.
if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600.
if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg
c ..............Just test output...........
write(6,1)
+ EPIC,RAh,RAm,RAs,DE_,DEd,DEm,DEs,OName,Gaia,Vmag,Ksmag,
+ v_V_Ks_o,v_V_Ks_u,E_V_Ks,Ksmag0,v_V_Ks_0,r_mag,f_E_V_Ks,P1,P2,
+ P3,P4,Member,IRexcess,IRexStr,Slope,Class,dip,burst,mult,dd,
+ ddmove,shape,beat,complex,closep,distp,pulse
write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'tablea1.dat' ! Periods and supporting data for Taurus likely
* nonmembers with K2 light curves
C Format for file interpretation
2 format(
+ I9,1X,I2,I2,F5.2,A1,I2,I2,F4.1,1X,A25,1X,A19,1X,F5.2,1X,F5.2,
+ 1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,I1,1X,I1,1X,F7.4,
+ 1X,F6.4,1X,F6.4,1X,F6.4,1X,A5,1X,A3,1X,F5.2,1X,A4,1X,A6,1X,A3,
+ 1X,A3,1X,A3,1X,A3,1X,A3,1X,A3,1X,A3,1X,A3)
C Effective file loading
open(unit=1,status='old',file=
+'tablea1.dat')
write(6,*) '....Loading file: tablea1.dat'
do i__=1,632
read(1,'(A209)')ar__1
read(ar__1,2)
+ EPIC_1,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1,OName_1,
+ Gaia_1,Vmag_1,Ksmag_1,v_V_Ks_o_1,v_V_Ks_u_1,E_V_Ks_1,Ksmag0_1,
+ v_V_Ks_0_1,r_mag_1,f_E_V_Ks_1,P1_1,P2_1,P3_1,P4_1,IRexcess_1,
+ IRexStr_1,Slope_1,Class_1,mult_1,dd_1,ddmove_1,shape_1,beat_1,
+ complex_1,closep_1,distp_1,pulse_1
if(ar__1(76:80) .EQ. '') Vmag_1 = rNULL__
if(ar__1(88:92) .EQ. '') v_V_Ks_o_1 = rNULL__
if(ar__1(122:128) .EQ. '') P1_1 = rNULL__
if(ar__1(130:135) .EQ. '') P2_1 = rNULL__
if(ar__1(137:142) .EQ. '') P3_1 = rNULL__
if(ar__1(144:149) .EQ. '') P4_1 = rNULL__
if(ar__1(161:165) .EQ. '') Slope_1 = rNULL__
RAdeg_1 = rNULL__
DEdeg_1 = rNULL__
c Derive coordinates RAdeg_1 and DEdeg_1 from input data
c (RAdeg_1 and DEdeg_1 are set to rNULL__ when unknown)
if(RAh_1 .GT. -180) RAdeg_1=RAh_1*15.
if(RAm_1 .GT. -180) RAdeg_1=RAdeg_1+RAm_1/4.
if(RAs_1 .GT. -180) RAdeg_1=RAdeg_1+RAs_1/240.
if(DEd_1 .GE. 0) DEdeg_1=DEd_1
if(DEm_1 .GE. 0) DEdeg_1=DEdeg_1+DEm_1/60.
if(DEs_1 .GE. 0) DEdeg_1=DEdeg_1+DEs_1/3600.
if(DE__1.EQ.'-'.AND.DEdeg_1.GE.0) DEdeg_1=-DEdeg_1
c ..............Just test output...........
write(6,2)
+ EPIC_1,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1,OName_1,
+ Gaia_1,Vmag_1,Ksmag_1,v_V_Ks_o_1,v_V_Ks_u_1,E_V_Ks_1,Ksmag0_1,
+ v_V_Ks_0_1,r_mag_1,f_E_V_Ks_1,P1_1,P2_1,P3_1,P4_1,IRexcess_1,
+ IRexStr_1,Slope_1,Class_1,mult_1,dd_1,ddmove_1,shape_1,beat_1,
+ complex_1,closep_1,distp_1,pulse_1
write(6,'(6H Pos: 2F8.4)') RAdeg_1,DEdeg_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end