FORTRAN Generation
(/./ftp/cats/J/A_A/392/741)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/392/741 into FORTRAN code for reading data files line by line.

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-20
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/A+A/392/741       Stellar Catalogue in the Chandra DFS  (Groenewegen+ 2002)
*================================================================================
*ESO Imaging Survey. The Stellar Catalogue in the Chandra Deep Field South
*    Groenewegen M.A.T., Girardi L., Hatziminaoglou E., Benoist C., Olsen L.F.,
*    da Costa L., Arnouts S., Madejsky R., Mignani R.P., Rite C.,
*    Sikkema G., Slijkhuis R.
*   <Astron. Astrophys. 392, 757 (2002)>
*   =2002A&A...392..741G
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! 5-passband stellar catalog

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

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

      character*19  EIS         ! EIS designation
      integer*4     RAh         ! (h) Right ascension (J2000)
      integer*4     RAm         ! (min) Right ascension (J2000)
      real*4        RAs         ! (s) Right ascension (J2000)
      character*1   DE_         ! Declination sign (J2000)
      integer*4     DEd         ! (deg) Declination (J2000)
      integer*4     DEm         ! (arcmin) Declination (J2000)
      real*4        DEs         ! (arcsec) Declination (J2000)
      character*1   l_Umag      ! Limit flag on Umag
      real*4        Umag        ! (mag) U magnitude in EIS filter (see J/A+A/379/740)
      real*4        e_Umag      ! (mag) ? rms uncertainty on Umag
      character*1   l_Bmag      ! Limit flag on Bmag
      real*4        Bmag        ! (mag) B magnitude in EIS filter (see J/A+A/379/740)
      real*4        e_Bmag      ! (mag) ? rms uncertainty on Bmag
      character*1   l_Vmag      ! Limit flag on Vmag
      real*4        Vmag        ! (mag) V magnitude in EIS filter (see J/A+A/379/740)
      real*4        e_Vmag      ! (mag) ? rms uncertainty on Vmag
      character*1   l_Rmag      ! Limit flag on Rmag
      real*4        Rmag        ! (mag) R magnitude in EIS filter (see J/A+A/379/740)
      real*4        e_Rmag      ! (mag) ? rms uncertainty on Rmag
      character*1   l_Imag      ! Limit flag on Imag
      real*4        Imag        ! (mag) I magnitude in EIS filter (see J/A+A/379/740)
      real*4        e_Imag      ! (mag) ? rms uncertainty on Imag
      character*10  SpType      ! MK Spectral type
      real*4        zphot       ! ? Photometric redshift

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

C  Declarations for 'table4.dat'	! 7-passband stellar catalog

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

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

      character*19  EIS_1       ! EIS designation
      integer*4     RAh_1       ! (h) Right ascension (J2000)
      integer*4     RAm_1       ! (min) Right ascension (J2000)
      real*4        RAs_1       ! (s) Right ascension (J2000)
      character*1   DE__1       ! Declination sign (J2000)
      integer*4     DEd_1       ! (deg) Declination (J2000)
      integer*4     DEm_1       ! (arcmin) Declination (J2000)
      real*4        DEs_1       ! (arcsec) Declination (J2000)
      character*1   l_Umag_1    ! Limit flag on Umag
      real*4        Umag_1      ! (mag) U magnitude
      real*4        e_Umag_1    ! (mag) ? rms uncertainty on Umag
      character*1   l_Bmag_1    ! Limit flag on Bmag
      real*4        Bmag_1      ! (mag) B magnitude
      real*4        e_Bmag_1    ! (mag) ? rms uncertainty on Bmag
      character*1   l_Vmag_1    ! Limit flag on Vmag
      real*4        Vmag_1      ! (mag) V magnitude
      real*4        e_Vmag_1    ! (mag) ? rms uncertainty on Vmag
      character*1   l_Rmag_1    ! Limit flag on Rmag
      real*4        Rmag_1      ! (mag) R magnitude
      real*4        e_Rmag_1    ! (mag) ? rms uncertainty on Rmag
      character*1   l_Imag_1    ! Limit flag on Imag
      real*4        Imag_1      ! (mag) I magnitude
      real*4        e_Imag_1    ! (mag) ? rms uncertainty on Imag
      character*1   l_Jmag      ! Limit flag on Jmag
      real*4        Jmag        ! (mag) J magnitude
      real*4        e_Jmag      ! (mag) ? rms uncertainty on Jmag
      character*1   l_Kmag      ! Limit flag on Kmag
      real*4        Kmag        ! (mag) K magnitude
      real*4        e_Kmag      ! (mag) ? rms uncertainty on Kmag
      character*10  SpType_1    ! MK Spectral type
      real*4        zphot_1     ! ? Photometric redshift

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

