FORTRAN Generation
(/./ftp/cats/J/MNRAS/462/3386)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/462/3386 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 2026-Oct-14
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/MNRAS/462/3386    Deep NIR catalogue of HIZOA galaxies           (Said+, 2016)
*================================================================================
*NIR Tully-Fisher in the Zone of Avoidance.
*III. Deep NIR catalogue of the HIZOA galaxies.
*    Said K., Kraan-Korteweg R.C., Jarrett T.H., Staveley-Smith L.,
*    Williams W.L.
*   <Mon. Not. R. Astron. Soc., 462, 3386-3400 (2016)>
*   =2016MNRAS.462.3386S    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2a.dat'	! Bright 2MASX galaxies catalog

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

C  J2000.0 position composed of: RAdeg DEdeg
      character*23  ZOAID       ! Unique ZOA ID formed from sexigesimal
*                                    coordinates (ZOAHHMMSS.sss+DDMMSS.ss)
      character*22  OName       ! HIZOA ID as reported in the HIZOA survey
*                                    publications or 2MASX name (1)
      character*5   Survey      ! Survey name
      real*8        RAdeg       ! (deg) Right ascension (J2000.0)
      real*8        DEdeg       ! (deg) Declination (J2000.0)
      real*8        GLON        ! (deg) Galactic longitude
      real*8        GLAT        ! (deg) Galactic latitude
      real*4        eps         ! J-band ellipticity (eps=1-b/a) (2)
      real*8        amaj        ! (arcsec) Isophotal Ks20 fiducial elliptical aperture
*                                    semi-major axis
      real*4        Jmag        ! (mag) J-band Ks20 fiducial elliptical aperture
*                                    magnitude
      real*4        e_Jmag      ! (mag) rms uncertainty on Jmag
      real*4        Hmag        ! (mag) H-band Ks20 fiducial elliptical aperture
*                                    magnitude
      real*4        e_Hmag      ! (mag) rms uncertainty on Hmag
      real*4        Ksmag       ! (mag) Ks-band Ks20 fiducial elliptical aperture
*                                    magnitude
      real*4        e_Ksmag     ! (mag) rms uncertainty on Ksmag
      real*4        SuBrJ       ! (mag/arcsec2) J-band central surface brightness
      real*4        SuBrH       ! (mag/arcsec2) H-band central surface brightness
      real*4        SuBrKs      ! (mag/arcsec2) Ks-band central surface brightness
      real*8        E_B_V       ! (mag) Galactic extinction as reported by
*                                    Schlafly & Finkbeiner (2011ApJ...737..103S)
      real*4        SD          ! ([deg-2]) IRSF stellar density (3)
*Note (1): HIZOA ID as reported in the HIZOA survey publications
*  (Donley et al. 2005, Cat. J/AJ/129/220; Staveley-Smith et al. 2016,
*   Cat. J/AJ/151/52; Kraan-Korteweg et al., in preparation).
*Note (2): ellipticity measured as the mean value of the ellipticities of the
*   ellipses fitted between the 1{sigma} and 2{sigma}, where {sigma} is the sky
*   rms.
*Note (3): IRSF stellar density log(N_Ks_<14/deg^2^) where N_Ks_<14 is the number
*   density of stars brighter than 14 mag in the Ks band.

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

C  Declarations for 'table2b.dat'	! HIZOA galaxies catalog

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

C  J2000.0 position composed of: RAdeg DEdeg
      character*23  ZOAID_1     ! Unique ZOA ID formed from sexigesimal
*                                    coordinates (ZOAHHMMSS.sss+DDMMSS.ss)
      character*22  OName_1     ! HIZOA ID as reported in the HIZOA survey
*                                    publications or 2MASX name (1)
      character*5   Survey_1    ! Survey name
      real*8        RAdeg_1     ! (deg) Right ascension (J2000.0)
      real*8        DEdeg_1     ! (deg) Declination (J2000.0)
      real*8        GLON_1      ! (deg) Galactic longitude
      real*8        GLAT_1      ! (deg) Galactic latitude
      real*4        eps_1       ! J-band ellipticity (eps=1-b/a) (2)
      real*8        amaj_1      ! (arcsec) Isophotal Ks20 fiducial elliptical aperture
*                                    semi-major axis
      real*4        Jmag_1      ! (mag) J-band Ks20 fiducial elliptical aperture
