FORTRAN Generation
(/./ftp/cats/VII/205)

Conversion of standardized ReadMe file for file /./ftp/cats/VII/205 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.5, on 2013-May-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__
ter  (rNULL__=-1.e37)     	! NULL real number
      parameter  (iNULL__=-2147483647)	! NULL int  number

C=============================================================================
Cat. VII/205             Faint Interacting Galaxies    (de Mello+ 1997)
*================================================================================
*A catalog of faint interacting galaxies in pairs and groups
*     de Mello D.F., Infante L., Menanteau F.
*    <Astrophys. J. Suppl. Ser. 108, 99 (1997)>
*    (Erratum vol. 111, p. 467)
*    =1997ApJS..108...99D
*A catalog of faint interacting galaxies in pairs and groups. II.
*     de Mello D.F., Infante L., Menanteau F., Vieira G.
*    <Astrophys. J. Suppl. Ser. 110, 227 (1997)>
*    =1997ApJS..110..227D
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Faint Pairs of Galaxies (Paper I)

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

      real*8        RA_        (nr__) ! (deg) Right Ascension J2000.0
      real*8        Dec        (nr__) ! (deg)     Declination J2000.0
      integer*4     RA1h       (nr__) ! (h) Right ascension (J2000.0) (First galaxy)
      integer*4     RA1m       (nr__) ! (min) Right ascension (J2000.0) (First galaxy)
      real*4        RA1s       (nr__) ! (s) Right ascension (J2000.0) (First galaxy)
      character*1   DE1_       (nr__) ! Declination sign (First galaxy)
      integer*4     DE1d       (nr__) ! (deg) Declination (J2000.0) (First galaxy)
      integer*4     DE1m       (nr__) ! (arcmin) Declination (J2000.0) (First galaxy)
      real*4        DE1s       (nr__) ! (arcsec) Declination (J2000.0) (First galaxy)
      real*4        Rmag1      (nr__) ! (mag) Total R magnitude (First galaxy)
      real*4        Rgr        (nr__) ! (arcsec) Pair radius (half distance between components)
      real*4        Iso        (nr__) ! [3,60] Group isolation parameter (G1)
      integer*4     Cl         (nr__) ! [1,7] Pair classification (G2)
      integer*4     RA2h       (nr__) ! (h) Right ascension (J2000.0) (Second galaxy)
      integer*4     RA2m       (nr__) ! (min) Right ascension (J2000.0) (Second galaxy)
      real*4        RA2s       (nr__) ! (s) Right ascension (J2000.0) (Second galaxy)
      character*1   DE2_       (nr__) ! Declination sign (Second galaxy)
      integer*4     DE2d       (nr__) ! (deg) Declination (J2000.0) (Second galaxy)
      integer*4     DE2m       (nr__) ! (arcmin) Declination (J2000.0) (Second galaxy)
      real*4        DE2s       (nr__) ! (arcsec) Declination (J2000.0) (Second galaxy)
      real*4        Rmag2      (nr__) ! (mag) Total R magnitude (Second galaxy)

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

