Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/640/603 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 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/640/603 Catalog of AGNs in the GOODS fields (Treister+, 2006) *================================================================================ *Spitzer number counts of active galactic nuclei in the GOODS fields. * Treister E., Urry C.M., Van Duyne J., Dickinson M., Chary R.-R., * Alexander D.M., Bauer F., Natarajan P., Lira P., Grogin N.A. * <Astrophys. J., 640, 603-611 (2006)> * =2006ApJ...640..603T C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Catalog of AGNs in the GOODS fields integer*4 nr__ parameter (nr__=315) ! Number of records character*83 ar__ ! Full-size record character*1 F (nr__) ! [NS] North or South field integer*4 v_ABB2003_ (nr__) ! ID from Alexander et al. (2003, * Cat. <J/AJ/126/539>) real*4 Prob (nr__) ! Probability of random X-ray/IR association (1) real*4 Fsoft (nr__) ! (mW/m2) Soft X-ray (0.5-2keV) flux (2) real*4 Fhard (nr__) ! (mW/m2) Hard X-ray (2-8keV) flux (2) real*4 HR (nr__) ! Hardness Ratio (3) real*4 F3_6um (nr__) ! (uJy) The 3.6{mu}m flux real*4 F4_5um (nr__) ! (uJy) The 4.5{mu}m flux real*4 F5_7um (nr__) ! (uJy) The 5.7{mu}m flux real*8 F8um (nr__) ! (uJy) The 8{mu}m flux real*8 F24um (nr__) ! (uJy) The 24{mu}m flux real*4 z (nr__) ! Redshift character*1 zType (nr__) ! [SPN] Redshift type (4) character*1 Class (nr__) ! Optical classification (5) *Note (1): Probability of random association assuming a Poissonian * distribution of sources. Expression 1-exp(-n{pi}d^2^) was used * where n is the density of sources and d is the distance between * the X-ray and infrared sources. *Note (2): In units of erg/cm^2^/s. *Note (3): Defined as (H-S)/(H+S) where H and S are the background-substracted * counts in the Hard and Soft X-ray bands respectively. *Note (4): Redshift type, defined as follows: * S = Spectroscopic Redshift; * P = Photometric Redshift; * N = No redshift measured. *Note (5): Optical classification, defined as follows: * B = Broad line AGN; * N = Narrow line AGN; * G = Galaxy; * U = Unknown. C============================================================================= C Loading file 'table1.dat' ! Catalog of AGNs in the GOODS fields C Format for file interpretation 1 format( + A1,1X,I3,1X,F5.3,1X,E9.2,1X,E8.2,1X,F5.2,1X,F6.2,1X,F6.2,1X, + F6.2,1X,F7.2,1X,F7.2,1X,F5.3,1X,A1,1X,A1) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,315 read(1,'(A83)')ar__ read(ar__,1) + F(i__),v_ABB2003_(i__),Prob(i__),Fsoft(i__),Fhard(i__), + HR(i__),F3_6um(i__),F4_5um(i__),F5_7um(i__),F8um(i__), + F24um(i__),z(i__),zType(i__),Class(i__) c ..............Just test output........... write(6,1) + F(i__),v_ABB2003_(i__),Prob(i__),Fsoft(i__),Fhard(i__), + HR(i__),F3_6um(i__),F4_5um(i__),F5_7um(i__),F8um(i__), + F24um(i__),z(i__),zType(i__),Class(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end