*                                    magnitude
      real*4        e_Jmag_1    ! (mag) rms uncertainty on Jmag
      real*4        Hmag_1      ! (mag) H-band Ks20 fiducial elliptical aperture
*                                    magnitude
      real*4        e_Hmag_1    ! (mag) rms uncertainty on Hmag
      real*4        Ksmag_1     ! (mag) Ks-band Ks20 fiducial elliptical aperture
*                                    magnitude
      real*4        e_Ksmag_1   ! (mag) rms uncertainty on Ksmag
      real*4        SuBrJ_1     ! (mag/arcsec2) J-band central surface brightness
      real*4        SuBrH_1     ! (mag/arcsec2) H-band central surface brightness
      real*4        SuBrKs_1    ! (mag/arcsec2) Ks-band central surface brightness
      real*8        E_B_V_1     ! (mag) Galactic extinction as reported by
*                                    Schlafly & Finkbeiner (2011ApJ...737..103S)
      real*4        SD_1        ! ([deg-2]) IRSF stellar density (3)
*Note (1): HIZOA ID as reported in the HIZOA survey publications
*  (Donley et al. 2005, Cat. J/AJ/129/220; Staveley-Smith et al. 2016,
*   Cat. J/AJ/151/52; Kraan-Korteweg et al., in preparation).
*Note (2): ellipticity measured as the mean value of the ellipticities of the
*   ellipses fitted between the 1{sigma} and 2{sigma}, where {sigma} is the sky
*   rms.
*Note (3): IRSF stellar density log(N_Ks_<14/deg^2^) where N_Ks_<14 is the number
*   density of stars brighter than 14 mag in the Ks band.

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

C  Loading file 'table2a.dat'	! Bright 2MASX galaxies catalog

C  Format for file interpretation

    1 format(
     +  A23,1X,A22,1X,A5,1X,F9.5,1X,F9.5,1X,F9.5,1X,F9.5,1X,F4.2,1X,
     +  F7.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,
     +  1X,F6.3,1X,F6.3,1X,F7.4,1X,F5.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2a.dat')
      write(6,*) '....Loading file: table2a.dat'
      do i__=1,129
        read(1,'(A179)')ar__
        read(ar__,1)
     +  ZOAID,OName,Survey,RAdeg,DEdeg,GLON,GLAT,eps,amaj,Jmag,e_Jmag,
     +  Hmag,e_Hmag,Ksmag,e_Ksmag,SuBrJ,SuBrH,SuBrKs,E_B_V,SD
c    ..............Just test output...........
        write(6,1)
     +  ZOAID,OName,Survey,RAdeg,DEdeg,GLON,GLAT,eps,amaj,Jmag,e_Jmag,
     +  Hmag,e_Hmag,Ksmag,e_Ksmag,SuBrJ,SuBrH,SuBrKs,E_B_V,SD
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2b.dat'	! HIZOA galaxies catalog

C  Format for file interpretation

    2 format(
     +  A23,1X,A22,1X,A5,1X,F9.5,1X,F9.5,1X,F9.5,1X,F9.5,1X,F4.2,1X,
     +  F7.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,
     +  1X,F6.3,1X,F6.3,1X,F7.4,1X,F5.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2b.dat')
      write(6,*) '....Loading file: table2b.dat'
      do i__=1,915
        read(1,'(A179)')ar__1
        read(ar__1,2)
     +  ZOAID_1,OName_1,Survey_1,RAdeg_1,DEdeg_1,GLON_1,GLAT_1,eps_1,
     +  amaj_1,Jmag_1,e_Jmag_1,Hmag_1,e_Hmag_1,Ksmag_1,e_Ksmag_1,
     +  SuBrJ_1,SuBrH_1,SuBrKs_1,E_B_V_1,SD_1
c    ..............Just test output...........
        write(6,2)
     +  ZOAID_1,OName_1,Survey_1,RAdeg_1,DEdeg_1,GLON_1,GLAT_1,eps_1,
     +  amaj_1,Jmag_1,e_Jmag_1,Hmag_1,e_Hmag_1,Ksmag_1,e_Ksmag_1,
     +  SuBrJ_1,SuBrH_1,SuBrKs_1,E_B_V_1,SD_1
c    .......End.of.Just test output...........
      end do
      close(1)

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