Conversion of standardized ReadMe file for
file /./ftp/cats/IX/11/ 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. IX/11 ROSAT Source Catalog (Voges+ 1994) *================================================================================ *ROSAT Source Catalog, Version 11-May-1995 * Voges W., Gruber R., Haberl F., Kuerster M., Pietsch W., Zimmermann U. * <ROSAT NEWS No.32 (01-Nov-1994)> C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'rosatsrc.dat' ! The ROSAT Source Catalogue integer*4 nr__ parameter (nr__=74301) ! Number of records character*248 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg character*20 Seq ! ROSAT observation sequence number integer*4 MASOL ! MASOL main running number character*22 Name ! ROSAT source name (1RXP) (1) real*8 RAdeg ! (deg) Right ascension (J2000), decimal degrees real*8 DEdeg ! (deg) Declination (J2000), decimal degrees real*8 GLON ! (deg) Galactic longitude real*8 GLAT ! (deg) Galactic latitude real*4 ErrML ! (arcsec) Positional accuracy: error radius of * Maximum Likelihood algorithm real*4 ErrBor ! (arcsec) Positional accuracy: boresight error real*4 ErrSys ! (arcsec) Positional accuracy: systematic error real*4 PosErr ! (arcsec) Total Positional accuracy real*4 OffAxis ! (arcmin) Off-axis radius in arcmin real*4 Count ! (ct/s) Source countrate (vignetting corrected) real*4 e_Count ! (ct/s) Mean error on Count real*4 bgCt ! (ct/s/arcmin2) Background countrate real*8 ExpTime ! (s) Exposure time real*4 HR1 ! Hardness ratio 1 (2) real*4 e_HR1 ! Error on HR1 real*4 HR2 ! hardness ratio 2 (2) real*4 e_HR2 ! Error on HR2 real*8 Extent ! Source extent, by which the source image * exceeds the point spread function. real*8 L_Extent ! Likelihood of source extent real*8 ML ! Likelihood from maximum-likelihood method integer*4 Ldetect ! Likelihood of source detection algorithm integer*4 RibDist ! (arcsec) Distance to next rib or edge integer*4 SrcDist ! (arcsec) Distance to next source before screening integer*4 SrcDist2 ! (arcsec) Distance to next source after screening character*6 PrioFlags ! [01] Source detection string (3) character*1 PHA ! [ABCDb ] Source detection string (4) integer*4 Cell ! (45arcsec) Detect cell size (5) real*4 VigFactor ! []?=0 Vignetting factor (6) character*1 Confuse ! [YN] Confusion indicator *Note (1): The name includes the '1RXP' acronym, and is based * on J2000 position (format JHHMMSS.S+DDMMSS). *Note (2): The hardness ratios are defined by: * hr1 = ( B - A ) / ( B + A ) , where * A = countrate in PHA range 11 - 41 (~0.1-0.4 keV) * B = countrate in PHA range 52 - 201 (~0.5-2.0 keV) * hr2 = ( D - C ) / ( D + C ) , where * C = countrate in PHA range 52 - 90 (~0.5-0.9 keV) * D = countrate in PHA range 91 - 201 (~0.9-2.0 keV) * (PHA = Pulse Height Amplitude) *Note (3): the flags indicate the sliding window detection history * using either the background map (M) or the local background (B), * and take the values 0 = no detection, 1 = detection; * The order of flags is: * M-broad, L-broad, M-hard, L-hard, M-soft, L-soft *Note (4): the PHA (Pulse Height Amplitude) range * PHA range with highest detection likelihood is indicated by * A = PHA range 11-41 (~0.1-0.4 keV) * B = PHA range 52-201 (~0.5-2.0 keV) * C = PHA range 52-90 (~0.5-0.9 keV) * D = PHA range 91-201 (~0.9-2.0 keV) * b or blank means 'broad' *Note (5): the basic detect cell size is 3x3 pixels, or 45x45arcsec; * a value of 2 indicates a detect cell size of 90x90arcsec, * a value of 4 indicates a detect cell size of 3x3arcmin, * and a value of 8 a detect cell size of 6x6arcmin. *Note (6): the vignetting factor increases from 1 for sources detected * on the axis to higher values when the source was detected off-axis. C============================================================================= C Loading file 'rosatsrc.dat' ! The ROSAT Source Catalogue C Format for file interpretation 1 format( + 4X,A20,1X,I4,1X,A22,1X,F9.5,1X,F9.5,1X,F9.5,1X,F9.5,1X,F5.1, + 1X,F5.1,1X,F5.1,1X,F5.1,1X,F6.2,1X,E9.3,1X,E9.3,1X,E9.3,1X, + F8.0,F6.2,F6.2,F6.2,F6.2,F7.1,F7.1,F8.0,I6,I5,I5,I5,1X,A6,A1, + 1X,I3,F5.2,1X,A1) C Effective file loading open(unit=1,status='old',file= +'rosatsrc.dat') write(6,*) '....Loading file: rosatsrc.dat' do i__=1,74301 read(1,'(A248)')ar__ read(ar__,1) + Seq,MASOL,Name,RAdeg,DEdeg,GLON,GLAT,ErrML,ErrBor,ErrSys, + PosErr,OffAxis,Count,e_Count,bgCt,ExpTime,HR1,e_HR1,HR2,e_HR2, + Extent,L_Extent,ML,Ldetect,RibDist,SrcDist,SrcDist2,PrioFlags, + PHA,Cell,VigFactor,Confuse c ..............Just test output........... write(6,1) + Seq,MASOL,Name,RAdeg,DEdeg,GLON,GLAT,ErrML,ErrBor,ErrSys, + PosErr,OffAxis,Count,e_Count,bgCt,ExpTime,HR1,e_HR1,HR2,e_HR2, + Extent,L_Extent,ML,Ldetect,RibDist,SrcDist,SrcDist2,PrioFlags, + PHA,Cell,VigFactor,Confuse c .......End.of.Just test output........... end do close(1) C============================================================================= stop end