FORTRAN Generation
(/./ftp/cats/J/ApJS/165/307)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJS/165/307 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/ApJS/165/307 Survey for ionization in neutral gas galaxies. I. (Meurer+, 2006)
*================================================================================
*The survey for ionization in neutral gas galaxies.
*I. Description and initial results.
*    Meurer G.R., Hanish D.J., Ferguson H.C., Knezek P.M., Kilborn V.A.,
*    Putman M.E., Smith R.C., Koribalski B., Meyer M., Oey M.S.,
*    Ryan-Weber E.V., Zwaan M.A., Heckman T.M., Kennicutt R.C.Jr, Lee J.C.,
*    Webster R.L., Bland-Hawthorn J., Dopita M.A., Freeman K.C., Doyle M.T.,
*    Drinkwater M.J., Staveley-Smith L., Werk J.
*   <Astrophys. J. Suppl. Ser., 165, 307-337 (2006)>
*   =2006ApJS..165..307M
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Additional HI Measurements from HIPASS Data

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

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

      character*9   HIPASS     (nr__) ! HIPASS designation (JHHMM+DDA)
      integer*4     RAh        (nr__) ! (h) Hour of Right Ascension (J2000)
      integer*4     RAm        (nr__) ! (min) Minute of Right Ascension (J2000)
      integer*4     RAs        (nr__) ! (s) Second of Right Ascension (J2000)
      character*1   DE_        (nr__) ! Sign of the Declination (J2000)
      integer*4     DEd        (nr__) ! (deg) Degree of Declination (J2000)
      integer*4     DEm        (nr__) ! (arcmin) Arcminute of Declination (J2000)
      integer*4     DEs        (nr__) ! (arcsec) Arcsecond of Declination (J2000)
      real*4        Speak      (nr__) ! (Jy) Peak flux density of HIPASS 21cm spectrum
      real*4        FHI        (nr__) ! (Jy.km/s) Integrated HI flux
      integer*4     HV         (nr__) ! (km/s) Systemic heliocentric velocity of HI measured
*                                   as the midpoint at the 50% of Speak level
      integer*4     W50        (nr__) ! (km/s) Width of HI profile at 50% of Speak
      integer*4     W20        (nr__) ! (km/s) Width of HI profile at 20% of Speak

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

C  Declarations for 'table3.dat'	! Final SINGG sample

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

      character*9   HIPASS_1   (nr__1) ! HIPASS identification (JHHMM+DDA)
      integer*4     HV_1       (nr__1) ! (km/s) HI profile systemic heliocentric velocity
      integer*4     W50_1      (nr__1) ! (km/s) HI profile width at 50% of peak flux density
      real*4        Dist       (nr__1) ! (Mpc) Adopted distance (1)
      character*1   r_Dist     (nr__1) ! [*] Dist from Karchentsev et al.
*                                    (2004, cat. J/AJ/127/2031)
      real*4        Mass       (nr__1) ! ([Msun]) The HI mass
      real*4        E_B_V      (nr__1) ! (mag) Foreground dust reddening (2)
      character*1   SR1        (nr__1) ! [Y/N] SINGG release 1 target?
      character*4   Cata       (nr__1) ! HIPASS catalogs containing the source (3)
*Note (1): Derived from HV using the model of Mould et al.
*     (2000ApJ...529..786M), except except where marked by f_Dist.
*Note (2): From the maps of Schlegel, Finkbeiner & Davis
*     (1998ApJ...500..525S).
*Note (3): The first catalog listed is the source of the HI parameters
*          for that entry, as follows:
*      H = HICAT (Meyer et al., 2004, Cat. VIII/73)
*      B = BGC (Koribalski et al., 2004, Cat. J/AJ/128/16)
*      S = SCCC (Kilborn et al., 2002, Cat. J/AJ/124/690)
*      A = AVCC (Putman et al., 2002, Cat. J/AJ/123/873)
*      R = this study (Table 2)

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

