FORTRAN Generation
(/./ftp/cats/J/AJ/112/62)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/112/62 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/AJ/112/62         Quasar absorption-line systems (Tanner+ 1996)
*================================================================================
*A study of quasar absorption-line systems with IRAS
*    Tanner A.M., Bechtold J., Walker C.E., Black J.H., Cutri R.M.
*   <Astron. J. 112, 62 (1996)>
*   =1996AJ....112...62T
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Additional quasar in absorption-line (AL) sample,
                               not in JHB (Cat. J/ApJS/77/203)

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

      character*8   QSO        (nr__) ! Quasar name
      character*1   r_QSO      (nr__) ! Reference (1)
      real*4        zem        (nr__) ! Emission redshift
      real*4        zabs       (nr__) ! ? Absorption redshift
      real*4        Vmag       (nr__) ! (mag) ? V magnitude from Hewitt & Burbidge
*                                     (1993ApJS...87..451H)
      real*4        RL         (nr__) ! ? Radio loudness (G1)
*Note (1): References as follows:
*   a = Steidel & Sargent (1992ApJS...80....1S)
*   b = Aldcroft et al. (1994ApJS...93....1A)
*   c = Lanzetta et al. (1991ApJS...77....1L)
*   d = Junkkarinen et al. (1991, Cat. J/ApJS/77/203)
*   e = White et al. (1993ApJ...407..456W)
*   f = Turnshek et al. (1989ApJ...344..567T)
*   g = Wolfe et al. (1986ApJS...61..249W)
*   h = Francis & Hewitt (1993AJ....105.1633F)

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

C  Declarations for 'table2.dat'	! Damped Ly{alpha} sample

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

      character*8   QSO_1      (nr__1) ! Quasar name
      character*1   r_QSO_1    (nr__1) ! Reference (1)
      real*4        zem_1      (nr__1) ! Emission redshift
      real*4        zabs_1     (nr__1) ! ? Absorption redshift
      real*4        Vmag_1     (nr__1) ! (mag) ? V magnitude from Hewitt & Burbidge
*                                     (1993ApJS...87..451H)
      real*4        RL_1       (nr__1) ! ? Radio loudness (G1)
*Note (1): References as follows:
*   a = Steidel & Sargent (1992ApJS...80....1S)
*   b = Aldcroft et al. (1994ApJS...93....1A)
*   c = Lanzetta et al. (1991ApJS...77....1L)
*   d = Junkkarinen et al. (1991, Cat. J/ApJS/77/203)
*   e = White et al. (1993ApJ...407..456W)
*   f = Turnshek et al. (1989ApJ...344..567T)
*   g = Wolfe et al. (1986ApJS...61..249W)
*   h = Francis & Hewitt (1993AJ....105.1633F)

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