C  Declarations for 'table5.dat'	! 5-passband QSO catalog

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

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

      character*19  EIS_2       ! EIS designation
      integer*4     RAh_2       ! (h) Right ascension (J2000)
      integer*4     RAm_2       ! (min) Right ascension (J2000)
      real*4        RAs_2       ! (s) Right ascension (J2000)
      character*1   DE__2       ! Declination sign (J2000)
      integer*4     DEd_2       ! (deg) Declination (J2000)
      integer*4     DEm_2       ! (arcmin) Declination (J2000)
      real*4        DEs_2       ! (arcsec) Declination (J2000)
      character*1   l_Umag_2    ! Limit flag on Umag
      real*4        Umag_2      ! (mag) U magnitude in EIS filter (see J/A+A/379/740)
      real*4        e_Umag_2    ! (mag) ? rms uncertainty on Umag
      character*1   l_Bmag_2    ! Limit flag on Bmag
      real*4        Bmag_2      ! (mag) B magnitude in EIS filter (see J/A+A/379/740)
      real*4        e_Bmag_2    ! (mag) ? rms uncertainty on Bmag
      character*1   l_Vmag_2    ! Limit flag on Vmag
      real*4        Vmag_2      ! (mag) V magnitude in EIS filter (see J/A+A/379/740)
      real*4        e_Vmag_2    ! (mag) ? rms uncertainty on Vmag
      character*1   l_Rmag_2    ! Limit flag on Rmag
      real*4        Rmag_2      ! (mag) R magnitude in EIS filter (see J/A+A/379/740)
      real*4        e_Rmag_2    ! (mag) ? rms uncertainty on Rmag
      character*1   l_Imag_2    ! Limit flag on Imag
      real*4        Imag_2      ! (mag) I magnitude in EIS filter (see J/A+A/379/740)
      real*4        e_Imag_2    ! (mag) ? rms uncertainty on Imag
      character*10  SpType_2    ! MK Spectral type
      real*4        zphot_2     ! ? Photometric redshift

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

C  Declarations for 'table6.dat'	! 7-passband QSO catalog

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

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

      character*19  EIS_3       ! EIS designation
      integer*4     RAh_3       ! (h) Right ascension (J2000)
      integer*4     RAm_3       ! (min) Right ascension (J2000)
      real*4        RAs_3       ! (s) Right ascension (J2000)
      character*1   DE__3       ! Declination sign (J2000)
      integer*4     DEd_3       ! (deg) Declination (J2000)
      integer*4     DEm_3       ! (arcmin) Declination (J2000)
      real*4        DEs_3       ! (arcsec) Declination (J2000)
      character*1   l_Umag_3    ! Limit flag on Umag
      real*4        Umag_3      ! (mag) U magnitude
      real*4        e_Umag_3    ! (mag) ? rms uncertainty on Umag
      character*1   l_Bmag_3    ! Limit flag on Bmag
      real*4        Bmag_3      ! (mag) B magnitude
      real*4        e_Bmag_3    ! (mag) ? rms uncertainty on Bmag
      character*1   l_Vmag_3    ! Limit flag on Vmag
      real*4        Vmag_3      ! (mag) V magnitude
      real*4        e_Vmag_3    ! (mag) ? rms uncertainty on Vmag
      character*1   l_Rmag_3    ! Limit flag on Rmag
      real*4        Rmag_3      ! (mag) R magnitude
      real*4        e_Rmag_3    ! (mag) ? rms uncertainty on Rmag
      character*1   l_Imag_3    ! Limit flag on Imag
      real*4        Imag_3      ! (mag) I magnitude
      real*4        e_Imag_3    ! (mag) ? rms uncertainty on Imag
      character*1   l_Jmag_1    ! Limit flag on Jmag
      real*4        Jmag_1      ! (mag) J magnitude
      real*4        e_Jmag_1    ! (mag) ? rms uncertainty on Jmag
      character*1   l_Kmag_1    ! Limit flag on Kmag
      real*4        Kmag_1      ! (mag) K magnitude
      real*4        e_Kmag_1    ! (mag) ? rms uncertainty on Kmag
      character*10  SpType_3    ! MK Spectral type
      real*4        zphot_3     ! ? Photometric redshift

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

