Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/748/124 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 2026-Jun-10
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/748/124 AGN X-ray variability in the 4Ms catalog (Young+, 2012)
*================================================================================
*Variability-selected low-luminosity active galactic nuclei in the 4Ms
*Chandra Deep Field-South.
* Young M., Brandt W.N., Xue Y.Q., Paolillo M., Alexander D.M., Bauer F.E.,
* Lehmer B.D., Luo B., Shemmer O., Schneider D.P., Vignali C.
* <Astrophys. J., 748, 124 (2012)>
* =2012ApJ...748..124Y
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! X-ray properties of CDF-S galaxies
integer*4 nr__
parameter (nr__=92) ! Number of records
character*176 ar__ ! Full-size record
integer*4 XID ! [66/679] Sequence number (1)
character*1 f_XID ! [V] V = long-term X-ray variable source (20
* sources); blank = non-variable CDF-S galaxy
character*18 Name ! CDF-S name (HHMMSS.ss+DDMMSS.s; J2000;
* <CXOCDFS JHHMMSS.s+DDMMSS> in Simbad)
real*4 z ! [0.04/2.01] Redshift from litterature (see
* section 2)
character*1 f_z ! [ps] Redshift measurement: s=spectro, p=photo
integer*4 l_NCts ! [0/1]? Upper 3{sigma} limit flag on NCts (2)
real*4 NCts ! (ct) [19/608.9] Total net 0.5-8.0 keV counts
real*4 Lx ! ([10-7W]) [38.9/42.4] Log 0.5-8 keV, rest frame
* X-ray luminosity; in erg/s
real*4 Geff ! [0.5/3] Effective photon index {Gamma}_eff_ (3)
real*4 E_Geff ! [0/3.5] Upper confidence interval on Geff
real*4 e_Geff_1 ! [0/2.6] Lower confidence interval on Geff
real*4 chi2 ! [0/11.2] Variability statistic
real*4 Pchi2 ! [0/1] Probability variability is due to chance
real*4 R ! [1.2/9.3] Maximum-to-minimum flux ratio
real*4 nxs ! [-0.3/0.7] Excess variance
real*4 e_nxs ! [0.01/0.5] Error in nxs
real*4 nxsc ! [-0.4/2] Excess variance corrected for
* sampling bias
real*4 e_nxsc ! [0.01/1.5] Error in nxsc
real*4 SFR ! (Msun/yr) [0.01/541] Xue et al. 2010,
* Cat. J/ApJ/720/368, Star Formation Rate
real*4 Mstar ! (10+10Msun) [0.002/62] Stellar mass, from Xue et al. 2010,
* Cat. J/ApJ/720/368
real*4 v_H_L_XB ! [0.01/76] High/Low-mass luminosity ratio (4)
real*4 nxsxb ! [0.0001/0.05] Excess variance expected due
* to X-ray binary population
character*12 Mvis ! Visual classification of galaxy morphology (5)
real*4 VMag ! (mag) [-23.77/-15.77] Absolute V-band magnitude
real*4 U_V ! (mag) [-0.91/1.55] The (U-V) color index
character*4 color ! Color classification of galaxy morphology
* (blue or red)
character*11 Mclass ! Final classification of galaxy morphology (5)
real*4 MBH ! ([Msun]) [4.8/8.6] Logarithm of black hole mass
real*4 Edd ! ([-]) [-5.7/-1.2] Eddington ratio (6)
*Note (1): In CDF-S catalog (Xue et al. 2011, Cat. J/ApJS/195/10;
* <[XLB2011] NNN> in Simbad).
*Note (2): Flag is:
* 0 = net counts;
* 1 = 3{sigma} upper limit.
*Note (3): The effective photon index is calculated from the band ratio.
* For sources detected in the soft band but not the hard band,
* {Gamma}_eff_ is a lower limit. When the counts are too low to
* determine reliably the photon index from the band ratio,
* {Gamma}_eff_ is set to 1.4.
*Note (4): Expected from HMXB and LMXB populations.
*Note (5): Classification with: "early-type", "late-type", "merger",
* "irregular", "off-nuclear" or "undetermined" indications
*Note (6): Eddington ratio:
* L_bol_/L_Edd_=[{kappa}2-10keVL_2_-10keV]/[1.25x10^38^(M_BH_/M_{sun}_)]
* See section 6.2 for further explanations.
C=============================================================================
C Loading file 'table2.dat' ! X-ray properties of CDF-S galaxies
C Format for file interpretation
1 format(
+ I3,1X,A1,1X,A18,1X,F4.2,1X,A1,1X,I1,1X,F5.1,1X,F5.2,1X,F3.1,
+ 1X,F3.1,1X,F3.1,1X,F4.1,1X,F6.4,1X,F3.1,1X,F5.2,1X,F4.2,1X,
+ F5.2,1X,F4.2,1X,F6.2,1X,F6.3,1X,F5.2,1X,F6.4,1X,A12,1X,F6.2,
+ 1X,F5.2,1X,A4,1X,A11,1X,F4.2,1X,F5.2)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,92
read(1,'(A176)')ar__
read(ar__,1)
+ XID,f_XID,Name,z,f_z,l_NCts,NCts,Lx,Geff,E_Geff,e_Geff_1,chi2,
+ Pchi2,R,nxs,e_nxs,nxsc,e_nxsc,SFR,Mstar,v_H_L_XB,nxsxb,Mvis,
+ VMag,U_V,color,Mclass,MBH,Edd
if(ar__(33:33) .EQ. '') l_NCts = iNULL__
c ..............Just test output...........
write(6,1)
+ XID,f_XID,Name,z,f_z,l_NCts,NCts,Lx,Geff,E_Geff,e_Geff_1,chi2,
+ Pchi2,R,nxs,e_nxs,nxsc,e_nxsc,SFR,Mstar,v_H_L_XB,nxsxb,Mvis,
+ VMag,U_V,color,Mclass,MBH,Edd
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end