C  Declarations for 'table6.dat'	! Source identification and measurement apertures
                              for SINGG release 1 (SR1)

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

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

      character*9   HIPASS_2   (nr__2) ! HIPASS identification (JHHMM+DDA) (G1)
      character*2   m_HIPASS   (nr__2) ! [S1234] Subpart designation
      character*19  OName      (nr__2) ! Optical identification (1)
      character*7   Morph      (nr__2) ! RC3 (de Vaucouleurs et al., 1991, Cat.
*                                   VII/155) morphology code
      integer*4     RAh_1      (nr__2) ! (h) Hour of Right Ascension (J2000)
      integer*4     RAm_1      (nr__2) ! (min) Minute of Right Ascension (J2000)
      real*4        RAs_1      (nr__2) ! (s) Second of Right Ascension (J2000)
      character*1   DE__1      (nr__2) ! Sign of the Declination (J2000)
      integer*4     DEd_1      (nr__2) ! (deg) Degree of Declination (J2000)
      integer*4     DEm_1      (nr__2) ! (arcmin) Arcminute of Declination (J2000)
      integer*4     DEs_1      (nr__2) ! (arcsec) Arcsecond of Declination (J2000)
      character*9   Filt       (nr__2) ! Filters used in the observation (2)
      integer*4     Rmax       (nr__2) ! (arcsec) Semi-major axis length (3)
      real*4        a_b        (nr__2) ! Axial ratio of aperture used to measure total
*                                   flux
      integer*4     PA         (nr__2) ! (deg) Position angle (4)
*Note (1): From HOPCAT (Doyle et al. 2005MNRAS.361...34D), the BGC
*     (Koribalski et al., 2004, Cat. J/AJ/128/16) or NED. Note that some
*     of prefixes have been abbreviated (e.g. 2MASSXJ -> 2MJ; APMUKSB -> A-B).
*Note (2): where [narrow band;continuum].
*Note (3): Of elliptical aperture used to measure total flux.
*Note (4): Of the major axis, measured from north toward the east, of the
*     aperture used to measure total flux.

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

C  Declarations for 'table7.dat'	! Intrinsic quantities for SR1

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

      character*9   HIPASS_3   (nr__3) ! HIPASS identification (JHHMM+DDA)(G1)
      character*2   m_HIPASS_1 (nr__3) ! [S1234]  Subpart designation
      real*4        RMAG       (nr__3) ! (mag) Absolute R band (AB scale) magnitude
      real*4        e_RMAG     (nr__3) ! (mag) Uncertainty in RMAG
      character*3   f_RMAG     (nr__3) ! Flag on RMAG (1)
      real*4        RReff      (nr__3) ! (kpc) Effective R band radius
      real*4        e_RReff    (nr__3) ! (kpc) Uncertainty in RReff
      real*4        RR90       (nr__3) ! (kpc) ? Radius enclosing 90% of the R band flux
      real*4        e_RR90     (nr__3) ! (kpc) ? Uncertainty in RR90
      real*4        muR        (nr__3) ! (mag/arcsec2) The R band effective surface
*                                        brightness (AB scale) (2)
      real*4        e_muR      (nr__3) ! (mag/arcsec2) Uncertainty in muR
      real*4        logHa      (nr__3) ! ([mW/m2]) Log of the total H{alpha} flux (3)
      real*4        e_logHa    (nr__3) ! ([mW/m2]) Uncertainty in logHa
      character*4   f_logHa    (nr__3) ! Flag on logHa (1)
      real*4        HaReff     (nr__3) ! (kpc) ? Effective H{alpha} radius
      real*4        e_HaReff   (nr__3) ! (kpc) ? Uncertainty in HaReff
      real*4        HaR90      (nr__3) ! (kpc) ? Radius enclosing 90% of the
*                                       H{alpha} flux
      real*4        e_HaR90    (nr__3) ! (kpc) ? Uncertainty in HaR90
      real*4        logSFR     (nr__3) ! ([Msun/yr]) Log of the star formation rate (4)
      real*4        logSFA     (nr__3) ! ([Msun/yr/kpc2]) ? Log of the star formation rate per
*                                            unit face-on area
      real*4        e_logSFA   (nr__3) ! ([Msun/yr/kpc2]) ? Uncertainty in logSFA
      real*4        EW50       (nr__3) ! (0.1nm) ? Equivalent width within HaReff
*                                         in units of Angstroms (5)
      real*4        e_EW50     (nr__3) ! (0.1nm) ? Uncertainty in EW50
*Note (1): Flags as follows:
*      d = there is flux outside of the region measured with elliptical aperture.
*     dd = flux exterior to the elliptical apertures is >10% of the total flux.
*      # = the H{alpha} flux was measured with just small apertures centered
*          on the obvious HII regions instead of the standard method.
*          Cases which are measured with this technique, have invalid Reff,
*          R90 in which case the appropriate columns are left NULL.
*      S = the source extends close to or beyond the frame boundary.
*Note (2): Extinction corrected (Galactic and internal), face-on R band
*     effective surface brightness.
*Note (3): Corrected for Galactic extinction and [NII] contamination. In
*     units of erg/cm^2^/s.
*Note (4): The errors for this quantity are the same as those in muR.
*Note (5): Extinction corrected.

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

