Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/159/273 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-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 (nr__) ! (deg) Right Ascension J2000
real*8 DEdeg (nr__) ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
integer*4 EPIC (nr__) ! [210509151/248180268] EPIC identifier
integer*4 RAh (nr__) ! (h) [04/05] Hour of right ascension (J2000)
integer*4 RAm (nr__) ! (min) Minute of right ascension (J2000)
real*4 RAs (nr__) ! (s) Second of right ascension (J2000)
character*1 DE_ (nr__) ! [+] Sign of declination (J2000)
integer*4 DEd (nr__) ! (deg) [14/27] Degree of declination (J2000)
integer*4 DEm (nr__) ! (arcmin) Arcminute of declination (J2000)
real*4 DEs (nr__) ! (arcsec) Arcsecond of declination (J2000)
character*23 OName (nr__) ! Other target identifier
character*19 Gaia (nr__) ! Gaia DR2 identifier
real*4 Vmag (nr__) ! (mag) [6.92/24.92]? Apparent V band Vega magnitude
real*4 Ksmag (nr__) ! (mag) [5.32/15.44] Apparent Ks band Vega magnitude
real*4 v_V_Ks_o (nr__) ! (mag) [0.08/11.58]? Observed (V-Ks) color
real*4 v_V_Ks_u (nr__) ! (mag) [0.08/15.74] Used (V-Ks) color (1)
real*4 E_V_Ks (nr__) ! (mag) [0/14.3] Adopted (V-Ks) color excess (2)
real*4 Ksmag0 (nr__) ! (mag) [4.15/15.37] Inferred dereddended Ks Vega
* magnitude (2)
real*4 v_V_Ks_0 (nr__) ! (mag) [-0.48/9.8] Inferred dereddended (V-Ks) color (3)
integer*4 r_mag (nr__) ! References for magnitudes (G1)
integer*4 f_E_V_Ks (nr__) ! Origin of E(V-Ks) leading to (V-Ks)0 (G2)
real*8 P1 (nr__) ! (d) [0.18/28]? Primary period (4)
real*8 P2 (nr__) ! (d) [0.05/16]? Secondary period
real*8 P3 (nr__) ! (d) [0.31/12]? Tertiary period
real*4 P4 (nr__) ! (d) [0.18/0.27]? Quaternary period
character*11 Member (nr__) ! Membership classification (5)
character*5 IRexcess (nr__) ! Presence of an IR excess
character*4 IRexStr (nr__) ! (um) Minimum wavelength where IR excess is detected
* (6)
real*4 Slope (nr__) ! [-2.89/1.94]? SED slope (7)
character*4 Class (nr__) ! SED class; I, flat, II, or III
character*3 dip (nr__) ! LC matches dipper characteristics (8)
character*3 burst (nr__) ! LC matches burster characteristics (8)
character*6 mult (nr__) ! Single or multi-period star flag
character*3 dd (nr__) ! LC and power spectrum matches double-dip
* characteristics (8)
character*3 ddmove (nr__) ! LC and power spectrum matche moving double-dip
* characteristics (8)
character*3 shape (nr__) ! LC matches shape changer characteristics (8)
character*3 beat (nr__) ! LC has beating visible (8)
character*3 complex (nr__) ! Power spectrum has a complex, structured peak
* and/or wide peak (8)
character*3 closep (nr__) ! Power spectrum has resolved close peaks (8)
character*3 distp (nr__) ! Power spectrum has resolved distant peaks (8)
character*3 pulse (nr__) ! 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 (nr__1) ! (deg) Right Ascension J2000
real*8 DEdeg_1 (nr__1) ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
integer*4 EPIC_1 (nr__1) ! EPIC identifier
integer*4 RAh_1 (nr__1) ! (h) [03/05] Hour of right ascension (J2000)
integer*4 RAm_1 (nr__1) ! (min) Minute of right ascension (J2000)
real*4 RAs_1 (nr__1) ! (s) Second of right ascension (J2000)
character*1 DE__1 (nr__1) ! [+] Sign of declination (J2000)
integer*4 DEd_1 (nr__1) ! (deg) [12/28] Degreee of declination (J2000)
integer*4 DEm_1 (nr__1) ! (arcmin) Arcminute of declination (J2000)
real*4 DEs_1 (nr__1) ! (arcsec) Arcsecond of declination (J2000)
character*25 OName_1 (nr__1) ! Other target identifier
character*19 Gaia_1 (nr__1) ! Gaia DR2 identifier
real*4 Vmag_1 (nr__1) ! (mag) [4.82/22.5]? Apparent V band Vega magnitude
real*4 Ksmag_1 (nr__1) ! (mag) [3.02/16.4] Apparent Ks band Vega magnitude
real*4 v_V_Ks_o_1 (nr__1) ! (mag) [-0.29/8.71]? Observed (V-Ks) color
real*4 v_V_Ks_u_1 (nr__1) ! (mag) [-0.29/14.1] Used (V-Ks) color (1)
real*4 E_V_Ks_1 (nr__1) ! (mag) [0/10.2] Adopted (V-Ks) color excess (2)
real*4 Ksmag0_1 (nr__1) ! (mag) [2.6/16.4] Inferred dereddended Ks Vega magnitude
* (2)
real*4 v_V_Ks_0_1 (nr__1) ! (mag) [-0.87/13.7] Inferred dereddended (V-Ks) color
* (3)
integer*4 r_mag_1 (nr__1) ! References for magnitudes (G1)
integer*4 f_E_V_Ks_1 (nr__1) ! Origin of E(V-Ks) leading to (V-Ks)0 (G2)
real*8 P1_1 (nr__1) ! (d) [0.04/25.4]? Primary period (4)
real*4 P2_1 (nr__1) ! (d) [0.05/8.86]? Secondary period
real*4 P3_1 (nr__1) ! (d) [0.04/9.21]? Tertiary period
real*4 P4_1 (nr__1) ! (d) [0.05/2.39]? Quaternary period
character*5 IRexcess_1 (nr__1) ! Presence of an IR excess; see parargaph 4
character*3 IRexStr_1 (nr__1) ! (um) Minimum wavelength where IR excess is detected
* (5)
real*4 Slope_1 (nr__1) ! [-4.04/1.06]? SED slope (6)
character*4 Class_1 (nr__1) ! SED class; I, flat, II, or III
character*6 mult_1 (nr__1) ! Single or multi-period star flag
character*3 dd_1 (nr__1) ! LC and power spectrum matches double-dip
* characteristics (7)
character*3 ddmove_1 (nr__1) ! LC and power spectrum matche moving double-dip
* characteristics (7)
character*3 shape_1 (nr__1) ! LC matches shape changer characteristics (7)
character*3 beat_1 (nr__1) ! LC has beating visible (7)
character*3 complex_1 (nr__1) ! Power spectrum has a complex, structured peak
* and/or wide peak (7)
character*3 closep_1 (nr__1) ! Power spectrum has resolved close peaks (7)
character*3 distp_1 (nr__1) ! Power spectrum has resolved distant peaks (7)
character*3 pulse_1 (nr__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(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),
+ DEm(i__),DEs(i__),OName(i__),Gaia(i__),Vmag(i__),Ksmag(i__),
+ v_V_Ks_o(i__),v_V_Ks_u(i__),E_V_Ks(i__),Ksmag0(i__),
+ v_V_Ks_0(i__),r_mag(i__),f_E_V_Ks(i__),P1(i__),P2(i__),
+ P3(i__),P4(i__),Member(i__),IRexcess(i__),IRexStr(i__),
+ Slope(i__),Class(i__),dip(i__),burst(i__),mult(i__),dd(i__),
+ ddmove(i__),shape(i__),beat(i__),complex(i__),closep(i__),
+ distp(i__),pulse(i__)
if(ar__(74:78) .EQ. '') Vmag(i__) = rNULL__
if(ar__(86:90) .EQ. '') v_V_Ks_o(i__) = rNULL__
if(ar__(120:126) .EQ. '') P1(i__) = rNULL__
if(ar__(128:134) .EQ. '') P2(i__) = rNULL__
if(ar__(136:142) .EQ. '') P3(i__) = rNULL__
if(ar__(144:149) .EQ. '') P4(i__) = rNULL__
if(ar__(174:178) .EQ. '') Slope(i__) = rNULL__
RAdeg(i__) = rNULL__
DEdeg(i__) = rNULL__
c Derive coordinates RAdeg and DEdeg from input data
c (RAdeg and DEdeg are set to rNULL__ when unknown)
if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15.
if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4.
if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240.
if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__)
if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60.
if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600.
if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__)
c ..............Just test output...........
write(6,1)
+ EPIC(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),
+ DEm(i__),DEs(i__),OName(i__),Gaia(i__),Vmag(i__),Ksmag(i__),
+ v_V_Ks_o(i__),v_V_Ks_u(i__),E_V_Ks(i__),Ksmag0(i__),
+ v_V_Ks_0(i__),r_mag(i__),f_E_V_Ks(i__),P1(i__),P2(i__),
+ P3(i__),P4(i__),Member(i__),IRexcess(i__),IRexStr(i__),
+ Slope(i__),Class(i__),dip(i__),burst(i__),mult(i__),dd(i__),
+ ddmove(i__),shape(i__),beat(i__),complex(i__),closep(i__),
+ distp(i__),pulse(i__)
write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__)
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(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__),DE__1(i__),
+ DEd_1(i__),DEm_1(i__),DEs_1(i__),OName_1(i__),Gaia_1(i__),
+ Vmag_1(i__),Ksmag_1(i__),v_V_Ks_o_1(i__),v_V_Ks_u_1(i__),
+ E_V_Ks_1(i__),Ksmag0_1(i__),v_V_Ks_0_1(i__),r_mag_1(i__),
+ f_E_V_Ks_1(i__),P1_1(i__),P2_1(i__),P3_1(i__),P4_1(i__),
+ IRexcess_1(i__),IRexStr_1(i__),Slope_1(i__),Class_1(i__),
+ mult_1(i__),dd_1(i__),ddmove_1(i__),shape_1(i__),beat_1(i__),
+ complex_1(i__),closep_1(i__),distp_1(i__),pulse_1(i__)
if(ar__1(76:80) .EQ. '') Vmag_1(i__) = rNULL__
if(ar__1(88:92) .EQ. '') v_V_Ks_o_1(i__) = rNULL__
if(ar__1(122:128) .EQ. '') P1_1(i__) = rNULL__
if(ar__1(130:135) .EQ. '') P2_1(i__) = rNULL__
if(ar__1(137:142) .EQ. '') P3_1(i__) = rNULL__
if(ar__1(144:149) .EQ. '') P4_1(i__) = rNULL__
if(ar__1(161:165) .EQ. '') Slope_1(i__) = rNULL__
RAdeg_1(i__) = rNULL__
DEdeg_1(i__) = 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(i__) .GT. -180) RAdeg_1(i__)=RAh_1(i__)*15.
if(RAm_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAm_1(i__)/4.
if(RAs_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAs_1(i__)/240.
if(DEd_1(i__) .GE. 0) DEdeg_1(i__)=DEd_1(i__)
if(DEm_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEm_1(i__)/60.
if(DEs_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEs_1(i__)/3600.
if(DE__1(i__).EQ.'-'.AND.DEdeg_1(i__).GE.0) DEdeg_1(i__)=-DEdeg_1(i__)
c ..............Just test output...........
write(6,2)
+ EPIC_1(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__),DE__1(i__),
+ DEd_1(i__),DEm_1(i__),DEs_1(i__),OName_1(i__),Gaia_1(i__),
+ Vmag_1(i__),Ksmag_1(i__),v_V_Ks_o_1(i__),v_V_Ks_u_1(i__),
+ E_V_Ks_1(i__),Ksmag0_1(i__),v_V_Ks_0_1(i__),r_mag_1(i__),
+ f_E_V_Ks_1(i__),P1_1(i__),P2_1(i__),P3_1(i__),P4_1(i__),
+ IRexcess_1(i__),IRexStr_1(i__),Slope_1(i__),Class_1(i__),
+ mult_1(i__),dd_1(i__),ddmove_1(i__),shape_1(i__),beat_1(i__),
+ complex_1(i__),closep_1(i__),distp_1(i__),pulse_1(i__)
write(6,'(6H Pos: 2F8.4)') RAdeg_1(i__),DEdeg_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end