Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/612/848 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-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/612/848 Chandra LMXB in NGC 1332 (Humphrey+, 2004) *================================================================================ *A Chandra view of the normal S0 galaxy NGC 1332. I. An unbroken, steep power-law *luminosity function for the low-mass X-ray binary population. * Humphrey P.J., Buote D.A. * <Astrophys. J., 612, 848-859 (2004)> * =2004ApJ...612..848H C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Sources Detected integer*4 nr__ parameter (nr__=73) ! Number of records character*97 ar__ ! Full-size record integer*4 v_HB2004_ ! Sequential running number character*16 CXOU ! CXOU designation (JHHMMSS.s+DDMMSS) real*4 Rate ! (10-4ct/s) Count rate (1) real*4 Lum_spec ! (10+31W) Luminosity estimated from the spectra * in units of 10^38^erg/s real*4 E_Lum_spec ! (10+31W) Upper error limit on Lum(spec) real*4 e_Lum_spec_1 ! (10+31W) Lower error limit on Lum(spec) real*4 Lum_rate ! (10+31W) Luminosity estimated from the count rate * (exposure corrected) in units of * 10^38^erg/s real*4 e_Lum_rate ! (10+31W) Uncertainty in Lum(rate) real*4 dist ! (arcmin) Distance of the source from the galaxy * centroid character*3 D25 ! [Yes No] Yes/No flag for sources laying * within the B-band 25th magnitude (D_25_) * isophote of NGC 1332 character*11 Comm ! Comments (2) *Note (1): The count rate column quotes count rates not corrected for * exposure map variations. *Note (2): The comment abbreviations are as follows: * A = absorbed spectrum; * B = soft spectrum; * C = close to chip edge (flux may be unreliable); * E = extended; * G = coincident with a globular cluster (GC); * NG = in the WFPC2 FOV but not coincident with a GC; * R = also seen with ROSAT; * V = variable. C============================================================================= C Loading file 'table1.dat' ! Sources Detected C Format for file interpretation 1 format( + I2,7X,A16,3X,F4.1,4X,F5.2,1X,F4.2,1X,F4.2,3X,F5.2,3X,F4.2,4X, + F5.3,3X,A3,5X,A11) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,73 read(1,'(A97)')ar__ read(ar__,1) + v_HB2004_,CXOU,Rate,Lum_spec,E_Lum_spec,e_Lum_spec_1,Lum_rate, + e_Lum_rate,dist,D25,Comm c ..............Just test output........... write(6,1) + v_HB2004_,CXOU,Rate,Lum_spec,E_Lum_spec,e_Lum_spec_1,Lum_rate, + e_Lum_rate,dist,D25,Comm c .......End.of.Just test output........... end do close(1) C============================================================================= stop end