C  Declarations for 'table8.dat'	! Corrections used in flux measurements

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

      character*9   HIPASS_4   (nr__4) ! HIPASS identification (JHHMM+DDA) (G1)
      character*2   m_HIPASS_2 (nr__4) ! [S1234] Subpart designation
      real*4        AHa        (nr__4) ! (mag) Absorption of H{alpha} by Galactic foreground
*                                  dust
      real*4        RMAG_      (nr__4) ! (mag) Absolute R band magnitude (AB scale) without
*                                  internal dust absorption correction
      real*4        AHai       (nr__4) ! (mag) Absorption of H{alpha} by dust internal to
*                                  the source (1)
      real*4        ARi        (nr__4) ! (mag) Absorption in the R band by dust internal to
*                                  the source
      real*4        w6583      (nr__4) ! The ([NII] 6583)/H{alpha} line flux ratio (2)
      real*4        k_NII_     (nr__4) ! Filter and velocity profile dependent
*                                  correction coefficient for contamination of
*                                  the H{alpha} by [NII] lines (3)
*Note (1): Estimated from RMAG using eq. 4., i.e.
*           log(AHai)=(-0.12+/-0.048)RMAG'+(-2.47+/-0.95)
*Note (2): Estimated from RMAG using eq. 5., i.e.,
*           log(w6583)=(-0.13+/-0.035)RMAG'+(-3.30+/-0.89)
*Note (3): See eqs. A14 and A15.

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

C  Loading file 'table2.dat'	! Additional HI Measurements from HIPASS Data

C  Format for file interpretation

    1 format(
     +  A9,3X,I2,1X,I2,1X,I2,1X,A1,I2,1X,I2,1X,I2,1X,F5.3,1X,F5.1,1X,
     +  I5,1X,I3,1X,I3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,15
        read(1,'(A56)')ar__
        read(ar__,1)
     +  HIPASS(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),
     +  DEm(i__),DEs(i__),Speak(i__),FHI(i__),HV(i__),W50(i__),
     +  W20(i__)
        RAdeg(i__) = rNULL__
        DEdeg(i__) = rNULL__
c  Derive coordinates RAdeg and DEdeg from input data
c  (RAdeg and DEdeg are set to rNULL__ when unknown)
        if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15.
        if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4.
        if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240.
        if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__)
        if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60.
        if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600.
        if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__)