C  Declarations for 'table7.dat'	! 5-passband compact galaxies catalog

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

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

      character*19  EIS_4       ! EIS designation
      integer*4     RAh_4       ! (h) Right ascension (J2000)
      integer*4     RAm_4       ! (min) Right ascension (J2000)
      real*4        RAs_4       ! (s) Right ascension (J2000)
      character*1   DE__4       ! Declination sign (J2000)
      integer*4     DEd_4       ! (deg) Declination (J2000)
      integer*4     DEm_4       ! (arcmin) Declination (J2000)
      real*4        DEs_4       ! (arcsec) Declination (J2000)
      character*1   l_Umag_4    ! Limit flag on Umag
      real*4        Umag_4      ! (mag) U magnitude in EIS filter (see J/A+A/379/740)
      real*4        e_Umag_4    ! (mag) ? rms uncertainty on Umag
      character*1   l_Bmag_4    ! Limit flag on Bmag
      real*4        Bmag_4      ! (mag) B magnitude in EIS filter (see J/A+A/379/740)
      real*4        e_Bmag_4    ! (mag) ? rms uncertainty on Bmag
      character*1   l_Vmag_4    ! Limit flag on Vmag
      real*4        Vmag_4      ! (mag) V magnitude in EIS filter (see J/A+A/379/740)
      real*4        e_Vmag_4    ! (mag) ? rms uncertainty on Vmag
      character*1   l_Rmag_4    ! Limit flag on Rmag
      real*4        Rmag_4      ! (mag) R magnitude in EIS filter (see J/A+A/379/740)
      real*4        e_Rmag_4    ! (mag) ? rms uncertainty on Rmag
      character*1   l_Imag_4    ! Limit flag on Imag
      real*4        Imag_4      ! (mag) I magnitude in EIS filter (see J/A+A/379/740)
      real*4        e_Imag_4    ! (mag) ? rms uncertainty on Imag
      character*10  SpType_4    ! MK Spectral type
      real*4        zphot_4     ! ? Photometric redshift

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

C  Declarations for 'table8.dat'	! 7-passband compact galaxies catalog

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

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

      character*19  EIS_5       ! EIS designation
      integer*4     RAh_5       ! (h) Right ascension (J2000)
      integer*4     RAm_5       ! (min) Right ascension (J2000)
      real*4        RAs_5       ! (s) Right ascension (J2000)
      character*1   DE__5       ! Declination sign (J2000)
      integer*4     DEd_5       ! (deg) Declination (J2000)
      integer*4     DEm_5       ! (arcmin) Declination (J2000)
      real*4        DEs_5       ! (arcsec) Declination (J2000)
      character*1   l_Umag_5    ! Limit flag on Umag
      real*4        Umag_5      ! (mag) U magnitude
      real*4        e_Umag_5    ! (mag) ? rms uncertainty on Umag
      character*1   l_Bmag_5    ! Limit flag on Bmag
      real*4        Bmag_5      ! (mag) B magnitude
      real*4        e_Bmag_5    ! (mag) ? rms uncertainty on Bmag
      character*1   l_Vmag_5    ! Limit flag on Vmag
      real*4        Vmag_5      ! (mag) V magnitude
      real*4        e_Vmag_5    ! (mag) ? rms uncertainty on Vmag
      character*1   l_Rmag_5    ! Limit flag on Rmag
      real*4        Rmag_5      ! (mag) R magnitude
      real*4        e_Rmag_5    ! (mag) ? rms uncertainty on Rmag
      character*1   l_Imag_5    ! Limit flag on Imag
      real*4        Imag_5      ! (mag) I magnitude
      real*4        e_Imag_5    ! (mag) ? rms uncertainty on Imag
      character*1   l_Jmag_2    ! Limit flag on Jmag
      real*4        Jmag_2      ! (mag) J magnitude
      real*4        e_Jmag_2    ! (mag) ? rms uncertainty on Jmag
      character*1   l_Kmag_2    ! Limit flag on Kmag
      real*4        Kmag_2      ! (mag) K magnitude
      real*4        e_Kmag_2    ! (mag) ? rms uncertainty on Kmag
      character*10  SpType_5    ! MK Spectral type
      real*4        zphot_5     ! ? Photometric redshift

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

