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 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 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      (nr__) ! Unique ZOA ID formed from sexigesimal
*                                    coordinates (ZOAHHMMSS.sss+DDMMSS.ss)
      character*22  OName      (nr__) ! HIZOA ID as reported in the HIZOA survey
*                                    publications or 2MASX name (1)
      character*5   Survey     (nr__) ! Survey name
      real*8        RAdeg      (nr__) ! (deg) Right ascension (J2000.0)
      real*8        DEdeg      (nr__) ! (deg) Declination (J2000.0)
      real*8        GLON       (nr__) ! (deg) Galactic longitude
      real*8        GLAT       (nr__) ! (deg) Galactic latitude
      real*4        eps        (nr__) ! J-band ellipticity (eps=1-b/a) (2)
      real*8        amaj       (nr__) ! (arcsec) Isophotal Ks20 fiducial elliptical aperture
*                                    semi-major axis
      real*4        Jmag       (nr__) ! (mag) J-band Ks20 fiducial elliptical aperture
*                                    magnitude
      real*4        e_Jmag     (nr__) ! (mag) rms uncertainty on Jmag
      real*4        Hmag       (nr__) ! (mag) H-band Ks20 fiducial elliptical aperture
*                                    magnitude
      real*4        e_Hmag     (nr__) ! (mag) rms uncertainty on Hmag
      real*4        Ksmag      (nr__) ! (mag) Ks-band Ks20 fiducial elliptical aperture
*                                    magnitude
      real*4        e_Ksmag    (nr__) ! (mag) rms uncertainty on Ksmag
      real*4        SuBrJ      (nr__) ! (mag/arcsec2) J-band central surface brightness
      real*4        SuBrH      (nr__) ! (mag/arcsec2) H-band central surface brightness
      real*4        SuBrKs     (nr__) ! (mag/arcsec2) Ks-band central surface brightness
      real*8        E_B_V      (nr__) ! (mag) Galactic extinction as reported by
*                                    Schlafly & Finkbeiner (2011ApJ...737..103S)
      real*4        SD         (nr__) ! ([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    (nr__1) ! Unique ZOA ID formed from sexigesimal
*                                    coordinates (ZOAHHMMSS.sss+DDMMSS.ss)
      character*22  OName_1    (nr__1) ! HIZOA ID as reported in the HIZOA survey
*                                    publications or 2MASX name (1)
      character*5   Survey_1   (nr__1) ! Survey name
      real*8        RAdeg_1    (nr__1) ! (deg) Right ascension (J2000.0)
      real*8        DEdeg_1    (nr__1) ! (deg) Declination (J2000.0)
      real*8        GLON_1     (nr__1) ! (deg) Galactic longitude
      real*8        GLAT_1     (nr__1) ! (deg) Galactic latitude
      real*4        eps_1      (nr__1) ! J-band ellipticity (eps=1-b/a) (2)
      real*8        amaj_1     (nr__1) ! (arcsec) Isophotal Ks20 fiducial elliptical aperture
*                                    semi-major axis
      real*4        Jmag_1     (nr__1) ! (mag) J-band Ks20 fiducial elliptical aperture
*                                    magnitude
      real*4        e_Jmag_1   (nr__1) ! (mag) rms uncertainty on Jmag
      real*4        Hmag_1     (nr__1) ! (mag) H-band Ks20 fiducial elliptical aperture
*                                    magnitude
      real*4        e_Hmag_1   (nr__1) ! (mag) rms uncertainty on Hmag
      real*4        Ksmag_1    (nr__1) ! (mag) Ks-band Ks20 fiducial elliptical aperture
*                                    magnitude
      real*4        e_Ksmag_1  (nr__1) ! (mag) rms uncertainty on Ksmag
      real*4        SuBrJ_1    (nr__1) ! (mag/arcsec2) J-band central surface brightness
      real*4        SuBrH_1    (nr__1) ! (mag/arcsec2) H-band central surface brightness
      real*4        SuBrKs_1   (nr__1) ! (mag/arcsec2) Ks-band central surface brightness
      real*8        E_B_V_1    (nr__1) ! (mag) Galactic extinction as reported by
*                                    Schlafly & Finkbeiner (2011ApJ...737..103S)
      real*4        SD_1       (nr__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(i__),OName(i__),Survey(i__),RAdeg(i__),DEdeg(i__),
     +  GLON(i__),GLAT(i__),eps(i__),amaj(i__),Jmag(i__),e_Jmag(i__),
     +  Hmag(i__),e_Hmag(i__),Ksmag(i__),e_Ksmag(i__),SuBrJ(i__),
     +  SuBrH(i__),SuBrKs(i__),E_B_V(i__),SD(i__)
c    ..............Just test output...........
        write(6,1)
     +  ZOAID(i__),OName(i__),Survey(i__),RAdeg(i__),DEdeg(i__),
     +  GLON(i__),GLAT(i__),eps(i__),amaj(i__),Jmag(i__),e_Jmag(i__),
     +  Hmag(i__),e_Hmag(i__),Ksmag(i__),e_Ksmag(i__),SuBrJ(i__),
     +  SuBrH(i__),SuBrKs(i__),E_B_V(i__),SD(i__)
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(i__),OName_1(i__),Survey_1(i__),RAdeg_1(i__),
     +  DEdeg_1(i__),GLON_1(i__),GLAT_1(i__),eps_1(i__),amaj_1(i__),
     +  Jmag_1(i__),e_Jmag_1(i__),Hmag_1(i__),e_Hmag_1(i__),
     +  Ksmag_1(i__),e_Ksmag_1(i__),SuBrJ_1(i__),SuBrH_1(i__),
     +  SuBrKs_1(i__),E_B_V_1(i__),SD_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  ZOAID_1(i__),OName_1(i__),Survey_1(i__),RAdeg_1(i__),
     +  DEdeg_1(i__),GLON_1(i__),GLAT_1(i__),eps_1(i__),amaj_1(i__),
     +  Jmag_1(i__),e_Jmag_1(i__),Hmag_1(i__),e_Hmag_1(i__),
     +  Ksmag_1(i__),e_Ksmag_1(i__),SuBrJ_1(i__),SuBrH_1(i__),
     +  SuBrKs_1(i__),E_B_V_1(i__),SD_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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