c    ..............Just test output...........
        write(6,1)
     +  HIPASS(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),
     +  DEm(i__),DEs(i__),Speak(i__),FHI(i__),HV(i__),W50(i__),
     +  W20(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Final SINGG sample

C  Format for file interpretation

    2 format(
     +  7X,A9,2X,I5,1X,I3,1X,F5.1,1X,A1,1X,F5.2,1X,F5.3,1X,A1,1X,A4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,468
        read(1,'(A54)')ar__1
        read(ar__1,2)
     +  HIPASS_1(i__),HV_1(i__),W50_1(i__),Dist(i__),r_Dist(i__),
     +  Mass(i__),E_B_V(i__),SR1(i__),Cata(i__)
c    ..............Just test output...........
        write(6,2)
     +  HIPASS_1(i__),HV_1(i__),W50_1(i__),Dist(i__),r_Dist(i__),
     +  Mass(i__),E_B_V(i__),SR1(i__),Cata(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! Source identification and measurement apertures
*                              for SINGG release 1 (SR1)

C  Format for file interpretation

    3 format(
     +  7X,A9,A2,1X,A19,1X,A7,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,
     +  I2,1X,A9,1X,I3,1X,F4.2,1X,I3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,111
        read(1,'(A90)')ar__2
        read(ar__2,3)
     +  HIPASS_2(i__),m_HIPASS(i__),OName(i__),Morph(i__),RAh_1(i__),
     +  RAm_1(i__),RAs_1(i__),DE__1(i__),DEd_1(i__),DEm_1(i__),
     +  DEs_1(i__),Filt(i__),Rmax(i__),a_b(i__),PA(i__)
        RAdeg_1(i__) = rNULL__
        DEdeg_1(i__) = 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(i__) .GT. -180) RAdeg_1(i__)=RAh_1(i__)*15.
        if(RAm_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAm_1(i__)/4.
        if(RAs_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAs_1(i__)/240.
        if(DEd_1(i__) .GE. 0) DEdeg_1(i__)=DEd_1(i__)
        if(DEm_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEm_1(i__)/60.
        if(DEs_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEs_1(i__)/3600.
        if(DE__1(i__).EQ.'-'.AND.DEdeg_1(i__).GE.0) DEdeg_1(i__)=-DEdeg_1(i__)
c    ..............Just test output...........
        write(6,3)
     +  HIPASS_2(i__),m_HIPASS(i__),OName(i__),Morph(i__),RAh_1(i__),
     +  RAm_1(i__),RAs_1(i__),DE__1(i__),DEd_1(i__),DEm_1(i__),
     +  DEs_1(i__),Filt(i__),Rmax(i__),a_b(i__),PA(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg_1(i__),DEdeg_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table7.dat'	! Intrinsic quantities for SR1

C  Format for file interpretation

    4 format(
     +  7X,A9,A2,1X,F6.2,1X,F4.2,1X,A3,1X,F6.3,1X,F5.3,1X,F6.3,1X,
     +  F5.3,1X,F5.2,1X,F4.2,1X,F6.2,1X,F4.2,1X,A4,1X,F6.3,1X,F5.3,1X,
     +  F6.3,1X,F5.3,1X,F5.2,1X,F5.2,1X,F4.2,1X,F5.1,1X,F4.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table7.dat')
      write(6,*) '....Loading file: table7.dat'
      do i__=1,111
        read(1,'(A142)')ar__3
        read(ar__3,4)
     +  HIPASS_3(i__),m_HIPASS_1(i__),RMAG(i__),e_RMAG(i__),
     +  f_RMAG(i__),RReff(i__),e_RReff(i__),RR90(i__),e_RR90(i__),
     +  muR(i__),e_muR(i__),logHa(i__),e_logHa(i__),f_logHa(i__),
     +  HaReff(i__),e_HaReff(i__),HaR90(i__),e_HaR90(i__),logSFR(i__),
     +  logSFA(i__),e_logSFA(i__),EW50(i__),e_EW50(i__)
        if(ar__3(49:54) .EQ. '') RR90(i__) = rNULL__
        if(ar__3(56:60) .EQ. '') e_RR90(i__) = rNULL__
        if(ar__3(90:95) .EQ. '') HaReff(i__) = rNULL__
        if(ar__3(97:101) .EQ. '') e_HaReff(i__) = rNULL__
        if(ar__3(103:108) .EQ. '') HaR90(i__) = rNULL__
        if(ar__3(110:114) .EQ. '') e_HaR90(i__) = rNULL__
        if(ar__3(122:126) .EQ. '') logSFA(i__) = rNULL__
        if(ar__3(128:131) .EQ. '') e_logSFA(i__) = rNULL__
        if(ar__3(133:137) .EQ. '') EW50(i__) = rNULL__
        if(ar__3(139:142) .EQ. '') e_EW50(i__) = rNULL__
c    ..............Just test output...........
        write(6,4)
     +  HIPASS_3(i__),m_HIPASS_1(i__),RMAG(i__),e_RMAG(i__),
     +  f_RMAG(i__),RReff(i__),e_RReff(i__),RR90(i__),e_RR90(i__),
     +  muR(i__),e_muR(i__),logHa(i__),e_logHa(i__),f_logHa(i__),
     +  HaReff(i__),e_HaReff(i__),HaR90(i__),e_HaR90(i__),logSFR(i__),
     +  logSFA(i__),e_logSFA(i__),EW50(i__),e_EW50(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table8.dat'	! Corrections used in flux measurements

C  Format for file interpretation

    5 format(7X,A9,A2,1X,F4.2,1X,F6.2,1X,F4.2,1X,F4.2,1X,F5.3,1X,F5.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table8.dat')
      write(6,*) '....Loading file: table8.dat'
      do i__=1,111
        read(1,'(A52)')ar__4
        read(ar__4,5)
     +  HIPASS_4(i__),m_HIPASS_2(i__),AHa(i__),RMAG_(i__),AHai(i__),
     +  ARi(i__),w6583(i__),k_NII_(i__)
c    ..............Just test output...........
        write(6,5)
     +  HIPASS_4(i__),m_HIPASS_2(i__),AHa(i__),RMAG_(i__),AHai(i__),
     +  ARi(i__),w6583(i__),k_NII_(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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