Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/653/1004 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/653/1004 Galaxies at 1.4<~z<~3.0 in GOODS-North Field (Reddy+, 2006) *================================================================================ *A spectroscopic survey of redshift 1.4<~z<~3.0 galaxies in the *GOODS-North Field: survey description, catalogs, and properties. * Reddy N.A., Steidel C.C., Erb D.K., Shapley A.E., Pettini M. * <Astrophys. J., 653, 1004-1026 (2006)> * =2006ApJ...653.1004R C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! GOODS-N UnGR galaxies with spectroscopic redshifts integer*4 nr__ parameter (nr__=388) ! Number of records character*160 ar__ ! Full-size record C J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg ! (deg) Right Ascension J2000.0 real*8 DEdeg ! (deg) Declination J2000.0 C ---------------------------------- ! (position vector(s) in degrees) character*10 Name ! Name (G1) integer*4 RAh ! (h) Right ascension (J2000.0) integer*4 RAm ! (min) Right ascension (J2000.0) real*4 RAs ! (s) Right ascension (J2000.0) character*1 DE_ ! Declination sign (J2000.0) integer*4 DEd ! (deg) Declination (J2000.0) integer*4 DEm ! (arcmin) Declination (J2000.0) real*4 DEs ! (arcsec) Declination (J2000.0) character*1 u_zem ! [:] Uncertainty flag on zem real*4 zem ! ? Emission redshift (2) character*1 u_zabs ! [:] Uncertainty flag on zabs real*4 zabs ! ? Absorption redshift (3) character*4 Mcl ! Morphological class (4) real*4 Rmag ! (mag) ? R magnitude in AB unit (G2) real*4 G_R ! (mag) ? G-R colour index (G2) character*1 l_Un_G ! Limit flag, upper limits given for galaxies * undetected in Un real*4 Un_G ! (mag) ? Un-G colour index (G2) character*1 l_Jmag ! Limit flag on Jmag real*4 Jmag ! (mag) ? J magnitude (5) character*1 l_Ksmag ! Limit flag on Ksmag real*4 Ksmag ! (mag) ? Ks magnitude (5) real*4 m3_6 ! (mag) ? magnitude at 3.6um real*4 e_m3_6 ! (mag) ? rms uncertainty on m3.6 real*4 m4_5 ! (mag) ? magnitude at 4.5um real*4 e_m4_5 ! (mag) ? rms uncertainty on m4.5 real*4 m5_8 ! (mag) ? magnitude at 5.8um real*4 e_m5_8 ! (mag) ? rms uncertainty on m5.8 real*4 m8_0 ! (mag) ? magnitude at 8.0um real*4 e_m8_0 ! (mag) ? rms uncertainty on m8.0 real*4 F24 ! (uJy) ? flux at 24um real*4 e_F24 ! (uJy) ? rms uncertainty on F24 character*19 Notes ! Notes (6) *Note (2): Emission-line redshift. An entry with a colon indicates that the * redshift is uncertain. A blank entry indicates that an emission-line * redshift could not be measured. *Note (3): Absorption-line redshift. An entry with a colon indicates that * the redshift is uncertain. A blank entry indicates that an * absorption-line redshift could not be measured. *Note (4): Source type, either galaxy (GAL), AGN, QSO, or STAR. The * distinction between QSO and AGN classification is based on the line * widths, as described in Steidel et al. (2002ApJ...576..653S), where an * object is classified as a QSO if it has any emission line with FWHM * >2000km/s. AGNs identified using other means (X-ray or mid-IR * emission) are discussed in Sect. 6.2. *Note (5): A blank entry indicates that the object did not lie in the region * with near-IR imaging. *Note (6): Galaxies in common with the LBG survey in the HDF-N are indicated * by their names (S03-XXX) as given in Steidel et al. (2003, Cat. * J/ApJ/592/728). Galaxies with X-ray counterparts within are indicated * by their names (B03-XXX) in the spectroscopic follow-up to the Chandra * 2 Ms survey by Barger et al. (2003, Cat. <J/AJ/126/632>). Galaxies * satisfying the distant red galaxy (DRG) criteria of Franx et al. * (2003ApJ...587L..79F) are indicated by DRG. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Stellar Population Parameters integer*4 nr__1 parameter (nr__1=254) ! Number of records character*71 ar__1 ! Full-size record character*10 Name_1 ! Name (G1) (1) real*4 z ! Redshift real*4 E_B_V_i ! (mag) Reddening E(B-V) calculated with * constant formation integer*4 Age_i ! (Myr) Age calculated with constant formation integer*4 SFR_i ! (solMass/yr) Stellar Formation Rate calculated with * constant formation real*4 Mass_i ! (10+10solMass) Stellar mass calculated with constant * formation integer*4 tau ! (Myr) Best-fit star formation history * decay timescale (2) real*4 E_B_V_tau ! (mag) Reddening E(B-V) calculated with tau integer*4 Age_tau ! (Myr) Age calculated with tau integer*4 SFR_tau ! (solMass/yr) Stellar Formation Rate calculated * with tau real*4 Mass_tau ! (10+10solMass) Stellar mass calculated with tau character*4 Note ! [IRAC Ks] Notes (3) *Note (1): We did not fit the stellar populations of galaxies that had no * data longward of R band, had uncertain redshifts, or are identified as * AGN/QSO from their optical spectra. We also do not present SED * parameters for those galaxies with optical and IRAC photometry * inconsistent with a simple stellar population (these sources had * large {chi}^2^>10) or those sources with 8 or 24um excesses. *Note (2): In some cases, a model with constant star formation (infinity) * provided the best fit. *Note (3): Objects with large Ks band residuals are indicated (i.e., those * sources whose Ks band measurement lies more than 3{sigma} away from * the best-fit stellar population). MD31 is the only directly detected * X-ray source that shows no optical signatures of an AGN, has a * relatively faint 24um flux, and has photometry that is consistent with * a stellar population. The IRAC photometry for BX1267 may suffer from a * deblending problem, and these (IRAC) data were not used in the SED fit. C============================================================================= C Loading file 'table2.dat' ! GOODS-N UnGR galaxies with spectroscopic redshifts C Format for file interpretation 1 format( + A10,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,A1,F5.3,1X, + A1,F5.3,1X,A4,1X,F5.2,1X,F5.2,A1,F5.2,1X,A1,F5.2,1X,A1,F5.2, + 1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X, + F4.2,1X,F5.1,1X,F4.1,1X,A19) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,388 read(1,'(A160)')ar__ read(ar__,1) + Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,u_zem,zem,u_zabs,zabs,Mcl, + Rmag,G_R,l_Un_G,Un_G,l_Jmag,Jmag,l_Ksmag,Ksmag,m3_6,e_m3_6, + m4_5,e_m4_5,m5_8,e_m5_8,m8_0,e_m8_0,F24,e_F24,Notes if(ar__(37:41) .EQ. '') zem = rNULL__ if(ar__(44:48) .EQ. '') zabs = rNULL__ if(ar__(55:59) .EQ. '') Rmag = rNULL__ if(ar__(61:65) .EQ. '') G_R = rNULL__ if(ar__(67:71) .EQ. '') Un_G = rNULL__ if(ar__(74:78) .EQ. '') Jmag = rNULL__ if(ar__(81:85) .EQ. '') Ksmag = rNULL__ if(ar__(87:91) .EQ. '') m3_6 = rNULL__ if(ar__(93:96) .EQ. '') e_m3_6 = rNULL__ if(ar__(98:102) .EQ. '') m4_5 = rNULL__ if(ar__(104:107) .EQ. '') e_m4_5 = rNULL__ if(ar__(109:113) .EQ. '') m5_8 = rNULL__ if(ar__(115:118) .EQ. '') e_m5_8 = rNULL__ if(ar__(120:124) .EQ. '') m8_0 = rNULL__ if(ar__(126:129) .EQ. '') e_m8_0 = rNULL__ if(ar__(131:135) .EQ. '') F24 = rNULL__ if(ar__(137:140) .EQ. '') e_F24 = rNULL__ 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) + Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,u_zem,zem,u_zabs,zabs,Mcl, + Rmag,G_R,l_Un_G,Un_G,l_Jmag,Jmag,l_Ksmag,Ksmag,m3_6,e_m3_6, + m4_5,e_m4_5,m5_8,e_m5_8,m8_0,e_m8_0,F24,e_F24,Notes write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Stellar Population Parameters C Format for file interpretation 2 format( + A10,1X,F5.3,1X,F4.2,1X,I4,1X,I4,1X,F6.3,1X,I4,1X,F5.2,1X,I4, + 1X,I4,1X,F6.3,1X,A4) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,254 read(1,'(A71)')ar__1 read(ar__1,2) + Name_1,z,E_B_V_i,Age_i,SFR_i,Mass_i,tau,E_B_V_tau,Age_tau, + SFR_tau,Mass_tau,Note c ..............Just test output........... write(6,2) + Name_1,z,E_B_V_i,Age_i,SFR_i,Mass_i,tau,E_B_V_tau,Age_tau, + SFR_tau,Mass_tau,Note c .......End.of.Just test output........... end do close(1) C============================================================================= stop end