C  Declarations for 'table2.dat'	! Faint Groups of Galaxies (Paper I)

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

      real*8        RA__1      (nr__1) ! (deg) Right Ascension J2000
      real*8        Dec_1      (nr__1) ! (deg)     Declination J2000
      integer*4     RA1h_1     (nr__1) ! (h) Right ascension J2000 (A component)
      integer*4     RA1m_1     (nr__1) ! (min) Right ascension J2000 (A component)
      real*4        RA1s_1     (nr__1) ! (s) Right ascension J2000 (A component)
      character*1   DE1__1     (nr__1) ! Declination sign J2000 (A component)
      integer*4     DE1d_1     (nr__1) ! (deg) Declination J2000 (A component)
      integer*4     DE1m_1     (nr__1) ! (arcmin) Declination J2000 (A component)
      real*4        DE1s_1     (nr__1) ! (arcsec) Declination J2000 (A component)
      real*4        Rmag1_1    (nr__1) ! (mag) Total R magnitude (A component)
      real*4        Rgr_1      (nr__1) ! (arcsec) Group radius (includes center of all members)
      real*4        Iso_1      (nr__1) ! [3,60] Group isolation parameter (G1)
      integer*4     Cl_1       (nr__1) ! [1,7] Group classification (G2)
      integer*4     RA2h_1     (nr__1) ! (h) Right ascension J2000 (B component)
      integer*4     RA2m_1     (nr__1) ! (min) Right ascension J2000 (B component)
      real*4        RA2s_1     (nr__1) ! (s) Right ascension J2000 (B component)
      character*1   DE2__1     (nr__1) ! Declination sign J2000 (B component)
      integer*4     DE2d_1     (nr__1) ! (deg) Declination J2000 (B component)
      integer*4     DE2m_1     (nr__1) ! (arcmin) Declination J2000 (B component)
      real*4        DE2s_1     (nr__1) ! (arcsec) Declination J2000 (B component)
      real*4        Rmag2_1    (nr__1) ! (mag) Total R magnitude (B component)
      integer*4     RA3h       (nr__1) ! (h) Right ascension J2000 (C component)
      integer*4     RA3m       (nr__1) ! (min) Right ascension J2000 (C component)
      real*4        RA3s       (nr__1) ! (s) Right ascension J2000 (C component)
      character*1   DE3_       (nr__1) ! Declination sign J2000 (C component)
      integer*4     DE3d       (nr__1) ! (deg) Declination J2000 (C component)
      integer*4     DE3m       (nr__1) ! (arcmin) Declination J2000 (C component)
      real*4        DE3s       (nr__1) ! (arcsec) Declination J2000 (C component)
      real*4        Rmag3      (nr__1) ! (mag) Total R magnitude (C component)
      integer*4     RA4h       (nr__1) ! (h) Right ascension J2000 (D component)
      integer*4     RA4m       (nr__1) ! (min) Right ascension J2000 (D component)
      real*4        RA4s       (nr__1) ! (s) Right ascension J2000 (D component)
      character*1   DE4_       (nr__1) ! Declination sign J2000 (D component)
      integer*4     DE4d       (nr__1) ! (deg) Declination J2000 (D component)
      integer*4     DE4m       (nr__1) ! (arcmin) Declination J2000 (D component)
      real*4        DE4s       (nr__1) ! (arcsec) Declination J2000 (D component)
      real*4        Rmag4      (nr__1) ! (mag) Total R magnitude (D component)
      integer*4     RA5h       (nr__1) ! (h) ? Right ascension J2000 (E component)
      integer*4     RA5m       (nr__1) ! (min) ? Right ascension J2000 (E component)
      real*4        RA5s       (nr__1) ! (s) ? Right ascension J2000 (E component)
      character*1   DE5_       (nr__1) ! Declination sign J2000 (E component)
      integer*4     DE5d       (nr__1) ! (deg) ? Declination J2000 (E component)
      integer*4     DE5m       (nr__1) ! (arcmin) ? Declination J2000 (E component)
      real*4        DE5s       (nr__1) ! (arcsec) ? Declination J2000 (E component)
      real*4        Rmag5      (nr__1) ! (mag) ? Total R magnitude (E component)
      integer*4     RA6h       (nr__1) ! (h) ? Right ascension J2000 (F component)
      integer*4     RA6m       (nr__1) ! (min) ? Right ascension J2000 (F component)
      real*4        RA6s       (nr__1) ! (s) ? Right ascension J2000 (F component)
      character*1   DE6_       (nr__1) ! Declination sign J2000 (F component)
      integer*4     DE6d       (nr__1) ! (deg) ? Declination J2000 (F component)
      integer*4     DE6m       (nr__1) ! (arcmin) ? Declination J2000 (F component)
      real*4        DE6s       (nr__1) ! (arcsec) ? Declination J2000 (F component)
      real*4        Rmag6      (nr__1) ! (mag) ? Total R magnitude (F component)

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

