Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/533/744 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-Jun-10
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/ApJ/533/744 Calibration of the Tully-Fischer relation (Tully+, 2000)
*================================================================================
*Distances to galaxies from the correlation between luminosities and line widths.
*III. Cluster template and global measurement of H_0_.
* Tully R.B., Pierce M.J.
* <Astrophys. J. 533, 744 (2000)>
* =2000ApJ...533..744T
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Data for 24 Calibrators and 12 Clusters
integer*4 nr__
parameter (nr__=265) ! Number of records
character*234 ar__ ! Full-size record
C 1950.0 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg ! (deg) Right Ascension 1950.0
real*8 DEdeg ! (deg) Declination 1950.0
C ---------------------------------- ! (position vector(s) in degrees)
character*15 Cluster ! Cluster/Calibrator name (1)
character*8 Name ! Galaxy name (2)
integer*4 RAh ! (h) ? Right ascension (1950.0)
integer*4 RAm ! (min) ? Right ascension (1950.0)
real*4 RAs ! (s) ? Right ascension (1950.0)
character*1 DE_ ! Declination sign (1950.0)
integer*4 DEd ! (deg) ? Declination (1950.0)
integer*4 DEm ! (arcmin) ? Declination (1950.0)
integer*4 DEs ! (arcsec) ? Declination (1950.0)
real*4 GLON ! (deg) ? Galactic longitude
real*4 GLAT ! (deg) ? Galactic latitude
real*4 SGL ! (deg) ? Supergalactic longitude
real*4 SGB ! (deg) ? Supergalactic latitude
real*4 mu ! ? Distance modulus provided by the
* reference to distance
integer*4 MType ! Morphological type
integer*4 Vcmb ! (km/s) Systemic velocity in the rest frame of the
* cosmic microwave background
real*4 b_a ! ? Axial ratio of minor axis to major axis
integer*4 i ! (deg) Galaxy inclination
real*4 E_B_V ! (mag) Galactic foreground reddening
real*4 BT ! (mag) ? Total B_T_ magnitude
real*4 RT ! (mag) ? Total R_T_ magnitude
real*4 IT ! (mag) Total I_T_ magnitude
real*4 K_T ! (mag) ? Total K'_T_ magnitude
real*4 MBbik ! (mag) ? Absolute B magnitude at the indicated
* distance modulus
real*4 MRbik ! (mag) ? Absolute R magnitude at the indicated
* distance modulus
real*4 MIbik ! (mag) ? Absolute I magnitude at the indicated
* distance modulus
real*4 MK_bik ! (mag) ? Absolute K' magnitude at the indicated
* distance modulus
real*4 BTbik ! (mag) ? Adjusted total B_T_ magnitude (3)
real*4 RTbik ! (mag) ? Adjusted total R_T_ magnitude (3)
real*4 ITbik ! (mag) Adjusted total I_T_ magnitude (3)
real*4 K_Tbik ! (mag) ? Adjusted total K'_T_ magnitude (3)
character*13 r_IT ! References for I-band photometry and distances
* (in refs.dat)
integer*4 PGC ! ? PGC (Cat. <VII/119>) number
integer*4 W20 ! (km/s) HI line width at the level of 20% of
* the peak flux
integer*4 e_W20 ! (km/s) rms uncertainty on W20
real*4 logWiR ! ([km/s]) Logarithm of adjusted line width
character*23 r_W20 ! References for H I line widths (in refs.dat)
*Note (1): Cluster as follows:
* Calibrators = Zero-Point Calibrators, 24 Galaxies with Independent
* Distances
* Ursa Major = 38 Galaxies, Distance Modulus = 31.35
* Fornax = 16 Galaxies, Distance Modulus = 31.25
* Pisces Filament = 53 Galaxies, Distance Modulus = 33.90
* Coma = 28 Galaxies, Distance Modulus = 34.68
* Abell 1367 = 20 Galaxies, Distance Modulus = 34.71
* Antlia = 11 Galaxies, Distance Modulus = 32.79
* Centaurus 30 = 13 Galaxies, Distance Modulus = 33.02
* Pegasus = 12 Galaxies, Distance Modulus = 33.30
* Hydra I = 12 Galaxies, Distance Modulus = 33.81
* Cancer = 15 Galaxies, Distance Modulus = 33.96
* Abell 400 = 7 Galaxies, Distance Modulus = 34.81
* Abell 2634 = 16 Galaxies, Distance Modulus = 35.23
*Note (2): Galaxy names:
* N = NGC, Cat. <VII/118>
* U = UGC, Cat. <VII/26>
* Z = Zwicky, Cat. <VII/190>
* E = ESO-Uppsala, Cat. <VII/34>
* NNNNNN = AGC number, Giovanneli et al., 1997AJ....113...22G
*Note (3): Total magnitude adjusted for Galactic extinction,
* inclination-dependent extinction and k-correction
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'refs.dat' ! *References
integer*4 nr__1
parameter (nr__1=96) ! Number of records
character*98 ar__1 ! Full-size record
integer*4 Ref ! Reference number (1)
character*19 BibCode ! BibCode
character*36 Aut ! Author's name
character*37 Com ! Comments
*Note (1): H I line width references. If the code is less than 600, then the
* reference is provided by Huchtmeier & Richter (1989H&RHI.C......0H,
* A General Catalogue of H I Observations of Galaxies). We have been
* maintaining a database that follows from that of Huchtmeier & Richter.
C=============================================================================
C Loading file 'table1.dat' ! Data for 24 Calibrators and 12 Clusters
C Format for file interpretation
1 format(
+ A15,1X,A8,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,F6.2,1X,
+ F6.2,1X,F6.2,1X,F6.2,1X,F5.2,1X,I2,1X,I4,1X,F4.2,1X,I2,1X,
+ F5.3,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F6.2,1X,F6.2,1X,F6.2,
+ 1X,F6.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,A13,1X,I5,1X,I3,1X,
+ I2,1X,F5.3,1X,A23)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,265
read(1,'(A234)')ar__
read(ar__,1)
+ Cluster,Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,GLON,GLAT,SGL,SGB,mu,
+ MType,Vcmb,b_a,i,E_B_V,BT,RT,IT,K_T,MBbik,MRbik,MIbik,MK_bik,
+ BTbik,RTbik,ITbik,K_Tbik,r_IT,PGC,W20,e_W20,logWiR,r_W20
if(ar__(26:27) .EQ. '') RAh = iNULL__
if(ar__(29:30) .EQ. '') RAm = iNULL__
if(ar__(32:35) .EQ. '') RAs = rNULL__
if(ar__(38:39) .EQ. '') DEd = iNULL__
if(ar__(41:42) .EQ. '') DEm = iNULL__
if(ar__(44:45) .EQ. '') DEs = iNULL__
if(ar__(47:52) .EQ. '') GLON = rNULL__
if(ar__(54:59) .EQ. '') GLAT = rNULL__
if(ar__(61:66) .EQ. '') SGL = rNULL__
if(ar__(68:73) .EQ. '') SGB = rNULL__
if(ar__(75:79) .EQ. '') mu = rNULL__
if(ar__(89:92) .EQ. '') b_a = rNULL__
if(ar__(103:107) .EQ. '') BT = rNULL__
if(ar__(109:113) .EQ. '') RT = rNULL__
if(ar__(121:125) .EQ. '') K_T = rNULL__
if(ar__(127:132) .EQ. '') MBbik = rNULL__
if(ar__(134:139) .EQ. '') MRbik = rNULL__
if(ar__(141:146) .EQ. '') MIbik = rNULL__
if(ar__(148:153) .EQ. '') MK_bik = rNULL__
if(ar__(155:159) .EQ. '') BTbik = rNULL__
if(ar__(161:165) .EQ. '') RTbik = rNULL__
if(ar__(173:177) .EQ. '') K_Tbik = rNULL__
if(ar__(193:197) .EQ. '') PGC = iNULL__
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)
+ Cluster,Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,GLON,GLAT,SGL,SGB,mu,
+ MType,Vcmb,b_a,i,E_B_V,BT,RT,IT,K_T,MBbik,MRbik,MIbik,MK_bik,
+ BTbik,RTbik,ITbik,K_Tbik,r_IT,PGC,W20,e_W20,logWiR,r_W20
write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'refs.dat' ! *References
C Format for file interpretation
2 format(I3,1X,A19,1X,A36,1X,A37)
C Effective file loading
open(unit=1,status='old',file=
+'refs.dat')
write(6,*) '....Loading file: refs.dat'
do i__=1,96
read(1,'(A98)')ar__1
read(ar__1,2)Ref,BibCode,Aut,Com
c ..............Just test output...........
write(6,2)Ref,BibCode,Aut,Com
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end