FORTRAN Generation
(/./ftp/cats/J/ApJ/651/61)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/651/61 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-May-17
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/651/61    Optically thick absorbers near luminous quasars (Hennawi+, 2006)
*================================================================================
*Quasars probing quasars. I. Optically thick absorbers near luminous quasars.
*    Hennawi J.F., Prochaska J.X., Burles S., Strauss M.A., Richards G.T.,
*    Schlegel D.J., Fan X., Schneider D.P., Zakamska N.L., Oguri M., Gunn J.E.,
*    Lupton R.H., Brinkmann J.
*   <Astrophys. J., 651, 61-83 (2006)>
*   =2006ApJ...651...61H
C=============================================================================

C  Internal variables

      integer*4 i__

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table1.dat'	! Optically thick absorption-line systems near
                             foreground quasars

      integer*4 nr__
      parameter (nr__=28)	! Number of records
      character*97 ar__   	! Full-size record

      character*15  System     (nr__) ! System name (SDSS JHHMM+DDMM)
      character*1   n_System   (nr__) ! [a-d] Note on System (1)
      real*4        zbg        (nr__) ! Background quasar redshift
      real*4        zfg        (nr__) ! Foreground quasar redshift
      real*4        Dthe       (nr__) ! (arcsec) Angular separation of the quasar pair
