FORTRAN Generation
(/./ftp/cats/J/A_AS/141/113)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_AS/141/113 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-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/A+AS/141/113      Coma extensive H photometry              (Andreon+, 2000)
*================================================================================
*Extensive near-infrared (H-band) photometry in Coma
*       Andreon S., Pello R., Davoust E., Dominguez R., Poulain P.
*      <Astron. Astrophys. Suppl. Ser. 141, 113 (2000)>
*      =2000A&AS..141..113A      (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! *List of detected sources in the region "Patch1"

      integer*4 nr__
      parameter (nr__=77)	! Number of records
      character*143 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)

      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)
      integer*4     DEs         ! (arcsec) Declination (J2000)
      real*4        Hmag5       ! (mag) H magnitude within the aperture 5"
      real*4        e_Hmag5     ! (mag) rms uncertainty on Hmag5  (1)
      real*4        Hmag10      ! (mag) H magnitude within the aperture 10"
      real*4        e_Hmag10    ! (mag) rms uncertainty on Hmag10  (1)
      real*4        Hmag13      ! (mag) ?=99.99 H magnitude within the aperture 13" (2)
      real*4        e_Hmag13    ! (mag) ?=9.99 rms uncertainty on Hmag13  (1)
      real*4        Hmag14_5    ! (mag) ?=99.99 H magnitude within the aperture 14.5"
      real*4        e_Hmag14_5  ! (mag) ?=9.99 rms uncertainty on Hmag14.5  (1)
      real*4        Hmag18_5    ! (mag) ?=99.99 H magnitude within the aperture 18.5"
      real*4        e_Hmag18_5  ! (mag) ?=9.99 rms uncertainty on Hmag18.5  (1)
      real*4        Isomag      ! (mag) Isophotal magnitude at {mu}=22mag/arcsec^2^
      real*4        e_Isomag    ! (mag) rms uncertainty on Isomag
      real*4        Kronmag     ! (mag) Kron magnitude (3)
      real*4        e_Kronmag   ! (mag) rms uncertainty on Kronmag
      integer*4     Area        ! (arcsec) Isophotal area (at {mu}=22mag/arcsec^2^)
      real*4        ell         ! Ellipticity
      integer*4     PA          ! (deg) Position angle (from North to East)
      real*4        Radius      ! (arcsec) Kron radius, or 1.8 arcsec if the
*                                  latter is larger
      real*4        Stellar     ! Stellarity index as defined by Sextractor (4)
      character*19  Name        ! Name (5)
*Note (1): Errors computed by Sextractor. Listed errors do not include
*    photometric zero-point errors (see Sect. 3.7), those arising from the
*    compositing, and implicitly assume a gaussian or poissonian error
*    distribution.
*Note (2): "99.99" means that no measure is available (usually because the
*    object is too small or too faint for its flux to be measured through a
*    large aperture).
*Note (3): Kron magnitudes are computed by integrating the flux in an area
*    2.5 times larger than the Kron area, with a minimum aperture radius of
*    1.8 arcsec.
*Note (4): When Index <~0.3, objects are identified as galaxies, whereas
*    Index >~0.7 (for 0404 and 0504) and Index >~0.8 (for patch1)
*    correspond to stars. The difference between fields is due to seeing
*    conditions.
*Note (5):  the acronyms are:
*      5C: Wilson, 1970MNRAS.151....1W
*     CSO: Sanduleak & Pesch, 1990ApJS...72..291S
*     GMP: Godwin, Metcalfe & Peach (1983, Cat. <VII/42>)
*     NGC: Dreyer, See Cat. <VII/118>
*    NGP9: Odewahn & Aldering, 1995, Cat. <VII/204>
*    USNO: Monet et al., 1999, The USNO-A1 guide star catalog, Washington DC, 
*          US Naval Observatory, see Cat. <I/243>, USNO-A1 
*          and Cat. <I/252>, USNO-A2.0

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

C  Declarations for 'table4.dat'	! *List of detected sources in the region "0404"

      integer*4 nr__1
      parameter (nr__1=124)	! Number of records
      character*143 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)

      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)
      integer*4     DEs_1       ! (arcsec) Declination (J2000)
      real*4        Hmag5_1     ! (mag) H magnitude within the aperture 5"
      real*4        e_Hmag5_1   ! (mag) rms uncertainty on Hmag5  (1)
      real*4        Hmag10_1    ! (mag) H magnitude within the aperture 10"
      real*4        e_Hmag10_1  ! (mag) rms uncertainty on Hmag10  (1)
      real*4        Hmag13_1    ! (mag) ?=99.99 H magnitude within the aperture 13" (2)
      real*4        e_Hmag13_1  ! (mag) ?=9.99 rms uncertainty on Hmag13  (1)
      real*4        Hmag14_5_1  ! (mag) ?=99.99 H magnitude within the aperture 14.5"
      real*4        e_Hmag14_5_1 ! (mag) ?=9.99 rms uncertainty on Hmag14.5  (1)
      real*4        Hmag18_5_1  ! (mag) ?=99.99 H magnitude within the aperture 18.5"
      real*4        e_Hmag18_5_1 ! (mag) ?=9.99 rms uncertainty on Hmag18.5  (1)
      real*4        Isomag_1    ! (mag) Isophotal magnitude at {mu}=22mag/arcsec^2^
      real*4        e_Isomag_1  ! (mag) rms uncertainty on Isomag
      real*4        Kronmag_1   ! (mag) Kron magnitude (3)
      real*4        e_Kronmag_1 ! (mag) rms uncertainty on Kronmag
      integer*4     Area_1      ! (arcsec) Isophotal area (at {mu}=22mag/arcsec^2^)
      real*4        ell_1       ! Ellipticity
      integer*4     PA_1        ! (deg) Position angle (from North to East)
      real*4        Radius_1    ! (arcsec) Kron radius, or 1.8 arcsec if the