C  Loading file 'table3.dat'	! 5-passband stellar catalog

C  Format for file interpretation

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

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,1198
        read(1,'(A123)')ar__
        read(ar__,1)
     +  EIS,RAh,RAm,RAs,DE_,DEd,DEm,DEs,l_Umag,Umag,e_Umag,l_Bmag,
     +  Bmag,e_Bmag,l_Vmag,Vmag,e_Vmag,l_Rmag,Rmag,e_Rmag,l_Imag,Imag,
     +  e_Imag,SpType,zphot
        if(ar__(56:59) .EQ. '') e_Umag = rNULL__
        if(ar__(68:71) .EQ. '') e_Bmag = rNULL__
        if(ar__(80:83) .EQ. '') e_Vmag = rNULL__
        if(ar__(92:95) .EQ. '') e_Rmag = rNULL__
        if(ar__(104:107) .EQ. '') e_Imag = rNULL__
        if(ar__(120:123) .EQ. '') zphot = rNULL__
        RAdeg = rNULL__
        DEdeg = rNULL__
c  Derive coordinates RAdeg and DEdeg from input data
c  (RAdeg and DEdeg are set to rNULL__ when unknown)
        if(RAh .GT. -180) RAdeg=RAh*15.
        if(RAm .GT. -180) RAdeg=RAdeg+RAm/4.
        if(RAs .GT. -180) RAdeg=RAdeg+RAs/240.
        if(DEd .GE. 0) DEdeg=DEd
        if(DEm .GE. 0) DEdeg=DEdeg+DEm/60.
        if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600.
        if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg
c    ..............Just test output...........
        write(6,1)
     +  EIS,RAh,RAm,RAs,DE_,DEd,DEm,DEs,l_Umag,Umag,e_Umag,l_Bmag,
     +  Bmag,e_Bmag,l_Vmag,Vmag,e_Vmag,l_Rmag,Rmag,e_Rmag,l_Imag,Imag,
     +  e_Imag,SpType,zphot
        write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! 7-passband stellar catalog

C  Format for file interpretation

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

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,409
        read(1,'(A147)')ar__1
        read(ar__1,2)
     +  EIS_1,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1,l_Umag_1,
     +  Umag_1,e_Umag_1,l_Bmag_1,Bmag_1,e_Bmag_1,l_Vmag_1,Vmag_1,
     +  e_Vmag_1,l_Rmag_1,Rmag_1,e_Rmag_1,l_Imag_1,Imag_1,e_Imag_1,
     +  l_Jmag,Jmag,e_Jmag,l_Kmag,Kmag,e_Kmag,SpType_1,zphot_1
        if(ar__1(56:59) .EQ. '') e_Umag_1 = rNULL__
        if(ar__1(68:71) .EQ. '') e_Bmag_1 = rNULL__
        if(ar__1(80:83) .EQ. '') e_Vmag_1 = rNULL__
        if(ar__1(92:95) .EQ. '') e_Rmag_1 = rNULL__
        if(ar__1(104:107) .EQ. '') e_Imag_1 = rNULL__
        if(ar__1(116:119) .EQ. '') e_Jmag = rNULL__
        if(ar__1(128:131) .EQ. '') e_Kmag = rNULL__
        if(ar__1(144:147) .EQ. '') zphot_1 = rNULL__
        RAdeg_1 = rNULL__
        DEdeg_1 = 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 .GT. -180) RAdeg_1=RAh_1*15.
        if(RAm_1 .GT. -180) RAdeg_1=RAdeg_1+RAm_1/4.
        if(RAs_1 .GT. -180) RAdeg_1=RAdeg_1+RAs_1/240.
        if(DEd_1 .GE. 0) DEdeg_1=DEd_1
        if(DEm_1 .GE. 0) DEdeg_1=DEdeg_1+DEm_1/60.
        if(DEs_1 .GE. 0) DEdeg_1=DEdeg_1+DEs_1/3600.
        if(DE__1.EQ.'-'.AND.DEdeg_1.GE.0) DEdeg_1=-DEdeg_1
