Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/530/A42 into FORTRAN code for loading all data files into arrays.
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-08
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/A+A/530/A42 X-ray properties of AGNs in XBS (Corral+, 2011)
*================================================================================
*The X-ray spectral properties of the AGN population in the XMM-Newton bright
*serendipitous survey.
* Corral A., Della Ceca R., Caccianiga A., Severgnini P., Brunner H.,
* Carrera F.J., Page M.J., Schwope A.D.
* <Astron. Astrophys., 530, A42 (2011)>
* =2011A&A...530A..42C
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Summary of XMM-Newton observations used
integer*4 nr__
parameter (nr__=305) ! Number of records
character*89 ar__ ! Full-size record
character*16 XBS (nr__) ! Source name (JHHMMSS.s+DDMMSS)
character*10 ObsID (nr__) ! Observation identifier
character*5 pn (nr__) ! Filter in use during the observation for
* pn camera
character*5 MOS1 (nr__) ! Filter in use during the observation for
* MOS1 camera
character*5 MOS2 (nr__) ! Filter in use during the observation for
* MOS2 camera
real*4 NHX (nr__) ! (10+20cm-2) Galactic column density toward the used
* XMM-Newton pointing
real*4 ExpTpn (nr__) ! (ks) ? pn resulting exposure time after removing
* high-background intervals
real*4 ExpT1 (nr__) ! (ks) ? MOS1 resulting exposure time after removing
* high-background intervals
real*4 ExpT2 (nr__) ! (ks) ? MOS2 resulting exposure time after removing
* high-background intervals
integer*4 Count (nr__) ! (ct) Total EPIC counts (pn+MOS1+MOS2)
character*9 Sample (nr__) ! Sample the source belongs to
* (BSS = Bright Serendipitous Survey)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Power law fit results
integer*4 nr__1
parameter (nr__1=305) ! Number of records
character*95 ar__1 ! Full-size record
character*16 XBS_1 (nr__1) ! Source name (JHHMMSS.s+DDMMSS)
character*1 n_XBS (nr__1) ! [p] low-confidence fit (1)
character*6 Type (nr__1) ! Classification (AGN1, AGN2 or BL Lac)
character*2 n_Type (nr__1) ! [be ] Note (1)
real*4 z (nr__1) ! Redshift
character*1 n_z (nr__1) ! [b] New optical identification (1)
real*4 Gamma (nr__1) ! Photon index {Gamma}
character*1 n_Gamma (nr__1) ! [f] Fixed value of {Gamma} (1)
character*1 l_NH (nr__1) ! Limit flag on NH
real*4 NH (nr__1) ! (10+22cm-2) Intrinsic column density
real*4 FX (nr__1) ! (mW/m2) Observed flux in the 2-10keV band,
* de-absorbed by our Galaxy (2)
real*4 LX (nr__1) ! ([10-7W]) Intrinsic luminosity in the 2-10keV band (2)
real*4 chi2 (nr__1) ! Chi^2^ value
integer*4 dof (nr__1) ! Degrees of freedom
real*4 Prob (nr__1) ! (%) Null hypothesis probability
character*9 Sample_1 (nr__1) ! Sample the source belongs to (G1)
character*5 PL (nr__1) ! Whether the simple power law is considered
* as our best fit (Y) or not (N) (3)
*Note (1): Notes as follows:
* p = null hypothesis probability <10%
* e = elusive AGN
* f = fixed parameter
* b = new optical identifications
*Note (2): Fluxes and luminosities refer to the MOS2 calibration.
*Note (3): In the case it is not, a number indicates the corresponding
* table's number where our considered best fit is reported:
* 5 = unabsorbed AGN;
* 6 = black-body;
* 7 = ionized absorbed power law;
* 8 = power law plus reflected component;
* 9 = Leaky/Leaky+line;
* 10 = power law plus thermal component ;
* 11 = power law and absorption edges
C=============================================================================
C Loading file 'table2.dat' ! Summary of XMM-Newton observations used
C Format for file interpretation
1 format(
+ 3X,A16,1X,A10,1X,A5,1X,A5,1X,A5,1X,F4.2,1X,F5.2,1X,F6.2,1X,
+ F6.2,1X,I5,1X,A9)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,305
read(1,'(A89)')ar__
read(ar__,1)
+ XBS(i__),ObsID(i__),pn(i__),MOS1(i__),MOS2(i__),NHX(i__),
+ ExpTpn(i__),ExpT1(i__),ExpT2(i__),Count(i__),Sample(i__)
if(ar__(55:59) .EQ. '') ExpTpn(i__) = rNULL__
if(ar__(61:66) .EQ. '') ExpT1(i__) = rNULL__
if(ar__(68:73) .EQ. '') ExpT2(i__) = rNULL__
c ..............Just test output...........
write(6,1)
+ XBS(i__),ObsID(i__),pn(i__),MOS1(i__),MOS2(i__),NHX(i__),
+ ExpTpn(i__),ExpT1(i__),ExpT2(i__),Count(i__),Sample(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Power law fit results
C Format for file interpretation
2 format(
+ 3X,A16,A1,1X,A6,A2,1X,F5.3,A1,1X,F4.2,A1,1X,A1,F6.3,1X,F4.2,
+ 1X,F5.2,1X,F6.2,I3,2X,E5.3,2X,A9,1X,A5)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,305
read(1,'(A95)')ar__1
read(ar__1,2)
+ XBS_1(i__),n_XBS(i__),Type(i__),n_Type(i__),z(i__),n_z(i__),
+ Gamma(i__),n_Gamma(i__),l_NH(i__),NH(i__),FX(i__),LX(i__),
+ chi2(i__),dof(i__),Prob(i__),Sample_1(i__),PL(i__)
c ..............Just test output...........
write(6,2)
+ XBS_1(i__),n_XBS(i__),Type(i__),n_Type(i__),z(i__),n_z(i__),
+ Gamma(i__),n_Gamma(i__),l_NH(i__),NH(i__),FX(i__),LX(i__),
+ chi2(i__),dof(i__),Prob(i__),Sample_1(i__),PL(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end