Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/646/523 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 2024-Apr-19 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/ApJ/646/523 Exoplanet systems with stellar companions (Raghavan+, 2006) *================================================================================ *Two suns in the sky: stellar multiplicity in exoplanet systems. * Raghavan D., Henry T.J., Mason B.D., Subasavage J.P., Jao W.-C., * Beaulieu T.D., Hambly N.C. * <Astrophys. J., 646, 523-542 (2006)> * =2006ApJ...646..523R C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Sample list of exoplanet systems searched for companions integer*4 nr__ parameter (nr__=131) ! Number of records character*57 ar__ ! Full-size record character*11 Name ! Object name character*1 n_Name ! Note about {rho} CrB (1) real*4 pm ! (arcsec/yr) Proper motion real*4 pmPA ! (deg) Position angle of proper motion real*8 Epoch1 ! (yr) Epoch of the 1st observation (2) real*8 Epoch2 ! (yr) Epoch of the 2nd observation (2) real*4 Dist ! (arcsec) Proper motion distance between Epoch1 and * Epoch2 character*3 pmO ! Proper motion detectable in the DSS * frames? (3) character*1 CPM ! Companions detected via Common Proper * Motion (4) character*3 Other ! Other companions (4) *Note (1): 1 = We conclude that this system ({rho} CrB) has either a * planetary or a stellar companion, but not both. See Section 2.3 * for more details. *Note (2): In fractional year (Besselian) format. *Note (3): MAR = the proper motion was marginally detectable. *Note (4): A "?" following the companion ID indicates that the source * remains a candidate, and could not be confirmed or refuted with * confidence. The absence of a question mark indicates that the * companion is confirmed. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Exoplanet systems with stellar companions integer*4 nr__1 parameter (nr__1=122) ! Number of records character*140 ar__1 ! 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) character*1 St ! [CU] Status of stellar candidate companions, * (C)onfirmed or (U)nconfirmed integer*4 Seq ! Sequence number integer*4 HD ! HD number character*1 m_HD ! Multiplicity index on HD character*14 Name_1 ! Object name character*1 m_Name ! Stellar/Planetary companion identification character*3 f_Name ! [12356, ] Flag(s) on companion (1) integer*4 RAh ! (h) Hour of Right Ascension (J2000) (2) integer*4 RAm ! (min) Minute of Right Ascension (J2000) (2) real*4 RAs ! (s) Second of Right Ascension (J2000) (2) character*1 DE_ ! Sign of the Declination (J2000) (2) integer*4 DEd ! (deg) Degree of Declination (J2000) (2) integer*4 DEm ! (arcmin) Arcminute of Declination (J2000) (2) real*4 DEs ! (arcsec) Arcsecond of Declination (J2000) (2) real*8 plx ! (arcsec) ? Hipparcos trigonometric parallax real*4 Dist_1 ! (pc) ? Distance integer*4 u_Dist ! [4]? Distance assumes equal brightness (3) character*1 n_Dist ! [CPT] Determination code for Dist (4) character*7 SpType ! Spectral type real*4 rho ! (arcsec) ? Stellar and exoplanet angular separation integer*4 PA ! (deg) ? Stellar and exoplanet position angle real*8 PSep ! (AU) ? Projected primary & secondary star spatial * separation real*4 Msini ! (jovMass) ? Exoplanet mass in Jupiter masses real*4 asini ! (AU) ? Exoplanet spatial separation real*4 e ! ? Eccentricity character*4 Src ! [PWCDHOI ] Source(s) used to detect companion * stars (5) character*13 Ref ! Reference(s), in refs.dat file *Note (1): Flag on Comp as follows: * 1 = Known companion, but first identification of the star as a * companion to an exoplanet host. * 2 = New stellar companion reported by this work. * 3 = Separation and position angle are listed with respect to * component A. A and C have been referred to as Aa and Ab, * respectively in other publications, but we follow a consistent * naming convention, using uppercase letters to represent stars * and lowercase letters to denote planets. * 5 = Separation and position angle are listed with respect to component B. * 6 = New candidate companion reported by this work, via Kevin Apps. *Note (2): See text for more information. *Note (3): Flag on Dist as follows: * 4 = Photometry obtained is for the BC pair. Distance estimate assumes * identical binary components. *Note (4): Determination code for Dist follows: * T = trigonometric parallax * C = calculated CCD photometric distance using relations from * Henry et al. (2004AJ....128.2460H) * P = calculated plate magnitude distance from SuperCOSMOS using * relations from Hambly et al. (2004AJ....128..437H). If both * plate and CCD distance estimates are available, only the more * reliable CCD distance is listed. *Note (5): Source as follows: * P = a CPM detection using the multi-epoch DSS images * W = a companion listing in the WDS catalog * H = a Hipparcos catalog companion identification * C = a companion identification in the CNS catalog * D = a companion identification in Duquennoy & Mayor (1991A&A...248..485D) * I = confirmation via our recent VRI images taken to verify CPM * O = the companion was not found by any of the above means, but * reported in one or more refereed papers c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'refs.dat' ! References integer*4 nr__2 parameter (nr__2=52) ! Number of records character*99 ar__2 ! Full-size record integer*4 Ref_1 ! Reference number character*19 BibCode ! BibCode character*20 Aut ! Author's name character*55 Com ! Comments c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! WDS entries that are not gravitationally bound companions integer*4 nr__3 parameter (nr__3=20) ! Number of records character*42 ar__3 ! Full-size record character*10 WDS ! WDS name (1) integer*4 HD_1 ! HD number character*4 Comp ! Component designation (1) integer*4 theta ! (deg) Position angle (2) real*4 rho_1 ! (arcsec) Separation angle (2) integer*4 Epoch ! (yr) Epoch of most recent observation (2) integer*4 Number ! Component number (1) integer*4 Notes ! Individual notes (3) *Note (1): Data listed here exactly as in the WDS catalog. *Note (2): Correspond to the most recent observation. * All data are as of 2005 June 20. Certain pairs of multiple systems * omitted from this table are confirmed to be gravitationally bound * companions (01368+4124AD, 11268+0301AB, 19091+3436Aa and Aa-B, * 20283+1846AB, and 231590905A-BC and BC). One omitted pair * (201400052BC) has several speckle observations (Jonckheere 1911 * (MNRAS, 72, 45), 1917 (MmRAS, 61, 1), 1944 (JO, 27, 11); Vanderdonck * 1911(MNRAS, 72, 45); Van Biesbroeck 1960 (Publ. Yerkes Obs., 9, Pt. 2, * 1960)) and several failed attempts (van den Bos 1949 (Union Obs. * Circ., 5, 312), 1960 (Publ. Yerkes Obs., 9, Pt. 1, 1960), 1963(AJ, 68, * 582); Couteau 1954JO.....37...37C; Baize 1957JO.....40..165B) and is * hence inconclusive. *Note (3): Notes as follows: * 1 = DSS multi-epoch plates do not show CPM for WDS entry. In fact, * proper motion of the primary star causes change in separation * and position angle, indicating that the companion is a * background star. * 2 = Primary star is epsilon Eri, the well-studied exoplanet system. * WDS listing is based on a single speckle measure by Blazit et * al. (1977ApJ...214L..79B). This system has been observed 13 * other times and no companion was resolved (McAlister * 1978PASP...90..288M; Hartkopf & McAlister 1984PASP...96..105H; * Oppenheimer et al. 2001, Cat. <J/AJ/121/2189>). * 3 = Primary's mu=0.264"/yr at 251{deg} from Hipparcos is not * detectable in DSS plates. For the WDS companion, SuperCOSMOS * lists mu=0.013"/yr at 91{deg}, clearly not matching the * primary's. * 4 = Primary does not show detectable proper motion in DSS plates. * Planet discovery paper, Frink et al. (2002ApJ...576..478F), * refuted the WDS entry based on distance estimate to WDS entry * and proper-motion comparisons. C============================================================================= C Loading file 'table1.dat' ! Sample list of exoplanet systems searched for * companions C Format for file interpretation 1 format( + A11,A1,1X,F5.3,1X,F5.1,1X,F7.2,1X,F7.2,1X,F6.3,1X,A3,1X,A1,1X, + A3) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,131 read(1,'(A57)')ar__ read(ar__,1) + Name,n_Name,pm,pmPA,Epoch1,Epoch2,Dist,pmO,CPM,Other c ..............Just test output........... write(6,1) + Name,n_Name,pm,pmPA,Epoch1,Epoch2,Dist,pmO,CPM,Other c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! Exoplanet systems with stellar companions C Format for file interpretation 2 format( + A1,1X,I2,1X,I6,A1,1X,A14,1X,A1,1X,A3,1X,I2,1X,I2,1X,F5.2,1X, + A1,I2,1X,I2,1X,F4.1,1X,F7.5,1X,F4.1,1X,I1,1X,A1,1X,A7,1X,F6.2, + 1X,I3,1X,F7.1,1X,F6.3,1X,F6.3,1X,F5.3,1X,A4,1X,A13) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,122 read(1,'(A140)')ar__1 read(ar__1,2) + St,Seq,HD,m_HD,Name_1,m_Name,f_Name,RAh,RAm,RAs,DE_,DEd,DEm, + DEs,plx,Dist_1,u_Dist,n_Dist,SpType,rho,PA,PSep,Msini,asini,e, + Src,Ref if(ar__1(59:65) .EQ. '') plx = rNULL__ if(ar__1(67:70) .EQ. '') Dist_1 = rNULL__ if(ar__1(72:72) .EQ. '') u_Dist = iNULL__ if(ar__1(84:89) .EQ. '') rho = rNULL__ if(ar__1(91:93) .EQ. '') PA = iNULL__ if(ar__1(95:101) .EQ. '') PSep = rNULL__ if(ar__1(103:108) .EQ. '') Msini = rNULL__ if(ar__1(110:115) .EQ. '') asini = rNULL__ if(ar__1(117:121) .EQ. '') e = 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,2) + St,Seq,HD,m_HD,Name_1,m_Name,f_Name,RAh,RAm,RAs,DE_,DEd,DEm, + DEs,plx,Dist_1,u_Dist,n_Dist,SpType,rho,PA,PSep,Msini,asini,e, + Src,Ref write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'refs.dat' ! References C Format for file interpretation 3 format(I2,1X,A19,1X,A20,1X,A55) C Effective file loading open(unit=1,status='old',file= +'refs.dat') write(6,*) '....Loading file: refs.dat' do i__=1,52 read(1,'(A99)')ar__2 read(ar__2,3)Ref_1,BibCode,Aut,Com c ..............Just test output........... write(6,3)Ref_1,BibCode,Aut,Com c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! WDS entries that are not gravitationally bound * companions C Format for file interpretation 4 format(A10,1X,I6,1X,A4,1X,I3,1X,F5.1,1X,I4,1X,I2,1X,I1) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,20 read(1,'(A42)')ar__3 read(ar__3,4)WDS,HD_1,Comp,theta,rho_1,Epoch,Number,Notes c ..............Just test output........... write(6,4)WDS,HD_1,Comp,theta,rho_1,Epoch,Number,Notes c .......End.of.Just test output........... end do close(1) C============================================================================= stop end