Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/681/1017 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-29 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/681/1017 Chandra observations of lens groups (Fassnacht+, 2008) *================================================================================ *The X-ray properties of moderate-redshift galaxy groups selected by association *with gravitational lenses. * Fassnacht C.D., Kocevski D.D., Auger M.W., Lubin L.M., Neureuther J.L., * Jeltema T.E., Mulchaey J.S., McKean J.P. * <Astrophys. J., 681, 1017-1034 (2008)> * =2008ApJ...681.1017F C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'group.dat' ! Properties of diffuse group emission (tables 2 and 3 of the paper) integer*4 nr__ parameter (nr__=8) ! Number of records character*99 ar__ ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg ! (deg) Right Ascension J2000 real*8 DEdeg ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) character*7 Group ! Group name integer*4 RAh ! (h) ? Hour of right ascension (J2000) integer*4 RAm ! (min) ? Minute of right ascension (J2000) real*4 RAs ! (s) ? Second of right ascension (J2000) character*1 DE_ ! ? Declination sign (J2000) integer*4 DEd ! (deg) ? Degree of declination (J2000) integer*4 DEm ! (arcmin) ? Arcminute of declination (J2000) integer*4 DEs ! (arcsec) ? Arcsecond of declination (J2000) real*4 nH ! (10+20cm-2) Neutral hydrogen column densities of * Dickey & Lockman (1990ARA&A..28..215D) integer*4 Cts ! ? Net counts in x-ray real*4 CtR ! (10-3/s) ? Count rate in x-ray character*1 l_Flux ! Limit flag on Flux real*4 Flux ! (aW/m2) Soft band flux corrected from Galactic * absorption (1) real*4 e_Flux ! (aW/m2) ? Uncertainty in Flux character*1 l_Lx ! Limit flag on Lx real*4 Lx ! (10+35W) Rest-frame bolometric luminosity in * 10^42^h^-2^ergs/s units real*4 e_Lx ! (10+35W) ? Uncertainty in Lx character*1 l_Lx500 ! Limit flag on Lx500 real*4 Lx500 ! ? Rest-frame bolometric luminosity * within R_500_ (in 10^42^h^-2^ergs/s) real*4 e_Lx500 ! ? Uncertainty in Lx500 integer*4 N ! ? Group optical number of members character*1 n_N ! [a] a = optical data in B2108-1 are for B2108 real*4 z ! ? Group optical redshift integer*4 sigma ! (km/s) ? Group optical radial velocity dispersion integer*4 e_sigma ! (km/s) ? {sigma} uncertainty integer*4 R500 ! (kpc) ? Group optical radius at 500 times * critical density, in h^-1^kpc units (2) integer*4 the500 ! (arcsec) ? Group optical position angle at 500 * times critical density *Note (1): We determined the soft-band flux of the group emission by * normalizing a Raymond-Smith spectral model in the CIAO package Sherpa * to the net counts detected above the background in each system. * Units are 10^-15^erg/cm^2^/s = aW/m^2^. *Note (2): The value of R500 for each system was estimated from the radial * velocity dispersion that had been determined from the group galaxy * redshifts as R_500_=2{sigma}_v_/[500H(z)^0.5] c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table6.dat' ! Serendipitous sources detected in the field of B0712+472 integer*4 nr__1 parameter (nr__1=51) ! Number of records character*69 ar__1 ! Full-size record C J2000 position composed of: RAdeg DEdeg character*16 CXO ! Name (JHHMMSS.s+DDMMSS, * <CXOU JHHMMSS.s+DDMMSS> in Simbad) character*1 f_CXO ! [b] extended source flag real*8 RAdeg_1 ! (deg) Right ascension in decimal degree (J2000) real*8 DEdeg_1 ! (deg) Declination in decimal degree (J2000) integer*4 Scts ! (ct) Soft (0.5-2.0keV) band net counts integer*4 Hcts ! (ct) Hard (2.0-8.0keV) band net counts integer*4 Fcts ! (ct) Full (0.5-8.0keV) band net counts real*4 Ssig ! Soft (0.5-2.0keV) band significance (3) real*4 Hsig ! Hard (2.0-8.0keV) band significance (3) real*4 Fsig ! Full (0.5-8.0keV) band significance (3) *Note (3): The significances are calculated as the net counts from each * source divided by the error of the background counts in the * measurement aperture. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table7.dat' ! Serendipitous sources detected in the field of B2108+213 integer*4 nr__2 parameter (nr__2=34) ! Number of records character*69 ar__2 ! Full-size record C J2000 position composed of: RAdeg DEdeg character*16 CXO_1 ! Name (JHHMMSS.s+DDMMSS, * <CXOU JHHMMSS.s+DDMMSS> in Simbad) character*1 f_CXO_1 ! [b] extended source flag real*8 RAdeg_2 ! (deg) Right ascension in decimal degree (J2000) real*8 DEdeg_2 ! (deg) Declination in decimal degree (J2000) integer*4 Scts_1 ! (ct) Soft (0.5-2.0keV) band net counts integer*4 Hcts_1 ! (ct) Hard (2.0-8.0keV) band net counts integer*4 Fcts_1 ! (ct) Full (0.5-8.0keV) band net counts real*4 Ssig_1 ! Soft (0.5-2.0keV) band significance (3) real*4 Hsig_1 ! Hard (2.0-8.0keV) band significance (3) real*4 Fsig_1 ! Full (0.5-8.0keV) band significance (3) *Note (3): The significances are calculated as the net counts from each * source divided by the error of the background counts in the * measurement aperture. C============================================================================= C Loading file 'group.dat' ! Properties of diffuse group emission (tables 2 * and 3 of the paper) C Format for file interpretation 1 format( + A7,2X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,F4.1,1X,I3,1X, + F4.2,1X,A1,F4.1,1X,F3.1,1X,A1,F4.2,1X,F4.2,1X,A1,F4.1,1X,F3.1, + 1X,I2,A1,1X,F5.3,1X,I3,1X,I2,1X,I3,1X,I3) C Effective file loading open(unit=1,status='old',file= +'group.dat') write(6,*) '....Loading file: group.dat' do i__=1,8 read(1,'(A99)')ar__ read(ar__,1) + Group,RAh,RAm,RAs,DE_,DEd,DEm,DEs,nH,Cts,CtR,l_Flux,Flux, + e_Flux,l_Lx,Lx,e_Lx,l_Lx500,Lx500,e_Lx500,N,n_N,z,sigma, + e_sigma,R500,the500 if(ar__(10:11) .EQ. '') RAh = iNULL__ if(ar__(13:14) .EQ. '') RAm = iNULL__ if(ar__(16:19) .EQ. '') RAs = rNULL__ if(ar__(22:23) .EQ. '') DEd = iNULL__ if(ar__(25:26) .EQ. '') DEm = iNULL__ if(ar__(28:29) .EQ. '') DEs = iNULL__ if(ar__(36:38) .EQ. '') Cts = iNULL__ if(ar__(40:43) .EQ. '') CtR = rNULL__ if(ar__(51:53) .EQ. '') e_Flux = rNULL__ if(ar__(61:64) .EQ. '') e_Lx = rNULL__ if(ar__(67:70) .EQ. '') Lx500 = rNULL__ if(ar__(72:74) .EQ. '') e_Lx500 = rNULL__ if(ar__(76:77) .EQ. '') N = iNULL__ if(ar__(80:84) .EQ. '') z = rNULL__ if(ar__(86:88) .EQ. '') sigma = iNULL__ if(ar__(90:91) .EQ. '') e_sigma = iNULL__ if(ar__(93:95) .EQ. '') R500 = iNULL__ if(ar__(97:99) .EQ. '') the500 = iNULL__ RAdeg = rNULL__ DEdeg = rNULL__ c Derive coordinates RAdeg and DEdeg from input data c (RAdeg and DEdeg are set to rNULL__ when unknown) if(RAh .GT. -180) RAdeg=RAh*15. if(RAm .GT. -180) RAdeg=RAdeg+RAm/4. if(RAs .GT. -180) RAdeg=RAdeg+RAs/240. if(DEd .GE. 0) DEdeg=DEd if(DEm .GE. 0) DEdeg=DEdeg+DEm/60. if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600. if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg c ..............Just test output........... write(6,1) + Group,RAh,RAm,RAs,DE_,DEd,DEm,DEs,nH,Cts,CtR,l_Flux,Flux, + e_Flux,l_Lx,Lx,e_Lx,l_Lx500,Lx500,e_Lx500,N,n_N,z,sigma, + e_sigma,R500,the500 write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table6.dat' ! Serendipitous sources detected in the field of * B0712+472 C Format for file interpretation 2 format( + 4X,A16,A1,1X,F9.5,1X,F8.5,1X,I4,1X,I3,1X,I4,1X,F4.1,1X,F4.1, + 1X,F4.1) C Effective file loading open(unit=1,status='old',file= +'table6.dat') write(6,*) '....Loading file: table6.dat' do i__=1,51 read(1,'(A69)')ar__1 read(ar__1,2) + CXO,f_CXO,RAdeg_1,DEdeg_1,Scts,Hcts,Fcts,Ssig,Hsig,Fsig c ..............Just test output........... write(6,2) + CXO,f_CXO,RAdeg_1,DEdeg_1,Scts,Hcts,Fcts,Ssig,Hsig,Fsig c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table7.dat' ! Serendipitous sources detected in the field of * B2108+213 C Format for file interpretation 3 format( + 4X,A16,A1,1X,F9.5,1X,F8.5,1X,I4,1X,I3,1X,I4,1X,F4.1,1X,F4.1, + 1X,F4.1) C Effective file loading open(unit=1,status='old',file= +'table7.dat') write(6,*) '....Loading file: table7.dat' do i__=1,34 read(1,'(A69)')ar__2 read(ar__2,3) + CXO_1,f_CXO_1,RAdeg_2,DEdeg_2,Scts_1,Hcts_1,Fcts_1,Ssig_1, + Hsig_1,Fsig_1 c ..............Just test output........... write(6,3) + CXO_1,f_CXO_1,RAdeg_2,DEdeg_2,Scts_1,Hcts_1,Fcts_1,Ssig_1, + Hsig_1,Fsig_1 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end