c    ..............Just test output...........
        write(6,2)
     +  EIS_1,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1,l_Umag_1,
     +  Umag_1,e_Umag_1,l_Bmag_1,Bmag_1,e_Bmag_1,l_Vmag_1,Vmag_1,
     +  e_Vmag_1,l_Rmag_1,Rmag_1,e_Rmag_1,l_Imag_1,Imag_1,e_Imag_1,
     +  l_Jmag,Jmag,e_Jmag,l_Kmag,Kmag,e_Kmag,SpType_1,zphot_1
        write(6,'(6H Pos: 2F8.4)') RAdeg_1,DEdeg_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5.dat'	! 5-passband QSO catalog

C  Format for file interpretation

    3 format(
     +  4X,A19,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,A1,F5.2,
     +  1X,F4.2,1X,A1,F5.2,1X,F4.2,1X,A1,F5.2,1X,F4.2,1X,A1,F5.2,1X,
     +  F4.2,1X,A1,F5.2,1X,F4.2,1X,A10,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,136
        read(1,'(A123)')ar__2
        read(ar__2,3)
     +  EIS_2,RAh_2,RAm_2,RAs_2,DE__2,DEd_2,DEm_2,DEs_2,l_Umag_2,
     +  Umag_2,e_Umag_2,l_Bmag_2,Bmag_2,e_Bmag_2,l_Vmag_2,Vmag_2,
     +  e_Vmag_2,l_Rmag_2,Rmag_2,e_Rmag_2,l_Imag_2,Imag_2,e_Imag_2,
     +  SpType_2,zphot_2
        if(ar__2(56:59) .EQ. '') e_Umag_2 = rNULL__
        if(ar__2(68:71) .EQ. '') e_Bmag_2 = rNULL__
        if(ar__2(80:83) .EQ. '') e_Vmag_2 = rNULL__
        if(ar__2(92:95) .EQ. '') e_Rmag_2 = rNULL__
        if(ar__2(104:107) .EQ. '') e_Imag_2 = rNULL__
        if(ar__2(120:123) .EQ. '') zphot_2 = rNULL__
        RAdeg_2 = rNULL__
        DEdeg_2 = 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 .GT. -180) RAdeg_2=RAh_2*15.
        if(RAm_2 .GT. -180) RAdeg_2=RAdeg_2+RAm_2/4.
        if(RAs_2 .GT. -180) RAdeg_2=RAdeg_2+RAs_2/240.
        if(DEd_2 .GE. 0) DEdeg_2=DEd_2
        if(DEm_2 .GE. 0) DEdeg_2=DEdeg_2+DEm_2/60.
        if(DEs_2 .GE. 0) DEdeg_2=DEdeg_2+DEs_2/3600.
        if(DE__2.EQ.'-'.AND.DEdeg_2.GE.0) DEdeg_2=-DEdeg_2
c    ..............Just test output...........
        write(6,3)
     +  EIS_2,RAh_2,RAm_2,RAs_2,DE__2,DEd_2,DEm_2,DEs_2,l_Umag_2,
     +  Umag_2,e_Umag_2,l_Bmag_2,Bmag_2,e_Bmag_2,l_Vmag_2,Vmag_2,
     +  e_Vmag_2,l_Rmag_2,Rmag_2,e_Rmag_2,l_Imag_2,Imag_2,e_Imag_2,
     +  SpType_2,zphot_2
        write(6,'(6H Pos: 2F8.4)') RAdeg_2,DEdeg_2
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! 7-passband QSO catalog

C  Format for file interpretation

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

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,61
        read(1,'(A147)')ar__3
        read(ar__3,4)
     +  EIS_3,RAh_3,RAm_3,RAs_3,DE__3,DEd_3,DEm_3,DEs_3,l_Umag_3,
     +  Umag_3,e_Umag_3,l_Bmag_3,Bmag_3,e_Bmag_3,l_Vmag_3,Vmag_3,
     +  e_Vmag_3,l_Rmag_3,Rmag_3,e_Rmag_3,l_Imag_3,Imag_3,e_Imag_3,
     +  l_Jmag_1,Jmag_1,e_Jmag_1,l_Kmag_1,Kmag_1,e_Kmag_1,SpType_3,
     +  zphot_3
        if(ar__3(56:59) .EQ. '') e_Umag_3 = rNULL__
        if(ar__3(68:71) .EQ. '') e_Bmag_3 = rNULL__
        if(ar__3(80:83) .EQ. '') e_Vmag_3 = rNULL__
        if(ar__3(92:95) .EQ. '') e_Rmag_3 = rNULL__
        if(ar__3(104:107) .EQ. '') e_Imag_3 = rNULL__
        if(ar__3(116:119) .EQ. '') e_Jmag_1 = rNULL__
        if(ar__3(128:131) .EQ. '') e_Kmag_1 = rNULL__
        if(ar__3(144:147) .EQ. '') zphot_3 = rNULL__
        RAdeg_3 = rNULL__
        DEdeg_3 = rNULL__