*                                    sight lines (2)
      integer*4     R          (nr__) ! (kpc) Radius (in (h^-1^kpc)
      real*4        zabs       (nr__) ! Absorber redshift
      integer*4     v_DV_      (nr__) ! (km/s) Velocity difference between the absorber
*                                    redshift and our best estimate of the
*                                    redshift of the foreground quasar
      integer*4     DVfg       (nr__) ! (km/s) Estimated error on the foreground quasar
*                                    redshift
      character*1   l_logNHI   (nr__) ! Limit flag on logNHI
      real*4        logNHI     (nr__) ! ([cm-2]) ? Column density of the absorber from our fit
*                                     to the HI profile
      real*4        e_logNHI   (nr__) ! ([cm-2]) ? rms uncertainty on logNHI
      integer*4     gUV        (nr__) ! Maximum enhancement of the quasar's ionizing
*                                    photon flux over that of the extragalactic
*                                    ionizing background, at the location of the
*                                    background quasar sight line, assuming that
*                                    gUV=1+F_QSO_/F_UVB_
*                                    the quasar emission is isotropic
      character*9   n_zfg      (nr__) ! Emission line that was centered to determine
*                                    foreground quasar redshift (zfg)
      character*6   obs_fg     (nr__) ! Instrument used to observed foreground quasar
      character*6   obs_bg     (nr__) ! Instrument used to observed background quasar
*Note (1): Individual notes as follows:
*      a = In the systems SDSS J0127+1507 there are two distinct background
*          quasars at z=2.38 and 2.60, which show absorption in the
*          vicinity of the same foreground quasar at z=1.818.
*      b = The foreground quasar for this system has large BAL troughs in
*          the Ly{alpha} and CIV emission lines. The redshift was computed
*          by comparing the peak of CIV, determined by eye, to the shifted
*          wavelength lambda=1545.3{AA} We apply a conservative redshift
*          uncertainty of +/-1500km/s.
*      c = In the systems SDSS J2347+1501, there is a single background
*          quasar at z=2.29 and two foreground quasars at z=2.157 and
*          2.167, although the velocity separation is larger than our
*          nominal 1500km/s cutoff for the former.
*      d = Voigt profile fits to the Ly{alpha} absorption in the SDSS
*          spectrum of the background quasar gave log(NHI)=19.55+/-0.3.
*          An archive echelle spectrum of this quasar gives the smaller
*          value that is listed in the table, logNHI=18.8+.-0.2.
*Note (2): The angular separation of the quasar pair sight lines corresponds
*     to a transverse proper separation of R at the foreground quasar
*     redshift.

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table2.dat'	! Tentative optically thick absorption-line
                             systems near foreground quasars

      integer*4 nr__1
      parameter (nr__1=7)	! Number of records
      character*97 ar__1  	! Full-size record

      character*15  System_1   (nr__1) ! System name (SDSS JHHMM+DDMM)
      character*1   n_System_1 (nr__1) ! [a-d] Note on System (1)
      real*4        zbg_1      (nr__1) ! Background quasar redshift
      real*4        zfg_1      (nr__1) ! Foreground quasar redshift
      real*4        Dthe_1     (nr__1) ! (arcsec) Angular separation of the quasar pair
*                                    sight lines (2)
      integer*4     R_1        (nr__1) ! (kpc) Radius (in (h^-1^kpc)
      real*4        zabs_1     (nr__1) ! Absorber redshift
      integer*4     v_DV__1    (nr__1) ! (km/s) Velocity difference between the absorber
*                                    redshift and our best estimate of the
*                                    redshift of the foreground quasar
      integer*4     DVfg_1     (nr__1) ! (km/s) Estimated error on the foreground quasar
*                                    redshift
      character*1   l_logNHI_1 (nr__1) ! Limit flag on logNHI
      real*4        logNHI_1   (nr__1) ! ([cm-2]) ? Column density of the absorber from our fit
*                                     to the HI profile
      real*4        e_logNHI_1 (nr__1) ! ([cm-2]) ? rms uncertainty on logNHI
      integer*4     gUV_1      (nr__1) ! Maximum enhancement of the quasar's ionizing
*                                    photon flux over that of the extragalactic
*                                    ionizing background, at the location of the
*                                    background quasar sight line, assuming that
*                                    gUV=1+F_QSO_/F_UVB_
*                                    the quasar emission is isotropic
      character*9   n_zfg_1    (nr__1) ! Emission line that was centered to determine
*                                    foreground quasar redshift (zfg)
      character*6   obs_fg_1   (nr__1) ! Instrument used to observed foreground quasar
      character*6   obs_bg_1   (nr__1) ! Instrument used to observed background quasar
*Note (1): Individual notes as follows:
*      a = In the systems SDSS J0127+1507 there are two distinct background
*          quasars at z=2.38 and 2.60, which show absorption in the
*          vicinity of the same foreground quasar at z=1.818.
*      b = The foreground quasar for this system has large BAL troughs in
*          the Ly{alpha} and CIV emission lines. The redshift was computed
*          by comparing the peak of CIV, determined by eye, to the shifted
*          wavelength lambda=1545.3{AA} We apply a conservative redshift
*          uncertainty of +/-1500km/s.
*      c = In the systems SDSS J2347+1501, there is a single background
*          quasar at z=2.29 and two foreground quasars at z=2.157 and
*          2.167, although the velocity separation is larger than our
*          nominal 1500km/s cutoff for the former.
*      d = Voigt profile fits to the Ly{alpha} absorption in the SDSS
*          spectrum of the background quasar gave log(NHI)=19.55+/-0.3.
*          An archive echelle spectrum of this quasar gives the smaller
*          value that is listed in the table, logNHI=18.8+.-0.2.
*Note (2): The angular separation of the quasar pair sight lines corresponds
*     to a transverse proper separation of R at the foreground quasar
*     redshift.

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table3.dat'	! Coordinates and photometry for projected quasar
                             pairs in table 1

      integer*4 nr__2
      parameter (nr__2=54)	! Number of records
      character*91 ar__2  	! Full-size record

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg      (nr__2) ! (deg) Right Ascension J2000
      real*8        DEdeg      (nr__2) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      character*15  Name       (nr__2) ! Quasar name (SDSS JHHMM+DDMM or 2QZ  JHHMM+DDMM)
      character*1   m_Name     (nr__2) ! [A-E] Multiplicity index on Name (1)
      integer*4     RAh        (nr__2) ! (h) Right ascension (J2000)
      integer*4     RAm        (nr__2) ! (min) Right ascension (J2000)
      real*4        RAs        (nr__2) ! (s) Right ascension (J2000)
      character*1   DE_        (nr__2) ! Declination sign (J2000)
      integer*4     DEd        (nr__2) ! (deg) Declination (J2000)
      integer*4     DEm        (nr__2) ! (arcmin) Declination (J2000)
      real*4        DEs        (nr__2) ! (arcsec) Declination (J2000)
      real*4        z          (nr__2) ! Spectroscopic redshift
      real*4        umag       (nr__2) ! (mag) Extinction-corrected SDSS u magnitude
      real*4        gmag       (nr__2) ! (mag) Extinction-corrected SDSS g magnitude
      real*4        rmag       (nr__2) ! (mag) Extinction-corrected SDSS r magnitude
      real*4        imag       (nr__2) ! (mag) Extinction-corrected SDSS i magnitude
      real*4        zmag       (nr__2) ! (mag) Extinction-corrected SDSS z magnitude
      character*15  System_2   (nr__2) ! System name ((SDSS JHHMM+DDMM)
*Note (1): The background and foreground quasars are labeled A and B,
*          respectively

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table4.dat'	! Coordinates and photometry for projected quasar
                             pairs in table 2

      integer*4 nr__3
      parameter (nr__3=12)	! Number of records
      character*91 ar__3  	! Full-size record

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg_1    (nr__3) ! (deg) Right Ascension J2000
      real*8        DEdeg_1    (nr__3) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      character*15  Name_1     (nr__3) ! Quasar name (SDSS JHHMM+DDMM or 2QZ  JHHMM+DDMM)
      character*1   m_Name_1   (nr__3) ! [A-E] Multiplicity index on Name (1)
      integer*4     RAh_1      (nr__3) ! (h) Right ascension (J2000)
      integer*4     RAm_1      (nr__3) ! (min) Right ascension (J2000)
      real*4        RAs_1      (nr__3) ! (s) Right ascension (J2000)
      character*1   DE__1      (nr__3) ! Declination sign (J2000)
      integer*4     DEd_1      (nr__3) ! (deg) Declination (J2000)
      integer*4     DEm_1      (nr__3) ! (arcmin) Declination (J2000)
      real*4        DEs_1      (nr__3) ! (arcsec) Declination (J2000)
      real*4        z_1        (nr__3) ! Spectroscopic redshift
      real*4        umag_1     (nr__3) ! (mag) Extinction-corrected SDSS u magnitude
      real*4        gmag_1     (nr__3) ! (mag) Extinction-corrected SDSS g magnitude
      real*4        rmag_1     (nr__3) ! (mag) Extinction-corrected SDSS r magnitude
      real*4        imag_1     (nr__3) ! (mag) Extinction-corrected SDSS i magnitude
      real*4        zmag_1     (nr__3) ! (mag) Extinction-corrected SDSS z magnitude
      character*15  System_3   (nr__3) ! System name ((SDSS JHHMM+DDMM)
*Note (1): The background and foreground quasars are labeled A and B,
*          respectively

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table5.dat'	! Coordinates and photometry for the five quasars
                             in the projected group SDSS J0127+1507

      integer*4 nr__4
      parameter (nr__4=5)	! Number of records
      character*91 ar__4  	! Full-size record

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg_2    (nr__4) ! (deg) Right Ascension J2000
      real*8        DEdeg_2    (nr__4) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      character*15  Name_2     (nr__4) ! Quasar name (SDSS JHHMM+DDMM or 2QZ  JHHMM+DDMM)
      character*1   m_Name_2   (nr__4) ! [A-E] Multiplicity index on Name (1)
      integer*4     RAh_2      (nr__4) ! (h) Right ascension (J2000)
      integer*4     RAm_2      (nr__4) ! (min) Right ascension (J2000)
      real*4        RAs_2      (nr__4) ! (s) Right ascension (J2000)
      character*1   DE__2      (nr__4) ! Declination sign (J2000)
      integer*4     DEd_2      (nr__4) ! (deg) Declination (J2000)
      integer*4     DEm_2      (nr__4) ! (arcmin) Declination (J2000)
      real*4        DEs_2      (nr__4) ! (arcsec) Declination (J2000)
      real*4        z_2        (nr__4) ! Spectroscopic redshift
      real*4        umag_2     (nr__4) ! (mag) Extinction-corrected SDSS u magnitude
      real*4        gmag_2     (nr__4) ! (mag) Extinction-corrected SDSS g magnitude
      real*4        rmag_2     (nr__4) ! (mag) Extinction-corrected SDSS r magnitude
      real*4        imag_2     (nr__4) ! (mag) Extinction-corrected SDSS i magnitude
      real*4        zmag_2     (nr__4) ! (mag) Extinction-corrected SDSS z magnitude
      character*15  System_4   (nr__4) ! System name ((SDSS JHHMM+DDMM)
*Note (1): The background and foreground quasars are labeled A and B,
*          respectively

C=============================================================================

C  Loading file 'table1.dat'	! Optically thick absorption-line systems near
*                             foreground quasars

C  Format for file interpretation

    1 format(
     +  A15,A1,1X,F4.2,1X,F5.3,1X,F5.1,1X,I4,1X,F6.4,1X,I4,1X,I4,1X,
     +  A1,F5.2,1X,F4.2,1X,I4,1X,A9,1X,A6,2X,A6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,28
        read(1,'(A97)')ar__
        read(ar__,1)
     +  System(i__),n_System(i__),zbg(i__),zfg(i__),Dthe(i__),R(i__),
     +  zabs(i__),v_DV_(i__),DVfg(i__),l_logNHI(i__),logNHI(i__),
     +  e_logNHI(i__),gUV(i__),n_zfg(i__),obs_fg(i__),obs_bg(i__)
        if(ar__(58:62) .EQ. '') logNHI(i__) = rNULL__
        if(ar__(64:67) .EQ. '') e_logNHI(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  System(i__),n_System(i__),zbg(i__),zfg(i__),Dthe(i__),R(i__),
     +  zabs(i__),v_DV_(i__),DVfg(i__),l_logNHI(i__),logNHI(i__),
     +  e_logNHI(i__),gUV(i__),n_zfg(i__),obs_fg(i__),obs_bg(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table2.dat'	! Tentative optically thick absorption-line
*                             systems near foreground quasars

C  Format for file interpretation

    2 format(
     +  A15,A1,1X,F4.2,1X,F5.3,1X,F5.1,1X,I4,1X,F6.4,1X,I4,1X,I4,1X,
     +  A1,F5.2,1X,F4.2,1X,I4,1X,A9,1X,A6,2X,A6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,7
        read(1,'(A97)')ar__1
        read(ar__1,2)
     +  System_1(i__),n_System_1(i__),zbg_1(i__),zfg_1(i__),
     +  Dthe_1(i__),R_1(i__),zabs_1(i__),v_DV__1(i__),DVfg_1(i__),
     +  l_logNHI_1(i__),logNHI_1(i__),e_logNHI_1(i__),gUV_1(i__),
     +  n_zfg_1(i__),obs_fg_1(i__),obs_bg_1(i__)
        if(ar__1(58:62) .EQ. '') logNHI_1(i__) = rNULL__
        if(ar__1(64:67) .EQ. '') e_logNHI_1(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  System_1(i__),n_System_1(i__),zbg_1(i__),zfg_1(i__),
     +  Dthe_1(i__),R_1(i__),zabs_1(i__),v_DV__1(i__),DVfg_1(i__),
     +  l_logNHI_1(i__),logNHI_1(i__),e_logNHI_1(i__),gUV_1(i__),
     +  n_zfg_1(i__),obs_fg_1(i__),obs_bg_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table3.dat'	! Coordinates and photometry for projected quasar
*                             pairs in table 1

C  Format for file interpretation

    3 format(
     +  A15,A1,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F4.2,1X,
     +  F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,A15)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,54
        read(1,'(A91)')ar__2
        read(ar__2,3)
     +  Name(i__),m_Name(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),
     +  DEd(i__),DEm(i__),DEs(i__),z(i__),umag(i__),gmag(i__),
     +  rmag(i__),imag(i__),zmag(i__),System_2(i__)
        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,3)
     +  Name(i__),m_Name(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),
     +  DEd(i__),DEm(i__),DEs(i__),z(i__),umag(i__),gmag(i__),
     +  rmag(i__),imag(i__),zmag(i__),System_2(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 'table4.dat'	! Coordinates and photometry for projected quasar
*                             pairs in table 2

C  Format for file interpretation

    4 format(
     +  A15,A1,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F4.2,1X,
     +  F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,A15)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,12
        read(1,'(A91)')ar__3
        read(ar__3,4)
     +  Name_1(i__),m_Name_1(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__),
     +  DE__1(i__),DEd_1(i__),DEm_1(i__),DEs_1(i__),z_1(i__),
     +  umag_1(i__),gmag_1(i__),rmag_1(i__),imag_1(i__),zmag_1(i__),
     +  System_3(i__)
        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,4)
     +  Name_1(i__),m_Name_1(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__),
     +  DE__1(i__),DEd_1(i__),DEm_1(i__),DEs_1(i__),z_1(i__),
     +  umag_1(i__),gmag_1(i__),rmag_1(i__),imag_1(i__),zmag_1(i__),
     +  System_3(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg_1(i__),DEdeg_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table5.dat'	! Coordinates and photometry for the five quasars
*                             in the projected group SDSS J0127+1507

C  Format for file interpretation

    5 format(
     +  A15,A1,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F4.2,1X,
     +  F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,A15)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,5
        read(1,'(A91)')ar__4
        read(ar__4,5)
     +  Name_2(i__),m_Name_2(i__),RAh_2(i__),RAm_2(i__),RAs_2(i__),
     +  DE__2(i__),DEd_2(i__),DEm_2(i__),DEs_2(i__),z_2(i__),
     +  umag_2(i__),gmag_2(i__),rmag_2(i__),imag_2(i__),zmag_2(i__),
     +  System_4(i__)
        RAdeg_2(i__) = rNULL__
        DEdeg_2(i__) = rNULL__
c  Derive coordinates RAdeg_2 and DEdeg_2 from input data
c  (RAdeg_2 and DEdeg_2 are set to rNULL__ when unknown)
        if(RAh_2(i__) .GT. -180) RAdeg_2(i__)=RAh_2(i__)*15.
        if(RAm_2(i__) .GT. -180) RAdeg_2(i__)=RAdeg_2(i__)+RAm_2(i__)/4.
        if(RAs_2(i__) .GT. -180) RAdeg_2(i__)=RAdeg_2(i__)+RAs_2(i__)/240.
        if(DEd_2(i__) .GE. 0) DEdeg_2(i__)=DEd_2(i__)
        if(DEm_2(i__) .GE. 0) DEdeg_2(i__)=DEdeg_2(i__)+DEm_2(i__)/60.
        if(DEs_2(i__) .GE. 0) DEdeg_2(i__)=DEdeg_2(i__)+DEs_2(i__)/3600.
        if(DE__2(i__).EQ.'-'.AND.DEdeg_2(i__).GE.0) DEdeg_2(i__)=-DEdeg_2(i__)
c    ..............Just test output...........
        write(6,5)
     +  Name_2(i__),m_Name_2(i__),RAh_2(i__),RAm_2(i__),RAs_2(i__),
     +  DE__2(i__),DEd_2(i__),DEm_2(i__),DEs_2(i__),z_2(i__),
     +  umag_2(i__),gmag_2(i__),rmag_2(i__),imag_2(i__),zmag_2(i__),
     +  System_4(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg_2(i__),DEdeg_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================
      stop
      end