Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/586/794 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-12
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/586/794 Multiwavelength luminosities of galaxies (Bell, 2003)
*================================================================================
*Estimating star formation rates from infrared and radio luminosities:
*the origin of the radio-infrared correlation.
* Bell E.F.
* <Astrophys. J. 586, 794 (2003)>
* =2003ApJ...586..794B
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tablea1.dat' ! Galaxy Luminosities
integer*4 nr__
parameter (nr__=249) ! Number of records
character*128 ar__ ! Full-size record
character*15 Galaxy (nr__) ! Galaxy name
real*4 logFUV (nr__) ! ([10W/nm]) ? Log of the Far UltraViolet
* luminosity (1)
real*4 e_logFUV (nr__) ! ([10W/nm]) ? Error in FUV (1)
real*4 logLIRtot (nr__) ! ([W]) ? Log of the total Infrared
* luminosity (2)
real*4 logLFIR (nr__) ! ([W]) ? The Far Infrared IRAS luminosity
* computed following Helou et al.
* (1988ApJS...68..151H)
real*4 F100_60 (nr__) ! ? The IRAS 100 to 60 micron ratio
real*4 logL1_4GHz (nr__) ! ([W/Hz]) ? Log of the 1.4 GHz luminosity
real*4 e_logL1_4GHz(nr__) ! ([W/Hz]) ? Error in 1.4GHz
real*4 fTher (nr__) ! ? Thermal radio fraction (3)
real*4 e_fTher (nr__) ! ? Error in fTher
real*4 VMAG (nr__) ! (mag) ? Absolute V band magnitude (4)
real*4 e_VMAG (nr__) ! (mag) ? Error in VMAG
real*4 AV (nr__) ! (mag) Extinction in the V band magnitude
real*4 Dist (nr__) ! (Mpc) Distance
real*4 logLHa (nr__) ! ([W]) ? Log of the H{alpha} luminosity
real*4 AHa (nr__) ! (mag) ? H{alpha} extinction from the Balmer
* decrement (5)
character*7 MType (nr__) ! Morphology type
character*14 Refs (nr__) ! References, in refs.dat file (6)
character*3 Notes (nr__) ! Notes (7)
*Note (1): In units of W/{AA} and at wavelength ~1550{AA}.
*Note (2): From 8-1000 microns. The IR data are taken from (in order of
* preference) Rice et al. (1988ApJS...68...91R), Soifer et al.
* (1989AJ.....98..766S), and Moshir et al. (1990, Cat. <II/156>).
*Note (3): Thermal radio fractions are taken from (in order of preference)
* Bell & Kennicutt (2001ApJ...548..681B) and Niklas et al.
* (1997A&A...322...19N).
* Note that Bell & Kennicutt (2001ApJ...548..681B) obtains thermal
* fractions from a variety of sources, with the majority from
* Niklas et al. (1997A&A...322...19N).
*Note (4): The optical data are taken from the RC3 de Vaucouleurs et al.
* (1991, Cat. <VII/155>) or the ESO-LV catalog
* Lauberts & Valentijn (1989, Cat. <VII/34>) unless otherwise stated.
*Note (5): Balmer decrements are taken from Bell & Kennicutt
* (2001ApJ...548..681B) for normal galaxies (and are averages of
* individual H II region Balmer decrements) and from Calzetti et al.
* (1994ApJ...429..582C) and Wu et al. (1998A&AS..127..521W) for
* starbursting galaxies and ULIRGs respectively.
*Note (6): References:
* UV data: 1a to 1f
* Radio data: 2a to 2h
* Optical V-band data: 3a to 3m
* Distances: 4a to 4z
* H{alpha} data: 5a to 5g
*Note (7): Notes as follows:
* a = Bell & Kennicutt (2001ApJ...548..681B) presents all of the data
* except for the radio luminosity.
* b = This galaxy has a major axis optical diameter >=1.5',
* so its UV data is ignored to minimize aperture bias.
* c = Bell & Kennicutt (2001ApJ...548..681B) presents all of the data
* for this galaxy except for the UV flux and radio luminosity:
* the UV flux is taken from Rifatto, Longo & Capaccioli
* (1995A&AS..114..527R).
* d = The radio data are also taken from Bell & Kennicutt
* (2001ApJ...548..681B) for NGC 4038/9 and NGC 25
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'refs.dat' ! References
integer*4 nr__1
parameter (nr__1=59) ! Number of records
character*198 ar__1 ! Full-size record
character*2 Ref (nr__1) ! Reference code
character*19 BibCode (nr__1) ! BibCode
character*33 Aut (nr__1) ! Author's name
character*140 Com (nr__1) ! Comments
C=============================================================================
C Loading file 'tablea1.dat' ! Galaxy Luminosities
C Format for file interpretation
1 format(
+ A15,1X,F5.2,1X,F4.2,1X,F5.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,
+ 1X,F5.3,1X,F5.3,1X,F6.2,1X,F4.2,1X,F4.2,1X,F5.1,1X,F5.2,1X,
+ F4.2,1X,A7,1X,A14,2X,A3)
C Effective file loading
open(unit=1,status='old',file=
+'tablea1.dat')
write(6,*) '....Loading file: tablea1.dat'
do i__=1,249
read(1,'(A128)')ar__
read(ar__,1)
+ Galaxy(i__),logFUV(i__),e_logFUV(i__),logLIRtot(i__),
+ logLFIR(i__),F100_60(i__),logL1_4GHz(i__),e_logL1_4GHz(i__),
+ fTher(i__),e_fTher(i__),VMAG(i__),e_VMAG(i__),AV(i__),
+ Dist(i__),logLHa(i__),AHa(i__),MType(i__),Refs(i__),Notes(i__)
if(ar__(17:21) .EQ. '') logFUV(i__) = rNULL__
if(ar__(23:26) .EQ. '') e_logFUV(i__) = rNULL__
if(ar__(28:32) .EQ. '') logLIRtot(i__) = rNULL__
if(ar__(34:38) .EQ. '') logLFIR(i__) = rNULL__
if(ar__(40:43) .EQ. '') F100_60(i__) = rNULL__
if(ar__(45:49) .EQ. '') logL1_4GHz(i__) = rNULL__
if(ar__(51:54) .EQ. '') e_logL1_4GHz(i__) = rNULL__
if(ar__(56:60) .EQ. '') fTher(i__) = rNULL__
if(ar__(62:66) .EQ. '') e_fTher(i__) = rNULL__
if(ar__(68:73) .EQ. '') VMAG(i__) = rNULL__
if(ar__(75:78) .EQ. '') e_VMAG(i__) = rNULL__
if(ar__(91:95) .EQ. '') logLHa(i__) = rNULL__
if(ar__(97:100) .EQ. '') AHa(i__) = rNULL__
c ..............Just test output...........
write(6,1)
+ Galaxy(i__),logFUV(i__),e_logFUV(i__),logLIRtot(i__),
+ logLFIR(i__),F100_60(i__),logL1_4GHz(i__),e_logL1_4GHz(i__),
+ fTher(i__),e_fTher(i__),VMAG(i__),e_VMAG(i__),AV(i__),
+ Dist(i__),logLHa(i__),AHa(i__),MType(i__),Refs(i__),Notes(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'refs.dat' ! References
C Format for file interpretation
2 format(A2,1X,A19,1X,A33,2X,A140)
C Effective file loading
open(unit=1,status='old',file=
+'refs.dat')
write(6,*) '....Loading file: refs.dat'
do i__=1,59
read(1,'(A198)')ar__1
read(ar__1,2)Ref(i__),BibCode(i__),Aut(i__),Com(i__)
c ..............Just test output...........
write(6,2)Ref(i__),BibCode(i__),Aut(i__),Com(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end