*                                  latter is larger
      real*4        Stellar_1   ! Stellarity index as defined by Sextractor (4)
      character*19  Name_1      ! Name (5)
*Note (1): Errors computed by Sextractor. Listed errors do not include
*    photometric zero-point errors (see Sect. 3.7), those arising from the
*    compositing, and implicitly assume a gaussian or poissonian error
*    distribution.
*Note (2): "99.99" means that no measure is available (usually because the
*    object is too small or too faint for its flux to be measured through a
*    large aperture).
*Note (3): Kron magnitudes are computed by integrating the flux in an area
*    2.5 times larger than the Kron area, with a minimum aperture radius of
*    1.8 arcsec.
*Note (4): When Index <~0.3, objects are identified as galaxies, whereas
*    Index >~0.7 (for 0404 and 0504) and Index >~0.8 (for patch1)
*    correspond to stars. The difference between fields is due to seeing
*    conditions.
*Note (5):  the acronyms are:
*      5C: Wilson, 1970MNRAS.151....1W
*     CSO: Sanduleak & Pesch, 1990ApJS...72..291S
*     GMP: Godwin, Metcalfe & Peach (1983, Cat. <VII/42>)
*     NGC: Dreyer, See Cat. <VII/118>
*    NGP9: Odewahn & Aldering, 1995, Cat. <VII/204>
*    USNO: Monet et al., 1999, The USNO-A1 guide star catalog, Washington DC, 
*          US Naval Observatory, see Cat. <I/243>, USNO-A1 
*          and Cat. <I/252>, USNO-A2.0

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

C  Declarations for 'table5.dat'	! *List of detected sources in the region "0504"

      integer*4 nr__2
      parameter (nr__2=88)	! Number of records
      character*143 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)

      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)
      integer*4     DEs_2       ! (arcsec) Declination (J2000)
      real*4        Hmag5_2     ! (mag) H magnitude within the aperture 5"
      real*4        e_Hmag5_2   ! (mag) rms uncertainty on Hmag5  (1)
      real*4        Hmag10_2    ! (mag) H magnitude within the aperture 10"
      real*4        e_Hmag10_2  ! (mag) rms uncertainty on Hmag10  (1)
      real*4        Hmag13_2    ! (mag) ?=99.99 H magnitude within the aperture 13" (2)
      real*4        e_Hmag13_2  ! (mag) ?=9.99 rms uncertainty on Hmag13  (1)
      real*4        Hmag14_5_2  ! (mag) ?=99.99 H magnitude within the aperture 14.5"
      real*4        e_Hmag14_5_2 ! (mag) ?=9.99 rms uncertainty on Hmag14.5  (1)
      real*4        Hmag18_5_2  ! (mag) ?=99.99 H magnitude within the aperture 18.5"
      real*4        e_Hmag18_5_2 ! (mag) ?=9.99 rms uncertainty on Hmag18.5  (1)
      real*4        Isomag_2    ! (mag) Isophotal magnitude at {mu}=22mag/arcsec^2^
      real*4        e_Isomag_2  ! (mag) rms uncertainty on Isomag
      real*4        Kronmag_2   ! (mag) Kron magnitude (3)
      real*4        e_Kronmag_2 ! (mag) rms uncertainty on Kronmag
      integer*4     Area_2      ! (arcsec) Isophotal area (at {mu}=22mag/arcsec^2^)
      real*4        ell_2       ! Ellipticity
      integer*4     PA_2        ! (deg) Position angle (from North to East)
      real*4        Radius_2    ! (arcsec) Kron radius, or 1.8 arcsec if the
*                                  latter is larger
      real*4        Stellar_2   ! Stellarity index as defined by Sextractor (4)
      character*19  Name_2      ! Name (5)