C  Declarations for 'table3.dat'	! Faint Pairs of Galaxies (Paper II)

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

      real*8        RA__2      (nr__2) ! (deg) Right Ascension J2000.0
      real*8        Dec_2      (nr__2) ! (deg)     Declination J2000.0
      integer*4     RA1h_2     (nr__2) ! (h) Right ascension (J2000.0) (First galaxy)
      integer*4     RA1m_2     (nr__2) ! (min) Right ascension (J2000.0) (First galaxy)
      real*4        RA1s_2     (nr__2) ! (s) Right ascension (J2000.0) (First galaxy)
      character*1   DE1__2     (nr__2) ! Declination sign (First galaxy)
      integer*4     DE1d_2     (nr__2) ! (deg) Declination (J2000.0) (First galaxy)
      integer*4     DE1m_2     (nr__2) ! (arcmin) Declination (J2000.0) (First galaxy)
      real*4        DE1s_2     (nr__2) ! (arcsec) Declination (J2000.0) (First galaxy)
      real*4        Rmag1_2    (nr__2) ! (mag) Total R magnitude (First galaxy)
      real*4        Rgr_2      (nr__2) ! (arcsec) Pair radius (half distance between components)
      real*4        Iso_2      (nr__2) ! [3,60] Group isolation parameter (G1)
      integer*4     Cl_2       (nr__2) ! [1,7] Pair classification (G2)
      integer*4     RA2h_2     (nr__2) ! (h) Right ascension (J2000.0) (Second galaxy)
      integer*4     RA2m_2     (nr__2) ! (min) Right ascension (J2000.0) (Second galaxy)
      real*4        RA2s_2     (nr__2) ! (s) Right ascension (J2000.0) (Second galaxy)
      character*1   DE2__2     (nr__2) ! Declination sign (Second galaxy)
      integer*4     DE2d_2     (nr__2) ! (deg) Declination (J2000.0) (Second galaxy)
      integer*4     DE2m_2     (nr__2) ! (arcmin) Declination (J2000.0) (Second galaxy)
      real*4        DE2s_2     (nr__2) ! (arcsec) Declination (J2000.0) (Second galaxy)
      real*4        Rmag2_2    (nr__2) ! (mag) Total R magnitude (Second galaxy)

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

