Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJS/165/307 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/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 ! (deg) Right Ascension J2000
real*8 DEdeg ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
character*9 HIPASS ! HIPASS designation (JHHMM+DDA)
integer*4 RAh ! (h) Hour of Right Ascension (J2000)
integer*4 RAm ! (min) Minute of Right Ascension (J2000)
integer*4 RAs ! (s) Second of Right Ascension (J2000)
character*1 DE_ ! Sign of the Declination (J2000)
integer*4 DEd ! (deg) Degree of Declination (J2000)
integer*4 DEm ! (arcmin) Arcminute of Declination (J2000)
integer*4 DEs ! (arcsec) Arcsecond of Declination (J2000)
real*4 Speak ! (Jy) Peak flux density of HIPASS 21cm spectrum
real*4 FHI ! (Jy.km/s) Integrated HI flux
integer*4 HV ! (km/s) Systemic heliocentric velocity of HI measured
* as the midpoint at the 50% of Speak level
integer*4 W50 ! (km/s) Width of HI profile at 50% of Speak
integer*4 W20 ! (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 ! HIPASS identification (JHHMM+DDA)
integer*4 HV_1 ! (km/s) HI profile systemic heliocentric velocity
integer*4 W50_1 ! (km/s) HI profile width at 50% of peak flux density
real*4 Dist ! (Mpc) Adopted distance (1)
character*1 r_Dist ! [*] Dist from Karchentsev et al.
* (2004, cat. J/AJ/127/2031)
real*4 Mass ! ([Msun]) The HI mass
real*4 E_B_V ! (mag) Foreground dust reddening (2)
character*1 SR1 ! [Y/N] SINGG release 1 target?
character*4 Cata ! 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 ! (deg) Right Ascension J2000
real*8 DEdeg_1 ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
character*9 HIPASS_2 ! HIPASS identification (JHHMM+DDA) (G1)
character*2 m_HIPASS ! [S1234] Subpart designation
character*19 OName ! Optical identification (1)
character*7 Morph ! RC3 (de Vaucouleurs et al., 1991, Cat.
* VII/155) morphology code
integer*4 RAh_1 ! (h) Hour of Right Ascension (J2000)
integer*4 RAm_1 ! (min) Minute of Right Ascension (J2000)
real*4 RAs_1 ! (s) Second of Right Ascension (J2000)
character*1 DE__1 ! Sign of the Declination (J2000)
integer*4 DEd_1 ! (deg) Degree of Declination (J2000)
integer*4 DEm_1 ! (arcmin) Arcminute of Declination (J2000)
integer*4 DEs_1 ! (arcsec) Arcsecond of Declination (J2000)
character*9 Filt ! Filters used in the observation (2)
integer*4 Rmax ! (arcsec) Semi-major axis length (3)
real*4 a_b ! Axial ratio of aperture used to measure total
* flux
integer*4 PA ! (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 ! HIPASS identification (JHHMM+DDA)(G1)
character*2 m_HIPASS_1 ! [S1234] Subpart designation
real*4 RMAG ! (mag) Absolute R band (AB scale) magnitude
real*4 e_RMAG ! (mag) Uncertainty in RMAG
character*3 f_RMAG ! Flag on RMAG (1)
real*4 RReff ! (kpc) Effective R band radius
real*4 e_RReff ! (kpc) Uncertainty in RReff
real*4 RR90 ! (kpc) ? Radius enclosing 90% of the R band flux
real*4 e_RR90 ! (kpc) ? Uncertainty in RR90
real*4 muR ! (mag/arcsec2) The R band effective surface
* brightness (AB scale) (2)
real*4 e_muR ! (mag/arcsec2) Uncertainty in muR
real*4 logHa ! ([mW/m2]) Log of the total H{alpha} flux (3)
real*4 e_logHa ! ([mW/m2]) Uncertainty in logHa
character*4 f_logHa ! Flag on logHa (1)
real*4 HaReff ! (kpc) ? Effective H{alpha} radius
real*4 e_HaReff ! (kpc) ? Uncertainty in HaReff
real*4 HaR90 ! (kpc) ? Radius enclosing 90% of the
* H{alpha} flux
real*4 e_HaR90 ! (kpc) ? Uncertainty in HaR90
real*4 logSFR ! ([Msun/yr]) Log of the star formation rate (4)
real*4 logSFA ! ([Msun/yr/kpc2]) ? Log of the star formation rate per
* unit face-on area
real*4 e_logSFA ! ([Msun/yr/kpc2]) ? Uncertainty in logSFA
real*4 EW50 ! (0.1nm) ? Equivalent width within HaReff
* in units of Angstroms (5)
real*4 e_EW50 ! (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 ! HIPASS identification (JHHMM+DDA) (G1)
character*2 m_HIPASS_2 ! [S1234] Subpart designation
real*4 AHa ! (mag) Absorption of H{alpha} by Galactic foreground
* dust
real*4 RMAG_ ! (mag) Absolute R band magnitude (AB scale) without
* internal dust absorption correction
real*4 AHai ! (mag) Absorption of H{alpha} by dust internal to
* the source (1)
real*4 ARi ! (mag) Absorption in the R band by dust internal to
* the source
real*4 w6583 ! The ([NII] 6583)/H{alpha} line flux ratio (2)
real*4 k_NII_ ! 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,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Speak,FHI,HV,W50,W20
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)
+ HIPASS,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Speak,FHI,HV,W50,W20
write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
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,HV_1,W50_1,Dist,r_Dist,Mass,E_B_V,SR1,Cata
c ..............Just test output...........
write(6,2)
+ HIPASS_1,HV_1,W50_1,Dist,r_Dist,Mass,E_B_V,SR1,Cata
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,m_HIPASS,OName,Morph,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,
+ DEm_1,DEs_1,Filt,Rmax,a_b,PA
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,3)
+ HIPASS_2,m_HIPASS,OName,Morph,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,
+ DEm_1,DEs_1,Filt,Rmax,a_b,PA
write(6,'(6H Pos: 2F8.4)') RAdeg_1,DEdeg_1
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,m_HIPASS_1,RMAG,e_RMAG,f_RMAG,RReff,e_RReff,RR90,
+ e_RR90,muR,e_muR,logHa,e_logHa,f_logHa,HaReff,e_HaReff,HaR90,
+ e_HaR90,logSFR,logSFA,e_logSFA,EW50,e_EW50
if(ar__3(49:54) .EQ. '') RR90 = rNULL__
if(ar__3(56:60) .EQ. '') e_RR90 = rNULL__
if(ar__3(90:95) .EQ. '') HaReff = rNULL__
if(ar__3(97:101) .EQ. '') e_HaReff = rNULL__
if(ar__3(103:108) .EQ. '') HaR90 = rNULL__
if(ar__3(110:114) .EQ. '') e_HaR90 = rNULL__
if(ar__3(122:126) .EQ. '') logSFA = rNULL__
if(ar__3(128:131) .EQ. '') e_logSFA = rNULL__
if(ar__3(133:137) .EQ. '') EW50 = rNULL__
if(ar__3(139:142) .EQ. '') e_EW50 = rNULL__
c ..............Just test output...........
write(6,4)
+ HIPASS_3,m_HIPASS_1,RMAG,e_RMAG,f_RMAG,RReff,e_RReff,RR90,
+ e_RR90,muR,e_muR,logHa,e_logHa,f_logHa,HaReff,e_HaReff,HaR90,
+ e_HaR90,logSFR,logSFA,e_logSFA,EW50,e_EW50
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,m_HIPASS_2,AHa,RMAG_,AHai,ARi,w6583,k_NII_
c ..............Just test output...........
write(6,5)
+ HIPASS_4,m_HIPASS_2,AHa,RMAG_,AHai,ARi,w6583,k_NII_
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end