C  Declarations for 'table3.dat'	! IRAS ADDSCAN detections

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

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

      character*8   QSO_2      (nr__2) ! Quasar name
      character*3   Note       (nr__2) ! Individual note (1)
      real*4        zem_2      (nr__2) ! ? Emission redshift
      real*4        Vmag_2     (nr__2) ! (mag) ? V magnitude
      real*8        zabs_2     (nr__2) ! ? Absorption redshift
      integer*4     RAh        (nr__2) ! (h) Right ascension (1950.0)
      integer*4     RAm        (nr__2) ! (min) Right ascension (1950.0)
      real*4        RAs        (nr__2) ! (s) Right ascension (1950.0)
      character*1   DE_        (nr__2) ! Declination
      integer*4     DEd        (nr__2) ! (deg) Declination (1950.0)
      integer*4     DEm        (nr__2) ! (arcmin) Declination (1950.0)
      real*4        DEs        (nr__2) ! (arcsec) Declination (1950.0)
      character*1   l_S12um    (nr__2) ! Limit flag on 12um
      real*4        S12um      (nr__2) ! (Jy) IRAS flux at 12um (2)
      real*4        e_S12um    (nr__2) ! (Jy) ? rms uncertainty on S12um
      character*1   l_S25um    (nr__2) ! Limit flag on 25um
      real*4        S25um      (nr__2) ! (Jy) IRAS flux at 25um (2)
      real*4        e_S25um    (nr__2) ! (Jy) ? rms uncertainty on S25um
      character*1   l_S60um    (nr__2) ! Limit flag on 60um (2)
      real*4        S60um      (nr__2) ! (Jy) IRAS flux at 60um
      real*4        e_S60um    (nr__2) ! (Jy) ? rms uncertainty on S60um
      character*1   l_S100um   (nr__2) ! Limit flag on 100um (2)
      real*4        S100um     (nr__2) ! (Jy) IRAS flux at 100um
      real*4        e_S100um   (nr__2) ! (Jy) ? rms uncertainty on S100um
      real*4        RL_2       (nr__2) ! ? Radio loudness, see also n_RL (G1)
      character*1   n_RL       (nr__2) ! [OBj] Note about RL, and classification (3)
      real*4        zabs2      (nr__2) ! ? Second absorption redshift
      real*4        zabs3      (nr__2) ! ? Second absorption redshift
      real*4        zabs4      (nr__2) ! ? Second absorption redshift
      real*4        zabs5      (nr__2) ! ? Second absorption redshift
      real*4        zabs6      (nr__2) ! ? Second absorption redshift
      real*4        zabs7      (nr__2) ! ? Second absorption redshift
      real*4        zabs8      (nr__2) ! ? Second absorption redshift
      real*4        zabs9      (nr__2) ! ? Second absorption redshift
      real*4        zabs10     (nr__2) ! ? Second absorption redshift
*Note (1): Notes as follows;
*      c = galaxies or quasars in vicinity visible on Palomar Sky Survey.
*      d = UGC 439, IRAS source is 45 arcseconds northwest of quasar.
*      e = bright stars nearby visible on Palomar Sky Survey.
*      f = IRAS source is 1 arcminute northwest of quasar.
*      g = IRAS source is 30 arcseconds southeast of quasar.
*      h = IRAS source is 1 arcminute north of quasar.
*      i = NGC 3067, IRAS source is 2 arcminutes southwest of quasar.
*      k = IRAS source is 1 arcminute south of quasar.
*      l = NGC 6045.
*      m = ESO 400-G012.
*Note (2): 3 {sigma} upper limits given when not detected
*Note (3): Note as follows:
*      j = RL based on 5 GHz flux densities from Kellerman et al.
*          (1994AJ....108.1163K).
*      B = BL Lac
*      O = OVV

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