C  Declarations for 'table4.dat'	! Faint Groups of Galaxies (Paper II)

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

      real*8        RA__3      (nr__3) ! (deg) Right Ascension J2000
      real*8        Dec_3      (nr__3) ! (deg)     Declination J2000
      integer*4     RA1h_3     (nr__3) ! (h) Right ascension J2000 (A component)
      integer*4     RA1m_3     (nr__3) ! (min) Right ascension J2000 (A component)
      real*4        RA1s_3     (nr__3) ! (s) Right ascension J2000 (A component)
      character*1   DE1__3     (nr__3) ! Declination sign J2000 (A component)
      integer*4     DE1d_3     (nr__3) ! (deg) Declination J2000 (A component)
      integer*4     DE1m_3     (nr__3) ! (arcmin) Declination J2000 (A component)
      real*4        DE1s_3     (nr__3) ! (arcsec) Declination J2000 (A component)
      real*4        Rmag1_3    (nr__3) ! (mag) Total R magnitude (A component)
      real*4        Rgr_3      (nr__3) ! (arcsec) Group radius (includes center of all members)
      real*4        Iso_3      (nr__3) ! [3,60] Group isolation parameter (G1)
      integer*4     Cl_3       (nr__3) ! [1,7] Group classification (G2)
      integer*4     RA2h_3     (nr__3) ! (h) Right ascension J2000 (B component)
      integer*4     RA2m_3     (nr__3) ! (min) Right ascension J2000 (B component)
      real*4        RA2s_3     (nr__3) ! (s) Right ascension J2000 (B component)
      character*1   DE2__3     (nr__3) ! Declination sign J2000 (B component)
      integer*4     DE2d_3     (nr__3) ! (deg) Declination J2000 (B component)
      integer*4     DE2m_3     (nr__3) ! (arcmin) Declination J2000 (B component)
      real*4        DE2s_3     (nr__3) ! (arcsec) Declination J2000 (B component)
      real*4        Rmag2_3    (nr__3) ! (mag) Total R magnitude (B component)
      integer*4     RA3h_1     (nr__3) ! (h) Right ascension J2000 (C component)
      integer*4     RA3m_1     (nr__3) ! (min) Right ascension J2000 (C component)
      real*4        RA3s_1     (nr__3) ! (s) Right ascension J2000 (C component)
      character*1   DE3__1     (nr__3) ! Declination sign J2000 (C component)
      integer*4     DE3d_1     (nr__3) ! (deg) Declination J2000 (C component)
      integer*4     DE3m_1     (nr__3) ! (arcmin) Declination J2000 (C component)
      real*4        DE3s_1     (nr__3) ! (arcsec) Declination J2000 (C component)
      real*4        Rmag3_1    (nr__3) ! (mag) Total R magnitude (C component)
      integer*4     RA4h_1     (nr__3) ! (h) Right ascension J2000 (D component)
      integer*4     RA4m_1     (nr__3) ! (min) Right ascension J2000 (D component)
      real*4        RA4s_1     (nr__3) ! (s) Right ascension J2000 (D component)
      character*1   DE4__1     (nr__3) ! Declination sign J2000 (D component)
      integer*4     DE4d_1     (nr__3) ! (deg) Declination J2000 (D component)
      integer*4     DE4m_1     (nr__3) ! (arcmin) Declination J2000 (D component)
      real*4        DE4s_1     (nr__3) ! (arcsec) Declination J2000 (D component)
      real*4        Rmag4_1    (nr__3) ! (mag) Total R magnitude (D component)
      integer*4     RA5h_1     (nr__3) ! (h) ? Right ascension J2000 (E component)
      integer*4     RA5m_1     (nr__3) ! (min) ? Right ascension J2000 (E component)
      real*4        RA5s_1     (nr__3) ! (s) ? Right ascension J2000 (E component)
      character*1   DE5__1     (nr__3) ! Declination sign J2000 (E component)
      integer*4     DE5d_1     (nr__3) ! (deg) ? Declination J2000 (E component)
      integer*4     DE5m_1     (nr__3) ! (arcmin) ? Declination J2000 (E component)
      real*4        DE5s_1     (nr__3) ! (arcsec) ? Declination J2000 (E component)
      real*4        Rmag5_1    (nr__3) ! (mag) ? Total R magnitude (E component)
      integer*4     RA6h_1     (nr__3) ! (h) ? Right ascension J2000 (F component)
      integer*4     RA6m_1     (nr__3) ! (min) ? Right ascension J2000 (F component)
      real*4        RA6s_1     (nr__3) ! (s) ? Right ascension J2000 (F component)
      character*1   DE6__1     (nr__3) ! Declination sign J2000 (F component)
      integer*4     DE6d_1     (nr__3) ! (deg) ? Declination J2000 (F component)
      integer*4     DE6m_1     (nr__3) ! (arcmin) ? Declination J2000 (F component)
      real*4        DE6s_1     (nr__3) ! (arcsec) ? Declination J2000 (F component)
      real*4        Rmag6_1    (nr__3) ! (mag) ? Total R magnitude (F component)

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

C  Loading file 'table1.dat'	! Faint Pairs of Galaxies (Paper I)

C  Format for file interpretation

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