c  Derive coordinates RAdeg_3 and DEdeg_3 from input data
c  (RAdeg_3 and DEdeg_3 are set to rNULL__ when unknown)
        if(RAh_3 .GT. -180) RAdeg_3=RAh_3*15.
        if(RAm_3 .GT. -180) RAdeg_3=RAdeg_3+RAm_3/4.
        if(RAs_3 .GT. -180) RAdeg_3=RAdeg_3+RAs_3/240.
        if(DEd_3 .GE. 0) DEdeg_3=DEd_3
        if(DEm_3 .GE. 0) DEdeg_3=DEdeg_3+DEm_3/60.
        if(DEs_3 .GE. 0) DEdeg_3=DEdeg_3+DEs_3/3600.
        if(DE__3.EQ.'-'.AND.DEdeg_3.GE.0) DEdeg_3=-DEdeg_3
c    ..............Just test output...........
        write(6,4)
     +  EIS_3,RAh_3,RAm_3,RAs_3,DE__3,DEd_3,DEm_3,DEs_3,l_Umag_3,
     +  Umag_3,e_Umag_3,l_Bmag_3,Bmag_3,e_Bmag_3,l_Vmag_3,Vmag_3,
     +  e_Vmag_3,l_Rmag_3,Rmag_3,e_Rmag_3,l_Imag_3,Imag_3,e_Imag_3,
     +  l_Jmag_1,Jmag_1,e_Jmag_1,l_Kmag_1,Kmag_1,e_Kmag_1,SpType_3,
     +  zphot_3
        write(6,'(6H Pos: 2F8.4)') RAdeg_3,DEdeg_3
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table7.dat'	! 5-passband compact galaxies catalog

