Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJS/168/19 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/ApJS/168/19 Chandra sources in 5 galaxy clusters (Martel+, 2007)
*================================================================================
*The host galaxies and environment of Chandra-selected active galactic nuclei in
*the deep ACS GTO cluster fields.
* Martel A.R., Menanteau F., Tozzi P., Ford H.C., Infante L.
* <Astrophys. J. Suppl. Ser., 168, 19-57 (2007)>
* =2007ApJS..168...19M
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tables.dat' ! Optical and X-Ray properties of Chandra sources
in the five cluster's ACS fields
(tables 4-8 of the paper)
integer*4 nr__
parameter (nr__=98) ! Number of records
character*121 ar__ ! Full-size record
C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg (nr__) ! (deg) Right Ascension J2000
real*8 DEdeg (nr__) ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
integer*4 Code (nr__) ! Code for Cluster (1)
integer*4 XID (nr__) ! Chandra ID (2)
character*1 n_XID (nr__) ! Note on XID (3)
integer*4 RAh (nr__) ! (h) Right ascension (J2000)
integer*4 RAm (nr__) ! (min) Right ascension (J2000)
real*4 RAs (nr__) ! (s) Right ascension (J2000)
character*1 DE_ (nr__) ! Declination sign (J2000)
integer*4 DEd (nr__) ! (deg) Declination (J2000)
integer*4 DEm (nr__) ! (arcmin) Declination (J2000)
real*4 DEs (nr__) ! (arcsec) Declination (J2000)
real*4 z (nr__) ! ? Spectroscopic redshift unless specified
character*1 n_z (nr__) ! [p] p for BPZ photometric redshift
real*4 Vmag (nr__) ! (mag) ? Isophotal SEXtractor V(F625W) magnitude
* in AB system (4)
real*4 e_Vmag (nr__) ! (mag) ? rms uncertainty on Vmag
real*4 imag (nr__) ! (mag) ? Isophotal SEXtractor i(F775W) magnitude
* in AB system (4)
real*4 e_imag (nr__) ! (mag) ? rms uncertainty on imag
real*4 Zmag (nr__) ! (mag) ? Isophotal SEXtractor Z(F850LP) magnitude
* in AB system (4)
real*4 e_Zmag (nr__) ! (mag) ? rms uncertainty on Zmag
real*4 HR (nr__) ! ? Hardness ratio ((H-S)/(H+S))
real*4 e_HR (nr__) ! ? rms uncertainty on HR
real*8 FS (nr__) ! (aW/m2) Observed Chandra flux in the soft
* (0.5-2keV) band (10^-15^erg/cm^2^/s)
real*8 FH (nr__) ! (aW/m2) Observed Chandra flux in the hard
* (2-10keV) band (10^-15^erg/cm^2^/s)
real*4 logLXS (nr__) ! ([10-7W]) ? Base 10 logarithm of the observed X-ray
* luminosity in the soft band (0.5-2keV)
real*4 logLXH (nr__) ! ([10-7W]) ? Base 10 logarithm of the observed X-ray
* luminosity in the hard band (2-10keV)
integer*4 Cl (nr__) ! [1/3]? Visual classification of the galaxies
* into three general morphological types (5)
character*6 XCl (nr__) ! X-ray class as in Szokoly et al.
* (2004, Cat. <J/ApJS/155/271>
*Note (1): Cluster code as follows:
* 4 = RX J0152-1357 ([MMT2007] ClG J0152-1357 NN)
* 5 = RX J0849+4452 ([MMT2007] ClG J0849+4452 NNN)
* 6 = RDCS J0910+5422 ([MMT2007] RDCS J0910+5422 NN)
* 7 = MS 1054-0321 ([MMT2007] 1E 1054.4-0321 NNN)
* 8 = RDCS J1252-2927 ([MMT2007] RDCS J1252-2927 NNN)
*Note (2): Sources identified as [MMT2007] Cluster NNN in Simbad.
*Note (3): Individual notes as follows:
* a = No optical counterpart is detected by SExtractor, although some
* very low-surface brightness material is observed within the
* error circle. The position of the X-ray peak after registration
* is listed.
* b = The X-ray peak is located approximately 0.9" to the southeast of
* a resolved galaxy with a compact core. We list the properties
* of this galaxy in the table.
* c = The X-ray emission coincides with an extended low surface
* brightness patch. There is a brighter (i775=23.9), compact
* source ~1.7" to the southwest.
* d = The X-ray emission is extended and overlaps a faint optical
* source whose properties we list here.
* e = Saturated unresolved source
* f = The optical source appears unresolved but possibly imbedded in
* a compact, faint nebulosity.
* g = The optical source appears unresolved but possibly imbedded in
* a compact, faint nebulosity.
* h = The X-ray emission consists of two peaks aligned along a
* north-south axis and separated by ~4". The northern peak
* coincides with a large spiral galaxy whose properties we list here.
* i = No optical counterpart is detected in the ACS detection image.
* The position of the X-ray peak after registration is listed.
* j = No optical counterpart is detected in the ACS detection image.
* The peak X-ray position after registration is listed.
* k = Saturated unresolved source.
* l = There are two compact optical sources separated by 0.3". We list
* the properties of the northwest source, which is the brightest
* of the two in our detection image.
* m = The X-ray emission is weak and extended and covers two sources,
* a large, smooth spheroid listed in the table and a smaller
* spheroid located 1.9" to the southwest.
* n = The X-ray emission extends over a highly disturbed system that
* appears to consist of two merging galaxies. We list the
* properties of the southwest galaxy, the brightest and most
* extended of the two.
* o = Because the X-ray emission is extended, there is possible
* confusion in the optical identification between the compact
* galaxy listed in the table and a more diffuse and dimmer galaxy
* 0.8" to the northwest.
* p = The X-ray peak, whose coordinates are listed here after
* registration, is located between a compact source (i775~24.5)
* at RA(J2000.0)=12:52:59.61 and DE(J2000.0)=-29:24:52.6 and
* several diffuse sources.
*Note (4): Magnitudes are corrected for Galactic extinction.
*Note (5): General morphological types as follows:
* 1 = early-type
* 2 = late-type
* 3 = irregular/peculiar
C=============================================================================
C Loading file 'tables.dat' ! Optical and X-Ray properties of Chandra sources
* in the five cluster's ACS fields
* (tables 4-8 of the paper)
C Format for file interpretation
1 format(
+ I1,1X,I3,A1,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F5.2,1X,
+ F6.4,A1,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,
+ F5.2,1X,F4.2,1X,F8.5,F8.5,1X,F5.2,1X,F5.2,1X,I1,1X,A6)
C Effective file loading
open(unit=1,status='old',file=
+'tables.dat')
write(6,*) '....Loading file: tables.dat'
do i__=1,98
read(1,'(A121)')ar__
read(ar__,1)
+ Code(i__),XID(i__),n_XID(i__),RAh(i__),RAm(i__),RAs(i__),
+ DE_(i__),DEd(i__),DEm(i__),DEs(i__),z(i__),n_z(i__),Vmag(i__),
+ e_Vmag(i__),imag(i__),e_imag(i__),Zmag(i__),e_Zmag(i__),
+ HR(i__),e_HR(i__),FS(i__),FH(i__),logLXS(i__),logLXH(i__),
+ Cl(i__),XCl(i__)
if(ar__(33:38) .EQ. '') z(i__) = rNULL__
if(ar__(41:45) .EQ. '') Vmag(i__) = rNULL__
if(ar__(47:50) .EQ. '') e_Vmag(i__) = rNULL__
if(ar__(52:56) .EQ. '') imag(i__) = rNULL__
if(ar__(58:61) .EQ. '') e_imag(i__) = rNULL__
if(ar__(63:67) .EQ. '') Zmag(i__) = rNULL__
if(ar__(69:72) .EQ. '') e_Zmag(i__) = rNULL__
if(ar__(74:78) .EQ. '') HR(i__) = rNULL__
if(ar__(80:83) .EQ. '') e_HR(i__) = rNULL__
if(ar__(102:106) .EQ. '') logLXS(i__) = rNULL__
if(ar__(108:112) .EQ. '') logLXH(i__) = rNULL__
if(ar__(114:114) .EQ. '') Cl(i__) = iNULL__
RAdeg(i__) = rNULL__
DEdeg(i__) = rNULL__
c Derive coordinates RAdeg and DEdeg from input data
c (RAdeg and DEdeg are set to rNULL__ when unknown)
if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15.
if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4.
if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240.
if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__)
if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60.
if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600.
if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__)
c ..............Just test output...........
write(6,1)
+ Code(i__),XID(i__),n_XID(i__),RAh(i__),RAm(i__),RAs(i__),
+ DE_(i__),DEd(i__),DEm(i__),DEs(i__),z(i__),n_z(i__),Vmag(i__),
+ e_Vmag(i__),imag(i__),e_imag(i__),Zmag(i__),e_Zmag(i__),
+ HR(i__),e_HR(i__),FS(i__),FH(i__),logLXS(i__),logLXH(i__),
+ Cl(i__),XCl(i__)
write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end