C  Declarations for 'table4.dat'	! BAL QSO's detected with IRAS ADDSCAN analysis

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

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

      character*8   QSO_3      (nr__3) ! Quasar name
      character*3   Note_1     (nr__3) ! Individual note (1)
      real*4        zem_3      (nr__3) ! ? Emission redshift
      real*4        Vmag_3     (nr__3) ! (mag) ? V magnitude
      real*8        zabs_3     (nr__3) ! ? Absorption redshift
      integer*4     RAh_1      (nr__3) ! (h) Right ascension (1950.0)
      integer*4     RAm_1      (nr__3) ! (min) Right ascension (1950.0)
      real*4        RAs_1      (nr__3) ! (s) Right ascension (1950.0)
      character*1   DE__1      (nr__3) ! Declination
      integer*4     DEd_1      (nr__3) ! (deg) Declination (1950.0)
      integer*4     DEm_1      (nr__3) ! (arcmin) Declination (1950.0)
      real*4        DEs_1      (nr__3) ! (arcsec) Declination (1950.0)
      character*1   l_S12um_1  (nr__3) ! Limit flag on 12um
      real*4        S12um_1    (nr__3) ! (Jy) IRAS flux at 12um (2)
      real*4        e_S12um_1  (nr__3) ! (Jy) ? rms uncertainty on S12um
      character*1   l_S25um_1  (nr__3) ! Limit flag on 25um
      real*4        S25um_1    (nr__3) ! (Jy) IRAS flux at 25um (2)
      real*4        e_S25um_1  (nr__3) ! (Jy) ? rms uncertainty on S25um
      character*1   l_S60um_1  (nr__3) ! Limit flag on 60um (2)
      real*4        S60um_1    (nr__3) ! (Jy) IRAS flux at 60um
      real*4        e_S60um_1  (nr__3) ! (Jy) ? rms uncertainty on S60um
      character*1   l_S100um_1 (nr__3) ! Limit flag on 100um (2)
      real*4        S100um_1   (nr__3) ! (Jy) IRAS flux at 100um
      real*4        e_S100um_1 (nr__3) ! (Jy) ? rms uncertainty on S100um
      real*4        RL_3       (nr__3) ! ? Radio loudness, see also n_RL (G1)
      character*1   n_RL_1     (nr__3) ! [OBj] Note about RL, and classification (3)
      real*4        zabs2_1    (nr__3) ! ? Second absorption redshift
      real*4        zabs3_1    (nr__3) ! ? Second absorption redshift
      real*4        zabs4_1    (nr__3) ! ? Second absorption redshift
      real*4        zabs5_1    (nr__3) ! ? Second absorption redshift
      real*4        zabs6_1    (nr__3) ! ? Second absorption redshift
      real*4        zabs7_1    (nr__3) ! ? Second absorption redshift
      real*4        zabs8_1    (nr__3) ! ? Second absorption redshift
      real*4        zabs9_1    (nr__3) ! ? Second absorption redshift
      real*4        zabs10_1   (nr__3) ! ? Second absorption redshift
*Note (1): Notes as follows;
*      c = galaxies or quasars in vicinity visible on Palomar Sky Survey.
*      d = UGC 439, IRAS source is 45 arcseconds northwest of quasar.
*      e = bright stars nearby visible on Palomar Sky Survey.
*      f = IRAS source is 1 arcminute northwest of quasar.
*      g = IRAS source is 30 arcseconds southeast of quasar.
*      h = IRAS source is 1 arcminute north of quasar.
*      i = NGC 3067, IRAS source is 2 arcminutes southwest of quasar.
*      k = IRAS source is 1 arcminute south of quasar.
*      l = NGC 6045.
*      m = ESO 400-G012.
*Note (2): 3 {sigma} upper limits given when not detected
*Note (3): Note as follows:
*      j = RL based on 5 GHz flux densities from Kellerman et al.
*          (1994AJ....108.1163K).
*      B = BL Lac
*      O = OVV

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

C  Declarations for 'table5.dat'	! Low redshift MgII absorption line sample

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

      character*9   QSO_4      (nr__4) ! Quasar name
      character*3   n_QSO      (nr__4) ! Individual note (1)
      real*4        zem_4      (nr__4) ! ? Emission redshift
      real*4        zabs_4     (nr__4) ! ? Absorption redshift
      real*4        Vmag_4     (nr__4) ! (mag) V magnitude
      real*4        RL_4       (nr__4) ! ? Radio loudness
      integer*4     Ref        (nr__4) ! ? References, for table6 only (2)
*Note (1): Note as follows:
*      a = Objects with individual IRAS detections
*      b = Removed for the control list for SUPERSCANPI without IRAS detections
*Note (2): Note as follows:
*      1 = Aldcroft et al. (1994ApJS...93....1A)
*      2 = Steidel & Sargent (1992ApJS...80....1S)
*      3 = Barthel et al. (1990A&AS...82..339B)

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

C  Declarations for 'table6.dat'	! Control sample with no MgII absorption for Zabs<1

      integer*4 nr__5
      parameter (nr__5=77)	! Number of records
      character*48 ar__5  	! Full-size record

      character*9   QSO_5      (nr__5) ! Quasar name
      character*3   n_QSO_1    (nr__5) ! Individual note (1)
      real*4        zem_5      (nr__5) ! ? Emission redshift
      real*4        zabs_5     (nr__5) ! ? Absorption redshift
      real*4        Vmag_5     (nr__5) ! (mag) V magnitude
      real*4        RL_5       (nr__5) ! ? Radio loudness
      integer*4     Ref_1      (nr__5) ! ? References, for table6 only (2)