C  Format for file interpretation

    5 format(
     +  4X,A19,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,A1,F5.2,
     +  1X,F4.2,1X,A1,F5.2,1X,F4.2,1X,A1,F5.2,1X,F4.2,1X,A1,F5.2,1X,
     +  F4.2,1X,A1,F5.2,1X,F4.2,1X,A10,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table7.dat')
      write(6,*) '....Loading file: table7.dat'
      do i__=1,37
        read(1,'(A123)')ar__4
        read(ar__4,5)
     +  EIS_4,RAh_4,RAm_4,RAs_4,DE__4,DEd_4,DEm_4,DEs_4,l_Umag_4,
     +  Umag_4,e_Umag_4,l_Bmag_4,Bmag_4,e_Bmag_4,l_Vmag_4,Vmag_4,
     +  e_Vmag_4,l_Rmag_4,Rmag_4,e_Rmag_4,l_Imag_4,Imag_4,e_Imag_4,
     +  SpType_4,zphot_4
        if(ar__4(56:59) .EQ. '') e_Umag_4 = rNULL__
        if(ar__4(68:71) .EQ. '') e_Bmag_4 = rNULL__
        if(ar__4(80:83) .EQ. '') e_Vmag_4 = rNULL__
        if(ar__4(92:95) .EQ. '') e_Rmag_4 = rNULL__
        if(ar__4(104:107) .EQ. '') e_Imag_4 = rNULL__
        if(ar__4(120:123) .EQ. '') zphot_4 = rNULL__
        RAdeg_4 = rNULL__
        DEdeg_4 = rNULL__
c  Derive coordinates RAdeg_4 and DEdeg_4 from input data
c  (RAdeg_4 and DEdeg_4 are set to rNULL__ when unknown)
        if(RAh_4 .GT. -180) RAdeg_4=RAh_4*15.
        if(RAm_4 .GT. -180) RAdeg_4=RAdeg_4+RAm_4/4.
        if(RAs_4 .GT. -180) RAdeg_4=RAdeg_4+RAs_4/240.
        if(DEd_4 .GE. 0) DEdeg_4=DEd_4
        if(DEm_4 .GE. 0) DEdeg_4=DEdeg_4+DEm_4/60.
        if(DEs_4 .GE. 0) DEdeg_4=DEdeg_4+DEs_4/3600.
        if(DE__4.EQ.'-'.AND.DEdeg_4.GE.0) DEdeg_4=-DEdeg_4
c    ..............Just test output...........
        write(6,5)
     +  EIS_4,RAh_4,RAm_4,RAs_4,DE__4,DEd_4,DEm_4,DEs_4,l_Umag_4,
     +  Umag_4,e_Umag_4,l_Bmag_4,Bmag_4,e_Bmag_4,l_Vmag_4,Vmag_4,
     +  e_Vmag_4,l_Rmag_4,Rmag_4,e_Rmag_4,l_Imag_4,Imag_4,e_Imag_4,
     +  SpType_4,zphot_4
        write(6,'(6H Pos: 2F8.4)') RAdeg_4,DEdeg_4
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table8.dat'	! 7-passband compact galaxies catalog

C  Format for file interpretation

    6 format(
     +  4X,A19,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,A1,F5.2,
     +  1X,F4.2,1X,A1,F5.2,1X,F4.2,1X,A1,F5.2,1X,F4.2,1X,A1,F5.2,1X,
     +  F4.2,1X,A1,F5.2,1X,F4.2,1X,A1,F5.2,1X,F4.2,1X,A1,F5.2,1X,F4.2,
     +  1X,A10,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table8.dat')
      write(6,*) '....Loading file: table8.dat'
      do i__=1,16
        read(1,'(A147)')ar__5
        read(ar__5,6)
     +  EIS_5,RAh_5,RAm_5,RAs_5,DE__5,DEd_5,DEm_5,DEs_5,l_Umag_5,
     +  Umag_5,e_Umag_5,l_Bmag_5,Bmag_5,e_Bmag_5,l_Vmag_5,Vmag_5,
     +  e_Vmag_5,l_Rmag_5,Rmag_5,e_Rmag_5,l_Imag_5,Imag_5,e_Imag_5,
     +  l_Jmag_2,Jmag_2,e_Jmag_2,l_Kmag_2,Kmag_2,e_Kmag_2,SpType_5,
     +  zphot_5
        if(ar__5(56:59) .EQ. '') e_Umag_5 = rNULL__
        if(ar__5(68:71) .EQ. '') e_Bmag_5 = rNULL__
        if(ar__5(80:83) .EQ. '') e_Vmag_5 = rNULL__
        if(ar__5(92:95) .EQ. '') e_Rmag_5 = rNULL__
        if(ar__5(104:107) .EQ. '') e_Imag_5 = rNULL__
        if(ar__5(116:119) .EQ. '') e_Jmag_2 = rNULL__
        if(ar__5(128:131) .EQ. '') e_Kmag_2 = rNULL__
        if(ar__5(144:147) .EQ. '') zphot_5 = rNULL__
        RAdeg_5 = rNULL__
        DEdeg_5 = rNULL__
c  Derive coordinates RAdeg_5 and DEdeg_5 from input data
c  (RAdeg_5 and DEdeg_5 are set to rNULL__ when unknown)
        if(RAh_5 .GT. -180) RAdeg_5=RAh_5*15.
        if(RAm_5 .GT. -180) RAdeg_5=RAdeg_5+RAm_5/4.
        if(RAs_5 .GT. -180) RAdeg_5=RAdeg_5+RAs_5/240.
        if(DEd_5 .GE. 0) DEdeg_5=DEd_5
        if(DEm_5 .GE. 0) DEdeg_5=DEdeg_5+DEm_5/60.
        if(DEs_5 .GE. 0) DEdeg_5=DEdeg_5+DEs_5/3600.
        if(DE__5.EQ.'-'.AND.DEdeg_5.GE.0) DEdeg_5=-DEdeg_5
c    ..............Just test output...........
        write(6,6)
     +  EIS_5,RAh_5,RAm_5,RAs_5,DE__5,DEd_5,DEm_5,DEs_5,l_Umag_5,
     +  Umag_5,e_Umag_5,l_Bmag_5,Bmag_5,e_Bmag_5,l_Vmag_5,Vmag_5,
     +  e_Vmag_5,l_Rmag_5,Rmag_5,e_Rmag_5,l_Imag_5,Imag_5,e_Imag_5,
     +  l_Jmag_2,Jmag_2,e_Jmag_2,l_Kmag_2,Kmag_2,e_Kmag_2,SpType_5,
     +  zphot_5
        write(6,'(6H Pos: 2F8.4)') RAdeg_5,DEdeg_5
c    .......End.of.Just test output...........
      end do
      close(1)

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