Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/671/323 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 2024-Apr-20 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/671/323 Spitzer Spectra of a 10mJy galaxy sample (Houck+, 2007) *================================================================================ *Spitzer spectra of a 10mJy galaxy sample and the star formation rate in the *Local universe. * Houck J.R., Weedman D.W., Le Floc'h E., Hao L. * <Astrophys. J., 671, 323-332 (2007)> * =2007ApJ...671..323H C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! The Bootes 10mJy sample integer*4 nr__ parameter (nr__=50) ! Number of records character*100 ar__ ! Full-size record integer*4 v_HWL2007_ ! Sequential number character*19 SST24 ! Source name (JHHMMSS.ss+DDMMSS.s), in Simbad * [HWL2007] SST24 JHHMMSS.ss+DDMMSS.s (1) integer*4 AOR ! ? AOR number (observation number in the * Spitzer archive) character*9 Prog ! Program number(s) integer*4 expSL ! (s) ? Total integration time in IRS Short-Low * orders 1 and 2 integer*4 expLL ! (s) ? Total integration time in IRS Long-Low * orders 1 and 2 real*4 F24um ! (mJy) Flux at 24um (2) character*1 n_F24um ! [r] Note on F24um (3) real*4 F24um2 ! (mJy) ? Flux at 24um measured independently from * the extracted IRS spectra (2) character*1 f_F24um ! [g] Note on F24um (3) character*1 l_F70um ! Limit flag on 70um integer*4 F70um ! (mJy) ? Flux at 70um (4) character*1 u_F70um ! [?] Uncertainty flag on F70um character*1 n_F70um ! [r] Note on F70um (2) character*22 Class ! Classification of IRS spectrum (5) character*1 n_Class ! [*] Note on Class, in notes.dat file *Note (1): SST24 source name derives from discovery with the MIPS 24um * images; coordinates listed are J2000.0 24um positions with typical * 3{sigma} uncertainty of +/-1.2". *Note (2): Values of f{nu}(24um) are for an unresolved point source measured * from MIPS images, except that source noted by (r). The mean difference * of +/-4% between IRS and MIPS values gives an estimate of uncertainties * in results *Note (3): Notes as follows: * g = Spiral galaxy and liner NGC 5656, with SDSS z=0.01055 * r = sources resolved in the same galaxy in the 24um or 70um image, * and the flux listed is the total flux for all components. *Note (4): Values of f{nu}(70um) are for an unresolved point source, * measured from MIPS images; fluxes are uncertain for sources 13 and 14 * because these are two closely interacting galaxies. Sources without * measured f{nu}(70um) are outside of the field of view for the 70um survey. *Note (5): Classification of IRS spectrum, whether showing PAH emission, * emission lines, absorption by the 9.7um Si feature, emission by the * 9.7um silicate feature, or no features; numerical value gives * classification according to scheme of Spoon et al. (2007ApJ...654L..49S) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'notes.dat' ! Individual notes integer*4 nr__1 parameter (nr__1=17) ! Number of records character*56 ar__1 ! Full-size record integer*4 v_HWL2007__1 ! Source number character*53 Note ! Note c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Redshifts, luminosities, and star formation rates of PAH sources integer*4 nr__2 parameter (nr__2=25) ! Number of records character*103 ar__2 ! Full-size record integer*4 v_HWL2007__2 ! Sequential number character*9 Source ! Source name (HHMM+DDMM) (1) real*4 z ! IRS redshift (3) real*4 z2 ! ?=- SDSS redshift (2) character*15 Class_1 ! SDSS class integer*4 DL ! (Mpc) Luminosity distance real*4 EW6_2um ! (um) Equivalent width at 6.2um (4) real*4 e_EW6_2um ! (um) rms uncertainty on EW6.2um real*4 F7_7um ! (mJy) Flux density at peak of 7.7um feature real*4 F7_7um2 ! (mJy) Flux density at peak of 7.7um feature * after subtraction of underlying * continuum at 7.7um real*4 log_nuLnu ! ([10-7W]) Luminosity at 7.7um in source * rest frame (5) real*4 log_LIR ! ([solLum]) Infrared luminosity real*4 SFR ! (Msun/yr) Stellar formation rate (6) real*4 SFR2 ! (Msun/yr) ? Second value of stellar formation * rate (7) real*8 Dens ! (10-5Mpc-3) Space density (8) real*4 SFRdens ! (10-5Msun/yr/Mpc3) Stellar formation rate density (9) *Note (1): Source name is truncated name from Table 1. *Note (2): SDSS redshifts are from optical spectra. *Note (3): IRS redshifts are determined from PAH emission features, assuming * rest wavelengths of 6.2, 7.7, 8.6, and 11.3um; mean difference between * SDSS and IRS redshifts of 0.0012 is estimate of uncertainty in IRS * redshift. *Note (4): Equivalent widths listed (EW) are in the observed frame; * equivalent widths in the rest frame are EW/(1+z). *Note (5): determined from peak flux density of 7.7um feature without * continuum subtraction. *Note (6): SFR for this source as determined from relation * log(SFR)=log[nuLnu(7.7um)]-42.57. *Note (7): SFR that would be derived using the f(H{alpha}) for KISS sources * and the relation log(SFR)=log[L(H{alpha})]-41.1, with no correction for * extinction. *Note (8): Space density for this source determined from inverse of comoving * volume Vmax which source could occupy and remain within sample * f{nu}(24um)>10mJy; luminosity distances and comoving volumes * determined by E.L. Wright, for H_0_=71km/s/Mpc, {Omega}_M_=0.27, and * {Omega}_{Lambda}_=0.73 (http://www.astro.ucla.edu/~wright/CosmoCalc.html) *Note (9): SFR density produced by this source as determined from * {nu}L_{nu}_(7.7um). C============================================================================= C Loading file 'table1.dat' ! The Bootes 10mJy sample C Format for file interpretation 1 format( + I2,7X,A19,1X,I8,1X,A9,1X,I3,1X,I3,1X,F5.1,A1,1X,F4.1,A1,A1,I4, + A1,A1,1X,A22,1X,A1) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,50 read(1,'(A100)')ar__ read(ar__,1) + v_HWL2007_,SST24,AOR,Prog,expSL,expLL,F24um,n_F24um,F24um2, + f_F24um,l_F70um,F70um,u_F70um,n_F70um,Class,n_Class if(ar__(30:37) .EQ. '') AOR = iNULL__ if(ar__(49:51) .EQ. '') expSL = iNULL__ if(ar__(53:55) .EQ. '') expLL = iNULL__ if(ar__(64:67) .EQ. '') F24um2 = rNULL__ if(ar__(70:73) .EQ. '') F70um = iNULL__ c ..............Just test output........... write(6,1) + v_HWL2007_,SST24,AOR,Prog,expSL,expLL,F24um,n_F24um,F24um2, + f_F24um,l_F70um,F70um,u_F70um,n_F70um,Class,n_Class c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'notes.dat' ! Individual notes C Format for file interpretation 2 format(I2,1X,A53) C Effective file loading open(unit=1,status='old',file= +'notes.dat') write(6,*) '....Loading file: notes.dat' do i__=1,17 read(1,'(A56)')ar__1 read(ar__1,2)v_HWL2007__1,Note c ..............Just test output........... write(6,2)v_HWL2007__1,Note c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Redshifts, luminosities, and star formation * rates of PAH sources C Format for file interpretation 3 format( + I2,1X,A9,1X,F6.4,1X,F6.4,1X,A15,I4,1X,F4.2,1X,F4.2,1X,F4.1,1X, + F4.1,1X,F5.2,1X,F5.2,1X,F6.2,1X,F4.2,1X,F7.4,1X,F4.1) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,25 read(1,'(A103)')ar__2 read(ar__2,3) + v_HWL2007__2,Source,z,z2,Class_1,DL,EW6_2um,e_EW6_2um,F7_7um, + F7_7um2,log_nuLnu,log_LIR,SFR,SFR2,Dens,SFRdens if (idig(ar__2(21:26)).EQ.0) z2 = rNULL__ if(ar__2(87:90) .EQ. '') SFR2 = rNULL__ c ..............Just test output........... write(6,3) + v_HWL2007__2,Source,z,z2,Class_1,DL,EW6_2um,e_EW6_2um,F7_7um, + F7_7um2,log_nuLnu,log_LIR,SFR,SFR2,Dens,SFRdens c .......End.of.Just test output........... end do close(1) C============================================================================= stop end C Locate position of first digit in string; or return 0 integer function idig(c) character*(*) c character*1 c1 integer lc,i lc=len(c) idig=0 do i=1,lc if(c(i:i).ne.' ') go to 1 end do 1 if(i.gt.lc) return c1=c(i:i) if(c1.eq.'.'.or.c1.eq.'-'.or.c1.eq.'+') i=i+1 if(i.gt.lc) return c1=c(i:i) if(c1.ge.'0'.and.c1.le.'9') idig=i return end