CDS.headStuff2
FORTRAN Generation
Conversion of standardized ReadMe file for
catalog 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-26 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/MNRAS/301/881 The ROSAT brightest cluster sample - I. (Ebeling+, 1998) *================================================================================ *The ROSAT brightest cluster sample - I. *The compilation of the sample and the cluster log N-log S distribution. * Ebeling H., Edge A.C., Boehringer H., Allen S.W., Crawford C.S., * Fabian A.C., Voges W., Huchra J.P. * <Mon. Not. R. Astron. Soc. 301, 881 (1998)> * =1998MNRAS.301..881E C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! The ROSAT Brightest Cluster Sample integer*4 nr__ parameter (nr__=206) ! Number of records character*119 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg character*4 n_Name ! Note on Name (1) character*15 Name ! Cluster name (2) integer*4 RAh ! (h) Right ascension (B1950) integer*4 RAm ! (min) Right ascension (B1950) real*4 RAs ! (s) Right ascension (B1950) character*1 DE_ ! Declination sign (B1950) integer*4 DEd ! (deg) Declination (B1950) integer*4 DEm ! (arcmin) Declination (B1950) integer*4 DEs ! (arcsec) Declination (B1950) real*8 RAdeg ! (deg) X-ray right ascension (J2000) real*8 DEdeg ! (deg) X-ray declination (J2000) real*4 NH ! (10+20cm-2) Hydrogen column density from * Stark et al. (1992, Cat. <J/ApJS/79/77>) integer*4 Texp ! (s) RASS exposition time real*4 CR_VTP ! (ct/s) PSPC count rate in PHA (Pulse Height Analyser) * channels 11 to 235 originally detected by VTP * (Voronoi tesselation and percolation) real*4 R_VTP ! (arcmin) Equivalent radius of the source detected by * VTP (Voronoi tesselation and percolation) real*4 CR ! (ct/s) Final PSCP count rate (3) real*4 e_CR ! (ct/s) rms uncertainty on CR (4) real*4 kT ! (keV) Intra-cluster medium gas temperature used in * conversion from count rates to energy fluxes character*1 n_kT ! [e] e: temperature estimated real*4 z ! Redshift real*4 FX ! (10-15W/m2) Unabsorbed X-ray energy flux in the * 0.1-2.4keV band (10-12erg/cm2/s) real*4 LX ! (10+37W) Intrinsic X-ray luminosity in 0.1-2.4keV band integer*4 r_z ! Redshift reference in refs.dat file *Note (1): Flags: * V = extended according to VTP, Voronoi tesselation and percolation * S = extended according to SASS, Standard Analysis Sofware System * (Vosges et al., 1992, Proc. Satellite Symp. 3, ESA ISY-3, p. 223) * c = likely contamination from point sources * + = serendipitous VTP detection * * = redshift z>0.3 *Note (2): Where clusters appear to consist of two components, * two entries ('a' and 'b') are listed. *Note (3): Final PSC count rate in PHA channels 11 to 235 based on the original * VTP count rate. Statistical corrections for low-surface brightness * emission that has not been detected directly and for contamination * from point sources have been applied. *Note (4): Error in the final PSPC count rate according to equation * {Delta}CR/CR=2.29(CR*Texp)^-0.48^. * The fractional uncertainty in the energy flux and the X-ray luminosity * can be assumed to be the same as the fractional count rate error. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'refs.dat' ! References integer*4 nr__1 parameter (nr__1=47) ! Number of records character*73 ar__1 ! Full-size record integer*4 Ref ! Reference number character*19 BibCode ! BibCode character*26 Aut ! Author's name character*23 Com ! Comments C============================================================================= C Loading file 'table3.dat' ! The ROSAT Brightest Cluster Sample C Format for file interpretation 1 format( + A4,1X,A15,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,F7.3,1X, + F7.3,1X,F4.1,1X,I4,1X,F5.2,1X,F4.1,1X,F6.2,1X,F5.2,1X,F4.1,A1, + 1X,F5.4,1X,F5.1,1X,F6.2,1X,I2) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,206 read(1,'(A119)')ar__ read(ar__,1) + n_Name,Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,RAdeg,DEdeg,NH,Texp, + CR_VTP,R_VTP,CR,e_CR,kT,n_kT,z,FX,LX,r_z c ..............Just test output........... write(6,1) + n_Name,Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,RAdeg,DEdeg,NH,Texp, + CR_VTP,R_VTP,CR,e_CR,kT,n_kT,z,FX,LX,r_z c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'refs.dat' ! References C Format for file interpretation 2 format(I2,1X,A19,1X,A26,1X,A23) C Effective file loading open(unit=1,status='old',file= +'refs.dat') write(6,*) '....Loading file: refs.dat' do i__=1,47 read(1,'(A73)')ar__1 read(ar__1,2)Ref,BibCode,Aut,Com c ..............Just test output........... write(6,2)Ref,BibCode,Aut,Com c .......End.of.Just test output........... end do close(1) C============================================================================= stop end