C  Effective file loading

      open(unit=1,file='table1.dat', status='old')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,1751
        read(1,'(A81)')ar__
        read(ar__,1)
     +  RA1h(i__),RA1m(i__),RA1s(i__),DE1_(i__),DE1d(i__),DE1m(i__),
     +  DE1s(i__),Rmag1(i__),Rgr(i__),Iso(i__),Cl(i__),RA2h(i__),
     +  RA2m(i__),RA2s(i__),DE2_(i__),DE2d(i__),DE2m(i__),DE2s(i__),
     +  Rmag2(i__)
c       Derive coordinates RA_ and Dec from input data
c       (RA_ and Dec are set to rNULL_ when unknown)
        RA_(i__) = RA1h(i__)
        if(RA1h(i__) .GE. 0) RA_(i__)=RA1h(i__)*15.
        if(RA1m(i__) .GE. 0) RA_(i__)=RA_(i__)+RA1m(i__)/4.
        if(RA1s(i__) .GE. 0) RA_(i__)=RA_(i__)+RA1s(i__)/240.
        Dec(i__) = DE1d(i__)
        if(DE1m(i__) .GE. 0) Dec(i__)=Dec(i__)+DE1m(i__)/60.
        if(DE1s(i__) .GE. 0) Dec(i__)=Dec(i__)+DE1s(i__)/3600.
        if(DE1_(i__).EQ.'-'.AND.Dec(i__).GE.0) Dec(i__)=-Dec(i__)
