Conversion of standardized ReadMe file for
file /./ftp/cats/V/124 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. V/124 Approximate elements of eclipsing binaries (Svechnikov+, 1990) *================================================================================ *Catalogue of approximate photometric and absolute elements of eclipsing *variable stars. * Svechnikov M.A., Kuznetsova Eh.F. * <Ural university publication, Sverdlovsk, vols 1,2 (1990)> C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'objects.dat' ! Coordinates of objects integer*4 nr__ parameter (nr__=3796) ! Number of records character*39 ar__ ! Full-size record C J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg (nr__) ! (deg) Right Ascension J2000.0 real*8 DEdeg (nr__) ! (deg) Declination J2000.0 C ---------------------------------- ! (position vector(s) in degrees) integer*4 RAh (nr__) ! (h) ? Right ascension (J2000.0) integer*4 RAm (nr__) ! (min) ? Right ascension (J2000.0) real*4 RAs (nr__) ! (s) ? Right ascension (J2000.0) character*1 DE_ (nr__) ! Declination sign (J2000.0) integer*4 DEd (nr__) ! (deg) ? Declination (J2000.0) integer*4 DEm (nr__) ! (arcmin) ? Declination (J2000.0) integer*4 DEs (nr__) ! (arcsec) ? Declination (J2000.0) integer*4 Seq (nr__) ! Number of star system character*9 Name (nr__) ! Object name (1) *Note (1): GZ Sge and V3476 Sgr have no position. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'catalog.dat' ! Data on photometric and absolute elements of eclipsing stars integer*4 nr__1 parameter (nr__1=3796) ! Number of records character*146 ar__1 ! Full-size record integer*4 Seq_1 (nr__1) ! Number of star system (1) character*1 Note (nr__1) ! [*] Remarks on Seq (2) character*9 Name_1 (nr__1) ! Name of eclipsing binary (3) real*8 Period (nr__1) ! (d) Orbital period of system character*1 n_Period (nr__1) ! [*:?] Remark on Period (4) character*15 Sp (nr__1) ! Spectra SP1+SP2 of the components (5) character*3 Type (nr__1) ! Eclipsing system type (6) character*1 u_Type (nr__1) ! [:] Uncertainty flag on Type character*2 EType (nr__1) ! Evolutionary type (7) character*1 u_EType (nr__1) ! [:] Uncertainty flag on EType real*4 q (nr__1) ! Mass ratio of components real*4 A (nr__1) ! (solRad) Orbital major semiaxis (in solar radii) real*4 M1 (nr__1) ! (solMass) Mass of first component real*4 M2 (nr__1) ! (solMass) Mass of second component real*4 R1 (nr__1) ! (solRad) Radius of first component real*4 R2 (nr__1) ! (solRad) Radius of second component real*4 Mbol1 (nr__1) ! (mag) Absolute bolometric magnitude of first * component (8) real*4 Mbol2 (nr__1) ! (mag) Absolute bolometric magnitude of second * component (8) real*4 r1_1 (nr__1) ! Relative radius of first component in units of * Orbital major semiaxis A (9) real*4 r2_1 (nr__1) ! Relative radius of second component in units * of Orbital major semiaxis A (9) character*1 l_L1 (nr__1) ! [>] Limit symbol on L1 real*4 L1 (nr__1) ! Relative luminosity of massive component in * units of L1+L2=1 character*1 u_L1 (nr__1) ! [:] Uncertainty flag on L1 character*1 l_J1_J2 (nr__1) ! [>] Limit symbol on J1/J2 real*8 J1_J2 (nr__1) ! Surface brightness ratio of more massive * component to one of less massive (J1/J2) (10) character*1 e_J1_J2 (nr__1) ! [:] Uncertainty in J1/J2 character*1 Band (nr__1) ! [VPvB] Photometric system in J1/J2 character*2 l_Incl (nr__1) ! [>= ~] Limit flag on Incl real*4 Incl (nr__1) ! (deg) Orbital inclination integer*4 W (nr__1) ! [0/9] Weight (11) *Note (1): Numbers beginning from 4001 indicate stars taken from a * supplementary table (Svechnikov, Kuznetsova 1990, vol.2, p.224). * Systems 1043, 1143, 1970, 2860, 3598 are excluded from the electronic * version according to Svechnikov's notes (2004, private communication). *Note (2): Asterisk indicates the presence of this system in the notes.dat file. *Note (3): The systems are placed in the catalogue by constellations as in * GCVS IV. *Note (4): The symbol means the following: * : = period is uncertain * * = variable period * ? = probably variable period *Note (5): SP1 is given from GCVS IV or from another (as usually, later) * literature. In the last case the spectra from GCVS IV is given in * remarks. The spectral types of components computed from the * observational values of J1/J2 in assumption that both components * radiate as the black bodies are given in the square brackets. * * If SP1 is not known from the available literature and it is evaluated * from the statistical dependences for the eclipsing binaries of * different types we put it in brackets (). * * If there is in literature only spectral class (for example A or F) * without spectral subclass, then we put in brackets () supposed * spectral subclass (for example A(3)). *Note (6): Eclipsing system type taken from GCVS IV or from other * literatures (E, EA, EB, EW or ELL (rotating)) *Note (7): Evolutionary type according to Svechnikov's classification [2,3,4]: * DM = detached main sequence systems. Both components are main sequence * stars, which do not fill their inner Roche lobes. * SD = semi-detached systems, where more massive component is main * sequence star, and less massive secondary component is subgiant * which fills (or nearly fills) its Roche lobe. * DS = detached systems with subgiant secondary. The less massive * subgiant component distinctly does not fill its Roche lobe. * KE = contact systems of early spectra, both components are close to * their Roche lobes, spectra of the more massive component are * not later about F0. * KW = contact systems of W UMa-type with the periods shorter than * 0.5 days and with SP1 later than about F0. * DW = systems, similar to W UMa-stars, where both components do not * fill their Roche lobes and their physical characteristics * are similar to those of KW-systems [2,8]. * Lately designation of these eclipsing binaries as * "short-periodic RS CVN-type systems" is widely applied [10,11]. *Note (8): The effective temperature scale given in [12,13] *Note (9): Radii or the small equatorial semiaxes for ellipsoidal star * (in units of Orbital major semiaxis A). * The index "1" always is related to more massive star. *Note (10): As a rule, in the color of amplitudes of minima A1 and A2 * given in GCVS IV) *Note (11): Weight characterizes the reliability of evaluation of * photometric and absolute elements in 10-ball scale (highly unreliable * elements have weight 0; elements, evaluated with reliability, * approaching to reliability of the evaluation of elements by exact * methods over their light curves and radial velocity curves have W=9. * For systems with certain meaning of SP1 the elements are defined more * certainly and they have weight essentially larger than systems with * uncertain component spectrum. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'notes.dat' ! Notes integer*4 nr__2 parameter (nr__2=806) ! Number of records character*426 ar__2 ! Full-size record integer*4 Seq_2 (nr__2) ! Sequential number character*9 Name_2 (nr__2) ! Name character*409 Text (nr__2) ! Text of the note c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'refs.dat' ! References integer*4 nr__3 parameter (nr__3=18) ! Number of records character*180 ar__3 ! Full-size record integer*4 Ref (nr__3) ! Reference number character*175 Text_1 (nr__3) ! Text of reference C============================================================================= C Loading file 'objects.dat' ! Coordinates of objects C Format for file interpretation 1 format(I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,4X,I4,2X,A9) C Effective file loading open(unit=1,status='old',file= +'objects.dat') write(6,*) '....Loading file: objects.dat' do i__=1,3796 read(1,'(A39)')ar__ read(ar__,1) + RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),DEm(i__), + DEs(i__),Seq(i__),Name(i__) if(ar__(1:2) .EQ. '') RAh(i__) = iNULL__ if(ar__(4:5) .EQ. '') RAm(i__) = iNULL__ if(ar__(7:10) .EQ. '') RAs(i__) = rNULL__ if(ar__(13:14) .EQ. '') DEd(i__) = iNULL__ if(ar__(16:17) .EQ. '') DEm(i__) = iNULL__ if(ar__(19:20) .EQ. '') DEs(i__) = iNULL__ 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) + RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),DEm(i__), + DEs(i__),Seq(i__),Name(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 'catalog.dat' ! Data on photometric and absolute elements of * eclipsing stars C Format for file interpretation 2 format( + I4,A1,1X,A9,1X,F13.9,1X,A1,1X,A15,1X,A3,A1,1X,A2,A1,1X,F5.3, + 1X,F6.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F6.2,1X,F6.2,1X, + F5.3,1X,F5.3,1X,A1,F4.2,A1,A1,F7.2,A1,1X,A1,1X,A2,F4.1,1X,I1) C Effective file loading open(unit=1,status='old',file= +'catalog.dat') write(6,*) '....Loading file: catalog.dat' do i__=1,3796 read(1,'(A146)')ar__1 read(ar__1,2) + Seq_1(i__),Note(i__),Name_1(i__),Period(i__),n_Period(i__), + Sp(i__),Type(i__),u_Type(i__),EType(i__),u_EType(i__),q(i__), + A(i__),M1(i__),M2(i__),R1(i__),R2(i__),Mbol1(i__),Mbol2(i__), + r1_1(i__),r2_1(i__),l_L1(i__),L1(i__),u_L1(i__),l_J1_J2(i__), + J1_J2(i__),e_J1_J2(i__),Band(i__),l_Incl(i__),Incl(i__),W(i__) c ..............Just test output........... write(6,2) + Seq_1(i__),Note(i__),Name_1(i__),Period(i__),n_Period(i__), + Sp(i__),Type(i__),u_Type(i__),EType(i__),u_EType(i__),q(i__), + A(i__),M1(i__),M2(i__),R1(i__),R2(i__),Mbol1(i__),Mbol2(i__), + r1_1(i__),r2_1(i__),l_L1(i__),L1(i__),u_L1(i__),l_J1_J2(i__), + J1_J2(i__),e_J1_J2(i__),Band(i__),l_Incl(i__),Incl(i__),W(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'notes.dat' ! Notes C Format for file interpretation 3 format(I4,1X,A9,3X,A409) C Effective file loading open(unit=1,status='old',file= +'notes.dat') write(6,*) '....Loading file: notes.dat' do i__=1,806 read(1,'(A426)')ar__2 read(ar__2,3)Seq_2(i__),Name_2(i__),Text(i__) c ..............Just test output........... write(6,3)Seq_2(i__),Name_2(i__),Text(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'refs.dat' ! References C Format for file interpretation 4 format(1X,I2,2X,A175) C Effective file loading open(unit=1,status='old',file= +'refs.dat') write(6,*) '....Loading file: refs.dat' do i__=1,18 read(1,'(A180)')ar__3 read(ar__3,4)Ref(i__),Text_1(i__) c ..............Just test output........... write(6,4)Ref(i__),Text_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end