*Note (1): Note as follows:
*      a = Objects with individual IRAS detections
*      b = Removed for the control list for SUPERSCANPI without IRAS detections
*Note (2): Note as follows:
*      1 = Aldcroft et al. (1994ApJS...93....1A)
*      2 = Steidel & Sargent (1992ApJS...80....1S)
*      3 = Barthel et al. (1990A&AS...82..339B)

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

C  Loading file 'table1.dat'	! Additional quasar in absorption-line (AL) sample,
*                               not in JHB (Cat. J/ApJS/77/203)

C  Format for file interpretation

    1 format(A8,A1,1X,F5.3,1X,F5.3,1X,F5.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,38
        read(1,'(A32)')ar__
        read(ar__,1)
     +  QSO(i__),r_QSO(i__),zem(i__),zabs(i__),Vmag(i__),RL(i__)
        if(ar__(17:21) .EQ. '') zabs(i__) = rNULL__
        if(ar__(23:27) .EQ. '') Vmag(i__) = rNULL__
        if(ar__(29:32) .EQ. '') RL(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  QSO(i__),r_QSO(i__),zem(i__),zabs(i__),Vmag(i__),RL(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! Damped Ly{alpha} sample

C  Format for file interpretation

    2 format(A8,A1,1X,F5.3,1X,F5.3,1X,F5.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,34
        read(1,'(A32)')ar__1
        read(ar__1,2)
     +  QSO_1(i__),r_QSO_1(i__),zem_1(i__),zabs_1(i__),Vmag_1(i__),
     +  RL_1(i__)
        if(ar__1(17:21) .EQ. '') zabs_1(i__) = rNULL__
        if(ar__1(23:27) .EQ. '') Vmag_1(i__) = rNULL__
        if(ar__1(29:32) .EQ. '') RL_1(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  QSO_1(i__),r_QSO_1(i__),zem_1(i__),zabs_1(i__),Vmag_1(i__),
     +  RL_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! IRAS ADDSCAN detections

C  Format for file interpretation

    3 format(
     +  A8,A3,1X,F5.3,1X,F5.2,1X,F8.5,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,
     +  I2,1X,F4.1,1X,A1,F5.3,F5.3,1X,A1,F5.3,1X,F5.3,1X,A1,F5.3,F5.3,
     +  A1,F6.3,F4.2,1X,F4.2,A1,1X,F6.4,1X,F6.4,1X,F6.4,1X,F6.4,1X,
     +  F6.4,1X,F6.4,1X,F6.4,1X,F6.4,1X,F6.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,46
        read(1,'(A173)')ar__2
        read(ar__2,3)
     +  QSO_2(i__),Note(i__),zem_2(i__),Vmag_2(i__),zabs_2(i__),
     +  RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),DEm(i__),
     +  DEs(i__),l_S12um(i__),S12um(i__),e_S12um(i__),l_S25um(i__),
     +  S25um(i__),e_S25um(i__),l_S60um(i__),S60um(i__),e_S60um(i__),
     +  l_S100um(i__),S100um(i__),e_S100um(i__),RL_2(i__),n_RL(i__),
     +  zabs2(i__),zabs3(i__),zabs4(i__),zabs5(i__),zabs6(i__),
     +  zabs7(i__),zabs8(i__),zabs9(i__),zabs10(i__)
        if(ar__2(13:17) .EQ. '') zem_2(i__) = rNULL__
        if(ar__2(19:23) .EQ. '') Vmag_2(i__) = rNULL__
        if(ar__2(25:32) .EQ. '') zabs_2(i__) = rNULL__
        if(ar__2(64:68) .EQ. '') e_S12um(i__) = rNULL__
        if(ar__2(77:81) .EQ. '') e_S25um(i__) = rNULL__
        if(ar__2(89:93) .EQ. '') e_S60um(i__) = rNULL__
        if(ar__2(101:104) .EQ. '') e_S100um(i__) = rNULL__
        if(ar__2(106:109) .EQ. '') RL_2(i__) = rNULL__
        if(ar__2(112:117) .EQ. '') zabs2(i__) = rNULL__
        if(ar__2(119:124) .EQ. '') zabs3(i__) = rNULL__
        if(ar__2(126:131) .EQ. '') zabs4(i__) = rNULL__
        if(ar__2(133:138) .EQ. '') zabs5(i__) = rNULL__
        if(ar__2(140:145) .EQ. '') zabs6(i__) = rNULL__
        if(ar__2(147:152) .EQ. '') zabs7(i__) = rNULL__
        if(ar__2(154:159) .EQ. '') zabs8(i__) = rNULL__
        if(ar__2(161:166) .EQ. '') zabs9(i__) = rNULL__
        if(ar__2(168:173) .EQ. '') zabs10(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,3)
     +  QSO_2(i__),Note(i__),zem_2(i__),Vmag_2(i__),zabs_2(i__),
     +  RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),DEm(i__),
     +  DEs(i__),l_S12um(i__),S12um(i__),e_S12um(i__),l_S25um(i__),
     +  S25um(i__),e_S25um(i__),l_S60um(i__),S60um(i__),e_S60um(i__),
     +  l_S100um(i__),S100um(i__),e_S100um(i__),RL_2(i__),n_RL(i__),
     +  zabs2(i__),zabs3(i__),zabs4(i__),zabs5(i__),zabs6(i__),
     +  zabs7(i__),zabs8(i__),zabs9(i__),zabs10(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'	! BAL QSO's detected with IRAS ADDSCAN analysis

C  Format for file interpretation

    4 format(
     +  A8,A3,1X,F5.3,1X,F5.2,1X,F8.5,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,
     +  I2,1X,F4.1,1X,A1,F5.3,F5.3,1X,A1,F5.3,1X,F5.3,1X,A1,F5.3,F5.3,
     +  A1,F6.3,F4.2,1X,F4.2,A1,1X,F6.4,1X,F6.4,1X,F6.4,1X,F6.4,1X,
     +  F6.4,1X,F6.4,1X,F6.4,1X,F6.4,1X,F6.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,6
        read(1,'(A173)')ar__3
        read(ar__3,4)
     +  QSO_3(i__),Note_1(i__),zem_3(i__),Vmag_3(i__),zabs_3(i__),
     +  RAh_1(i__),RAm_1(i__),RAs_1(i__),DE__1(i__),DEd_1(i__),
     +  DEm_1(i__),DEs_1(i__),l_S12um_1(i__),S12um_1(i__),
     +  e_S12um_1(i__),l_S25um_1(i__),S25um_1(i__),e_S25um_1(i__),
     +  l_S60um_1(i__),S60um_1(i__),e_S60um_1(i__),l_S100um_1(i__),
     +  S100um_1(i__),e_S100um_1(i__),RL_3(i__),n_RL_1(i__),
     +  zabs2_1(i__),zabs3_1(i__),zabs4_1(i__),zabs5_1(i__),
     +  zabs6_1(i__),zabs7_1(i__),zabs8_1(i__),zabs9_1(i__),
     +  zabs10_1(i__)
        if(ar__3(13:17) .EQ. '') zem_3(i__) = rNULL__
        if(ar__3(19:23) .EQ. '') Vmag_3(i__) = rNULL__
        if(ar__3(25:32) .EQ. '') zabs_3(i__) = rNULL__
        if(ar__3(64:68) .EQ. '') e_S12um_1(i__) = rNULL__
        if(ar__3(77:81) .EQ. '') e_S25um_1(i__) = rNULL__
        if(ar__3(89:93) .EQ. '') e_S60um_1(i__) = rNULL__
        if(ar__3(101:104) .EQ. '') e_S100um_1(i__) = rNULL__
        if(ar__3(106:109) .EQ. '') RL_3(i__) = rNULL__
        if(ar__3(112:117) .EQ. '') zabs2_1(i__) = rNULL__
        if(ar__3(119:124) .EQ. '') zabs3_1(i__) = rNULL__
        if(ar__3(126:131) .EQ. '') zabs4_1(i__) = rNULL__
        if(ar__3(133:138) .EQ. '') zabs5_1(i__) = rNULL__
        if(ar__3(140:145) .EQ. '') zabs6_1(i__) = rNULL__
        if(ar__3(147:152) .EQ. '') zabs7_1(i__) = rNULL__
        if(ar__3(154:159) .EQ. '') zabs8_1(i__) = rNULL__
        if(ar__3(161:166) .EQ. '') zabs9_1(i__) = rNULL__
        if(ar__3(168:173) .EQ. '') zabs10_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,4)
     +  QSO_3(i__),Note_1(i__),zem_3(i__),Vmag_3(i__),zabs_3(i__),
     +  RAh_1(i__),RAm_1(i__),RAs_1(i__),DE__1(i__),DEd_1(i__),
     +  DEm_1(i__),DEs_1(i__),l_S12um_1(i__),S12um_1(i__),
     +  e_S12um_1(i__),l_S25um_1(i__),S25um_1(i__),e_S25um_1(i__),
     +  l_S60um_1(i__),S60um_1(i__),e_S60um_1(i__),l_S100um_1(i__),
     +  S100um_1(i__),e_S100um_1(i__),RL_3(i__),n_RL_1(i__),
     +  zabs2_1(i__),zabs3_1(i__),zabs4_1(i__),zabs5_1(i__),
     +  zabs6_1(i__),zabs7_1(i__),zabs8_1(i__),zabs9_1(i__),
     +  zabs10_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=============================================================================

C  Loading file 'table5.dat'	! Low redshift MgII absorption line sample

C  Format for file interpretation

    5 format(A9,A3,2X,F6.4,1X,F6.4,1X,F5.2,2X,F5.3,1X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,77
        read(1,'(A42)')ar__4
        read(ar__4,5)
     +  QSO_4(i__),n_QSO(i__),zem_4(i__),zabs_4(i__),Vmag_4(i__),
     +  RL_4(i__),Ref(i__)
        if(ar__4(15:20) .EQ. '') zem_4(i__) = rNULL__
        if(ar__4(22:27) .EQ. '') zabs_4(i__) = rNULL__
        if(ar__4(36:40) .EQ. '') RL_4(i__) = rNULL__
        if(ar__4(42:42) .EQ. '') Ref(i__) = iNULL__
c    ..............Just test output...........
        write(6,5)
     +  QSO_4(i__),n_QSO(i__),zem_4(i__),zabs_4(i__),Vmag_4(i__),
     +  RL_4(i__),Ref(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! Control sample with no MgII absorption for Zabs<1

C  Format for file interpretation

    6 format(A9,A3,2X,F6.4,1X,F6.4,1X,F5.2,2X,F5.3,1X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,77
        read(1,'(A48)')ar__5
        read(ar__5,6)
     +  QSO_5(i__),n_QSO_1(i__),zem_5(i__),zabs_5(i__),Vmag_5(i__),
     +  RL_5(i__),Ref_1(i__)
        if(ar__5(15:20) .EQ. '') zem_5(i__) = rNULL__
        if(ar__5(22:27) .EQ. '') zabs_5(i__) = rNULL__
        if(ar__5(36:40) .EQ. '') RL_5(i__) = rNULL__
        if(ar__5(42:42) .EQ. '') Ref_1(i__) = iNULL__
c    ..............Just test output...........
        write(6,6)
     +  QSO_5(i__),n_QSO_1(i__),zem_5(i__),zabs_5(i__),Vmag_5(i__),
     +  RL_5(i__),Ref_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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