Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/611/821 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-Mar-19 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/611/821 A2125 in X-ray (Wang+, 2004) *================================================================================ *X-raying A2125: a large-scale hierarchical complex of galaxies and hot gas. * Wang Q.D., Owen F., Ledlow M. * <Astrophys. J., 611, 821-834 (2004)> * =2004ApJ...611..821W C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Chandra Source List integer*4 nr__ parameter (nr__=99) ! Number of records character*98 ar__ ! Full-size record integer*4 v_WOL2004_ ! Sequential running number character*19 CXOU ! CXOU designation (JHHMMSS.ss+DDMMSS.s) real*4 e_pos ! (arcsec) Position uncertainty (1{sigma}) real*4 logP ! False detection probability (1) real*4 CR ! (ct/ks) On-axis (exposure-corrected) source count * rate in the 0.5-8keV band real*4 e_CR ! (ct/ks) Uncertainty in CR real*4 HR ! ? Hardness ratio, HR=(H-S)/(H+S) (2) real*4 e_HR ! ? Uncertainty in HR real*4 HR1 ! ? Hardness ratio 1, HR1=(S2-S1)/S (2) real*4 e_HR1 ! ? Uncertainty in HR1 real*4 HR2 ! ? Hardness ratio 2, HR2=(H2-H1)/H (2) real*4 e_HR2 ! ? Uncertainty in HR2 character*10 Note ! Band of detection and correspondance (3) *Note (1): The false detection probability P that the detected number * of counts may result from the Poisson fluctuation of the local * background within the detection aperture [log(P) smaller than * -20.0 is set to -20.0]. *Note (2): The hardness ratios defined as HR=(H-S)/(H+S), HR1=(S2-S1)/S, and * HR2=(H2-H1)/H, where the net source count rates are: * S1 in the 0.5-1keV band, * S2 in the 1-2keV band, * H1 in the 2-4keV, and * H2 in the 4-8keV band, * and S=S1+S2 and H=H1+H2. * The hardness ratios are calculated only for sources with individual * signal-to-noise ratios greater than 4 in the broad band (B=S+H), and * only the values with uncertainties less than 0.2 are included. *Note (3): The labels "B," "S," or "H" mark the band in which a source is * detected (broad-band B=S=H, Soft or Hard); the detection with the most * accurate position, as adopted in CXOU, is marked first. The label "r" * and "o" denote the identification as the A2125 complex member galaxies * in radio and optical. C============================================================================= C Loading file 'table1.dat' ! Chandra Source List C Format for file interpretation 1 format( + I2,2X,A19,2X,F3.1,2X,F5.1,2X,F5.2,2X,F4.2,2X,F5.2,2X,F4.2,1X, + F5.2,2X,F4.2,2X,F5.2,2X,F4.2,2X,A10) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,99 read(1,'(A98)')ar__ read(ar__,1) + v_WOL2004_,CXOU,e_pos,logP,CR,e_CR,HR,e_HR,HR1,e_HR1,HR2, + e_HR2,Note if(ar__(51:55) .EQ. '') HR = rNULL__ if(ar__(58:61) .EQ. '') e_HR = rNULL__ if(ar__(63:67) .EQ. '') HR1 = rNULL__ if(ar__(70:73) .EQ. '') e_HR1 = rNULL__ if(ar__(76:80) .EQ. '') HR2 = rNULL__ if(ar__(83:86) .EQ. '') e_HR2 = rNULL__ c ..............Just test output........... write(6,1) + v_WOL2004_,CXOU,e_pos,logP,CR,e_CR,HR,e_HR,HR1,e_HR1,HR2, + e_HR2,Note c .......End.of.Just test output........... end do close(1) C============================================================================= stop end