Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/646/523 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 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 (nr__) ! Object name character*1 n_Name (nr__) ! Note about {rho} CrB (1) real*4 pm (nr__) ! (arcsec/yr) Proper motion real*4 pmPA (nr__) ! (deg) Position angle of proper motion real*8 Epoch1 (nr__) ! (yr) Epoch of the 1st observation (2) real*8 Epoch2 (nr__) ! (yr) Epoch of the 2nd observation (2) real*4 Dist (nr__) ! (arcsec) Proper motion distance between Epoch1 and * Epoch2 character*3 pmO (nr__) ! Proper motion detectable in the DSS * frames? (3) character*1 CPM (nr__) ! Companions detected via Common Proper * Motion (4) character*3 Other (nr__) ! 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 (nr__1) ! (deg) Right Ascension J2000 real*8 DEdeg (nr__1) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) character*1 St (nr__1) ! [CU] Status of stellar candidate companions, * (C)onfirmed or (U)nconfirmed integer*4 Seq (nr__1) ! Sequence number integer*4 HD (nr__1) ! HD number character*1 m_HD (nr__1) ! Multiplicity index on HD character*14 Name_1 (nr__1) ! Object name character*1 m_Name (nr__1) ! Stellar/Planetary companion identification character*3 f_Name (nr__1) ! [12356, ] Flag(s) on companion (1) integer*4 RAh (nr__1) ! (h) Hour of Right Ascension (J2000) (2) integer*4 RAm (nr__1) ! (min) Minute of Right Ascension (J2000) (2) real*4 RAs (nr__1) ! (s) Second of Right Ascension (J2000) (2) character*1 DE_ (nr__1) ! Sign of the Declination (J2000) (2) integer*4 DEd (nr__1) ! (deg) Degree of Declination (J2000) (2) integer*4 DEm (nr__1) ! (arcmin) Arcminute of Declination (J2000) (2) real*4 DEs (nr__1) ! (arcsec) Arcsecond of Declination (J2000) (2) real*8 plx (nr__1) ! (arcsec) ? Hipparcos trigonometric parallax real*4 Dist_1 (nr__1) ! (pc) ? Distance integer*4 u_Dist (nr__1) ! [4]? Distance assumes equal brightness (3) character*1 n_Dist (nr__1) ! [CPT] Determination code for Dist (4) character*7 SpType (nr__1) ! Spectral type real*4 rho (nr__1) ! (arcsec) ? Stellar and exoplanet angular separation integer*4 PA (nr__1) ! (deg) ? Stellar and exoplanet position angle real*8 PSep (nr__1) ! (AU) ? Projected primary & secondary star spatial * separation real*4 Msini (nr__1) ! (jovMass) ? Exoplanet mass in Jupiter masses real*4 asini (nr__1) ! (AU) ? Exoplanet spatial separation real*4 e (nr__1) ! ? Eccentricity character*4 Src (nr__1) ! [PWCDHOI ] Source(s) used to detect companion * stars (5) character*13 Ref (nr__1) ! 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 (nr__2) ! Reference number character*19 BibCode (nr__2) ! BibCode character*20 Aut (nr__2) ! Author's name character*55 Com (nr__2) ! 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 (nr__3) ! WDS name (1) integer*4 HD_1 (nr__3) ! HD number character*4 Comp (nr__3) ! Component designation (1) integer*4 theta (nr__3) ! (deg) Position angle (2) real*4 rho_1 (nr__3) ! (arcsec) Separation angle (2) integer*4 Epoch (nr__3) ! (yr) Epoch of most recent observation (2) integer*4 Number (nr__3) ! Component number (1) integer*4 Notes (nr__3) ! 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(i__),n_Name(i__),pm(i__),pmPA(i__),Epoch1(i__), + Epoch2(i__),Dist(i__),pmO(i__),CPM(i__),Other(i__) c ..............Just test output........... write(6,1) + Name(i__),n_Name(i__),pm(i__),pmPA(i__),Epoch1(i__), + Epoch2(i__),Dist(i__),pmO(i__),CPM(i__),Other(i__) 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(i__),Seq(i__),HD(i__),m_HD(i__),Name_1(i__),m_Name(i__), + f_Name(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__), + DEm(i__),DEs(i__),plx(i__),Dist_1(i__),u_Dist(i__), + n_Dist(i__),SpType(i__),rho(i__),PA(i__),PSep(i__),Msini(i__), + asini(i__),e(i__),Src(i__),Ref(i__) if(ar__1(59:65) .EQ. '') plx(i__) = rNULL__ if(ar__1(67:70) .EQ. '') Dist_1(i__) = rNULL__ if(ar__1(72:72) .EQ. '') u_Dist(i__) = iNULL__ if(ar__1(84:89) .EQ. '') rho(i__) = rNULL__ if(ar__1(91:93) .EQ. '') PA(i__) = iNULL__ if(ar__1(95:101) .EQ. '') PSep(i__) = rNULL__ if(ar__1(103:108) .EQ. '') Msini(i__) = rNULL__ if(ar__1(110:115) .EQ. '') asini(i__) = rNULL__ if(ar__1(117:121) .EQ. '') e(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,2) + St(i__),Seq(i__),HD(i__),m_HD(i__),Name_1(i__),m_Name(i__), + f_Name(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__), + DEm(i__),DEs(i__),plx(i__),Dist_1(i__),u_Dist(i__), + n_Dist(i__),SpType(i__),rho(i__),PA(i__),PSep(i__),Msini(i__), + asini(i__),e(i__),Src(i__),Ref(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 '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(i__),BibCode(i__),Aut(i__),Com(i__) c ..............Just test output........... write(6,3)Ref_1(i__),BibCode(i__),Aut(i__),Com(i__) 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(i__),HD_1(i__),Comp(i__),theta(i__),rho_1(i__),Epoch(i__), + Number(i__),Notes(i__) c ..............Just test output........... write(6,4) + WDS(i__),HD_1(i__),Comp(i__),theta(i__),rho_1(i__),Epoch(i__), + Number(i__),Notes(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end