*Note (1): Errors computed by Sextractor. Listed errors do not include
*    photometric zero-point errors (see Sect. 3.7), those arising from the
*    compositing, and implicitly assume a gaussian or poissonian error
*    distribution.
*Note (2): "99.99" means that no measure is available (usually because the
*    object is too small or too faint for its flux to be measured through a
*    large aperture).
*Note (3): Kron magnitudes are computed by integrating the flux in an area
*    2.5 times larger than the Kron area, with a minimum aperture radius of
*    1.8 arcsec.
*Note (4): When Index <~0.3, objects are identified as galaxies, whereas
*    Index >~0.7 (for 0404 and 0504) and Index >~0.8 (for patch1)
*    correspond to stars. The difference between fields is due to seeing
*    conditions.
*Note (5):  the acronyms are:
*      5C: Wilson, 1970MNRAS.151....1W
*     CSO: Sanduleak & Pesch, 1990ApJS...72..291S
*     GMP: Godwin, Metcalfe & Peach (1983, Cat. <VII/42>)
*     NGC: Dreyer, See Cat. <VII/118>
*    NGP9: Odewahn & Aldering, 1995, Cat. <VII/204>
*    USNO: Monet et al., 1999, The USNO-A1 guide star catalog, Washington DC, 
*          US Naval Observatory, see Cat. <I/243>, USNO-A1 
*          and Cat. <I/252>, USNO-A2.0

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

C  Loading file 'table3.dat'	! *List of detected sources in the region "Patch1"

C  Format for file interpretation

    1 format(
     +  1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,F5.2,1X,F4.2,1X,
     +  F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,
     +  1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,2X,I3,1X,F4.2,2X,I3,1X,F3.1,
     +  2X,F4.2,1X,A19)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,77
        read(1,'(A143)')ar__
        read(ar__,1)
     +  RAh,RAm,RAs,DE_,DEd,DEm,DEs,Hmag5,e_Hmag5,Hmag10,e_Hmag10,
     +  Hmag13,e_Hmag13,Hmag14_5,e_Hmag14_5,Hmag18_5,e_Hmag18_5,
     +  Isomag,e_Isomag,Kronmag,e_Kronmag,Area,ell,PA,Radius,Stellar,
     +  Name
        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)
     +  RAh,RAm,RAs,DE_,DEd,DEm,DEs,Hmag5,e_Hmag5,Hmag10,e_Hmag10,
     +  Hmag13,e_Hmag13,Hmag14_5,e_Hmag14_5,Hmag18_5,e_Hmag18_5,
     +  Isomag,e_Isomag,Kronmag,e_Kronmag,Area,ell,PA,Radius,Stellar,
     +  Name
        write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! *List of detected sources in the region "0404"

C  Format for file interpretation

    2 format(
     +  1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,F5.2,1X,F4.2,1X,
     +  F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,
     +  1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,2X,I3,1X,F4.2,2X,I3,1X,F3.1,
     +  2X,F4.2,1X,A19)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,124
        read(1,'(A143)')ar__1
        read(ar__1,2)
     +  RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1,Hmag5_1,e_Hmag5_1,
     +  Hmag10_1,e_Hmag10_1,Hmag13_1,e_Hmag13_1,Hmag14_5_1,
     +  e_Hmag14_5_1,Hmag18_5_1,e_Hmag18_5_1,Isomag_1,e_Isomag_1,
     +  Kronmag_1,e_Kronmag_1,Area_1,ell_1,PA_1,Radius_1,Stellar_1,
     +  Name_1
        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)
     +  RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1,Hmag5_1,e_Hmag5_1,
     +  Hmag10_1,e_Hmag10_1,Hmag13_1,e_Hmag13_1,Hmag14_5_1,
     +  e_Hmag14_5_1,Hmag18_5_1,e_Hmag18_5_1,Isomag_1,e_Isomag_1,
     +  Kronmag_1,e_Kronmag_1,Area_1,ell_1,PA_1,Radius_1,Stellar_1,
     +  Name_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'	! *List of detected sources in the region "0504"

C  Format for file interpretation

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

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,88
        read(1,'(A143)')ar__2
        read(ar__2,3)
     +  RAh_2,RAm_2,RAs_2,DE__2,DEd_2,DEm_2,DEs_2,Hmag5_2,e_Hmag5_2,
     +  Hmag10_2,e_Hmag10_2,Hmag13_2,e_Hmag13_2,Hmag14_5_2,
     +  e_Hmag14_5_2,Hmag18_5_2,e_Hmag18_5_2,Isomag_2,e_Isomag_2,
     +  Kronmag_2,e_Kronmag_2,Area_2,ell_2,PA_2,Radius_2,Stellar_2,
     +  Name_2
        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)
     +  RAh_2,RAm_2,RAs_2,DE__2,DEd_2,DEm_2,DEs_2,Hmag5_2,e_Hmag5_2,
     +  Hmag10_2,e_Hmag10_2,Hmag13_2,e_Hmag13_2,Hmag14_5_2,
     +  e_Hmag14_5_2,Hmag18_5_2,e_Hmag18_5_2,Isomag_2,e_Isomag_2,
     +  Kronmag_2,e_Kronmag_2,Area_2,ell_2,PA_2,Radius_2,Stellar_2,
     +  Name_2
        write(6,'(6H Pos: 2F8.4)') RAdeg_2,DEdeg_2
c    .......End.of.Just test output...........
      end do
      close(1)

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