c    ..............Just test output...........
        write(6,1)
     +  RA1h(i__),RA1m(i__),RA1s(i__),DE1_(i__),DE1d(i__),DE1m(i__),
     +  DE1s(i__),Rmag1(i__),Rgr(i__),Iso(i__),Cl(i__),RA2h(i__),
     +  RA2m(i__),RA2s(i__),DE2_(i__),DE2d(i__),DE2m(i__),DE2s(i__),
     +  Rmag2(i__)
        write(6,'(6H Pos: 2F8.4)') RA_(i__),Dec(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! Faint Groups of Galaxies (Paper I)

C  Format for file interpretation

    2 format(
     +  I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F4.1,1X,F3.1,1X,
     +  F4.1,1X,I1,2X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F4.1,
     +  13X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F4.1,13X,I2,1X,
     +  I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F4.1,13X,I2,1X,I2,1X,
     +  F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F4.1,12X,I2,1X,I2,1X,F5.2,1X,
     +  A1,I2,1X,I2,1X,F4.1,1X,F4.1)

C  Effective file loading

      open(unit=1,file='table2.dat', status='old')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,29
        read(1,'(A242)')ar__1
        read(ar__1,2)
     +  RA1h_1(i__),RA1m_1(i__),RA1s_1(i__),DE1__1(i__),DE1d_1(i__),
     +  DE1m_1(i__),DE1s_1(i__),Rmag1_1(i__),Rgr_1(i__),Iso_1(i__),
     +  Cl_1(i__),RA2h_1(i__),RA2m_1(i__),RA2s_1(i__),DE2__1(i__),
     +  DE2d_1(i__),DE2m_1(i__),DE2s_1(i__),Rmag2_1(i__),RA3h(i__),
     +  RA3m(i__),RA3s(i__),DE3_(i__),DE3d(i__),DE3m(i__),DE3s(i__),
     +  Rmag3(i__),RA4h(i__),RA4m(i__),RA4s(i__),DE4_(i__),DE4d(i__),
     +  DE4m(i__),DE4s(i__),Rmag4(i__),RA5h(i__),RA5m(i__),RA5s(i__),
     +  DE5_(i__),DE5d(i__),DE5m(i__),DE5s(i__),Rmag5(i__),RA6h(i__),
     +  RA6m(i__),RA6s(i__),DE6_(i__),DE6d(i__),DE6m(i__),DE6s(i__),
     +  Rmag6(i__)
        if(ar__1(165:166) .EQ. '') RA5h(i__) = iNULL__
        if(ar__1(168:169) .EQ. '') RA5m(i__) = iNULL__
        if(ar__1(171:175) .EQ. '') RA5s(i__) = rNULL__
        if(ar__1(178:179) .EQ. '') DE5d(i__) = iNULL__
        if(ar__1(181:182) .EQ. '') DE5m(i__) = iNULL__
        if(ar__1(184:187) .EQ. '') DE5s(i__) = rNULL__
        if(ar__1(189:192) .EQ. '') Rmag5(i__) = rNULL__
        if(ar__1(205:206) .EQ. '') RA6h(i__) = iNULL__
        if(ar__1(208:209) .EQ. '') RA6m(i__) = iNULL__
        if(ar__1(211:215) .EQ. '') RA6s(i__) = rNULL__
        if(ar__1(218:219) .EQ. '') DE6d(i__) = iNULL__
        if(ar__1(221:222) .EQ. '') DE6m(i__) = iNULL__
        if(ar__1(224:227) .EQ. '') DE6s(i__) = rNULL__
        if(ar__1(229:232) .EQ. '') Rmag6(i__) = rNULL__
c       Derive coordinates RA__1 and Dec_1 from input data
c       (RA__1 and Dec_1 are set to rNULL_ when unknown)
        RA__1(i__) = RA1h_1(i__)
        if(RA1h_1(i__) .GE. 0) RA__1(i__)=RA1h_1(i__)*15.
        if(RA1m_1(i__) .GE. 0) RA__1(i__)=RA__1(i__)+RA1m_1(i__)/4.
        if(RA1s_1(i__) .GE. 0) RA__1(i__)=RA__1(i__)+RA1s_1(i__)/240.
        Dec_1(i__) = DE1d_1(i__)
        if(DE1m_1(i__) .GE. 0) Dec_1(i__)=Dec_1(i__)+DE1m_1(i__)/60.
        if(DE1s_1(i__) .GE. 0) Dec_1(i__)=Dec_1(i__)+DE1s_1(i__)/3600.
        if(DE1__1(i__).EQ.'-'.AND.Dec_1(i__).GE.0) Dec_1(i__)=-Dec_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  RA1h_1(i__),RA1m_1(i__),RA1s_1(i__),DE1__1(i__),DE1d_1(i__),
     +  DE1m_1(i__),DE1s_1(i__),Rmag1_1(i__),Rgr_1(i__),Iso_1(i__),
     +  Cl_1(i__),RA2h_1(i__),RA2m_1(i__),RA2s_1(i__),DE2__1(i__),
     +  DE2d_1(i__),DE2m_1(i__),DE2s_1(i__),Rmag2_1(i__),RA3h(i__),
     +  RA3m(i__),RA3s(i__),DE3_(i__),DE3d(i__),DE3m(i__),DE3s(i__),
     +  Rmag3(i__),RA4h(i__),RA4m(i__),RA4s(i__),DE4_(i__),DE4d(i__),
     +  DE4m(i__),DE4s(i__),Rmag4(i__),RA5h(i__),RA5m(i__),RA5s(i__),
     +  DE5_(i__),DE5d(i__),DE5m(i__),DE5s(i__),Rmag5(i__),RA6h(i__),
     +  RA6m(i__),RA6s(i__),DE6_(i__),DE6d(i__),DE6m(i__),DE6s(i__),
     +  Rmag6(i__)
        write(6,'(6H Pos: 2F8.4)') RA__1(i__),Dec_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Faint Pairs of Galaxies (Paper II)

C  Format for file interpretation

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

C  Effective file loading

      open(unit=1,file='table3.dat', status='old')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,1502
        read(1,'(A81)')ar__2
        read(ar__2,3)
     +  RA1h_2(i__),RA1m_2(i__),RA1s_2(i__),DE1__2(i__),DE1d_2(i__),
     +  DE1m_2(i__),DE1s_2(i__),Rmag1_2(i__),Rgr_2(i__),Iso_2(i__),
     +  Cl_2(i__),RA2h_2(i__),RA2m_2(i__),RA2s_2(i__),DE2__2(i__),
     +  DE2d_2(i__),DE2m_2(i__),DE2s_2(i__),Rmag2_2(i__)
c       Derive coordinates RA__2 and Dec_2 from input data
c       (RA__2 and Dec_2 are set to rNULL_ when unknown)
        RA__2(i__) = RA1h_2(i__)
        if(RA1h_2(i__) .GE. 0) RA__2(i__)=RA1h_2(i__)*15.
        if(RA1m_2(i__) .GE. 0) RA__2(i__)=RA__2(i__)+RA1m_2(i__)/4.
        if(RA1s_2(i__) .GE. 0) RA__2(i__)=RA__2(i__)+RA1s_2(i__)/240.
        Dec_2(i__) = DE1d_2(i__)
        if(DE1m_2(i__) .GE. 0) Dec_2(i__)=Dec_2(i__)+DE1m_2(i__)/60.
        if(DE1s_2(i__) .GE. 0) Dec_2(i__)=Dec_2(i__)+DE1s_2(i__)/3600.
        if(DE1__2(i__).EQ.'-'.AND.Dec_2(i__).GE.0) Dec_2(i__)=-Dec_2(i__)
c    ..............Just test output...........
        write(6,3)
     +  RA1h_2(i__),RA1m_2(i__),RA1s_2(i__),DE1__2(i__),DE1d_2(i__),
     +  DE1m_2(i__),DE1s_2(i__),Rmag1_2(i__),Rgr_2(i__),Iso_2(i__),
     +  Cl_2(i__),RA2h_2(i__),RA2m_2(i__),RA2s_2(i__),DE2__2(i__),
     +  DE2d_2(i__),DE2m_2(i__),DE2s_2(i__),Rmag2_2(i__)
        write(6,'(6H Pos: 2F8.4)') RA__2(i__),Dec_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! Faint Groups of Galaxies (Paper II)

C  Format for file interpretation

    4 format(
     +  I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F4.1,1X,F3.1,1X,
     +  F4.1,1X,I1,2X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F4.1,
     +  13X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F4.1,13X,I2,1X,
     +  I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F4.1,13X,I2,1X,I2,1X,
     +  F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F4.1,12X,I2,1X,I2,1X,F5.2,1X,
     +  A1,I2,1X,I2,1X,F4.1,1X,F4.1)

C  Effective file loading

      open(unit=1,file='table4.dat', status='old')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,32
        read(1,'(A242)')ar__3
        read(ar__3,4)
     +  RA1h_3(i__),RA1m_3(i__),RA1s_3(i__),DE1__3(i__),DE1d_3(i__),
     +  DE1m_3(i__),DE1s_3(i__),Rmag1_3(i__),Rgr_3(i__),Iso_3(i__),
     +  Cl_3(i__),RA2h_3(i__),RA2m_3(i__),RA2s_3(i__),DE2__3(i__),
     +  DE2d_3(i__),DE2m_3(i__),DE2s_3(i__),Rmag2_3(i__),RA3h_1(i__),
     +  RA3m_1(i__),RA3s_1(i__),DE3__1(i__),DE3d_1(i__),DE3m_1(i__),
     +  DE3s_1(i__),Rmag3_1(i__),RA4h_1(i__),RA4m_1(i__),RA4s_1(i__),
     +  DE4__1(i__),DE4d_1(i__),DE4m_1(i__),DE4s_1(i__),Rmag4_1(i__),
     +  RA5h_1(i__),RA5m_1(i__),RA5s_1(i__),DE5__1(i__),DE5d_1(i__),
     +  DE5m_1(i__),DE5s_1(i__),Rmag5_1(i__),RA6h_1(i__),RA6m_1(i__),
     +  RA6s_1(i__),DE6__1(i__),DE6d_1(i__),DE6m_1(i__),DE6s_1(i__),
     +  Rmag6_1(i__)
        if(ar__3(165:166) .EQ. '') RA5h_1(i__) = iNULL__
        if(ar__3(168:169) .EQ. '') RA5m_1(i__) = iNULL__
        if(ar__3(171:175) .EQ. '') RA5s_1(i__) = rNULL__
        if(ar__3(178:179) .EQ. '') DE5d_1(i__) = iNULL__
        if(ar__3(181:182) .EQ. '') DE5m_1(i__) = iNULL__
        if(ar__3(184:187) .EQ. '') DE5s_1(i__) = rNULL__
        if(ar__3(189:192) .EQ. '') Rmag5_1(i__) = rNULL__
        if(ar__3(205:206) .EQ. '') RA6h_1(i__) = iNULL__
        if(ar__3(208:209) .EQ. '') RA6m_1(i__) = iNULL__
        if(ar__3(211:215) .EQ. '') RA6s_1(i__) = rNULL__
        if(ar__3(218:219) .EQ. '') DE6d_1(i__) = iNULL__
        if(ar__3(221:222) .EQ. '') DE6m_1(i__) = iNULL__
        if(ar__3(224:227) .EQ. '') DE6s_1(i__) = rNULL__
        if(ar__3(229:232) .EQ. '') Rmag6_1(i__) = rNULL__
c       Derive coordinates RA__3 and Dec_3 from input data
c       (RA__3 and Dec_3 are set to rNULL_ when unknown)
        RA__3(i__) = RA1h_3(i__)
        if(RA1h_3(i__) .GE. 0) RA__3(i__)=RA1h_3(i__)*15.
        if(RA1m_3(i__) .GE. 0) RA__3(i__)=RA__3(i__)+RA1m_3(i__)/4.
        if(RA1s_3(i__) .GE. 0) RA__3(i__)=RA__3(i__)+RA1s_3(i__)/240.
        Dec_3(i__) = DE1d_3(i__)
        if(DE1m_3(i__) .GE. 0) Dec_3(i__)=Dec_3(i__)+DE1m_3(i__)/60.
        if(DE1s_3(i__) .GE. 0) Dec_3(i__)=Dec_3(i__)+DE1s_3(i__)/3600.
        if(DE1__3(i__).EQ.'-'.AND.Dec_3(i__).GE.0) Dec_3(i__)=-Dec_3(i__)
c    ..............Just test output...........
        write(6,4)
     +  RA1h_3(i__),RA1m_3(i__),RA1s_3(i__),DE1__3(i__),DE1d_3(i__),
     +  DE1m_3(i__),DE1s_3(i__),Rmag1_3(i__),Rgr_3(i__),Iso_3(i__),
     +  Cl_3(i__),RA2h_3(i__),RA2m_3(i__),RA2s_3(i__),DE2__3(i__),
     +  DE2d_3(i__),DE2m_3(i__),DE2s_3(i__),Rmag2_3(i__),RA3h_1(i__),
     +  RA3m_1(i__),RA3s_1(i__),DE3__1(i__),DE3d_1(i__),DE3m_1(i__),
     +  DE3s_1(i__),Rmag3_1(i__),RA4h_1(i__),RA4m_1(i__),RA4s_1(i__),
     +  DE4__1(i__),DE4d_1(i__),DE4m_1(i__),DE4s_1(i__),Rmag4_1(i__),
     +  RA5h_1(i__),RA5m_1(i__),RA5s_1(i__),DE5__1(i__),DE5d_1(i__),
     +  DE5m_1(i__),DE5s_1(i__),Rmag5_1(i__),RA6h_1(i__),RA6m_1(i__),
     +  RA6s_1(i__),DE6__1(i__),DE6d_1(i__),DE6m_1(i__),DE6s_1(i__),
     +  Rmag6_1(i__)
        write(6,'(6H Pos: 2F8.4)') RA__3(i__),Dec_3(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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